1cdb0f33dSPierre Jolivet-include ../../../petscdir.mk 2f97672e5SBarry Smith 3c4762a1bSJed Browninclude ${PETSC_DIR}/lib/petsc/conf/variables 4c4762a1bSJed Browninclude ${PETSC_DIR}/lib/petsc/conf/rules 5b6efb0a5SBarry Smith 6b6efb0a5SBarry Smithtestex55: 7d03e3399SBarry Smith -@export PYTHONPATH=$${PYTHONPATH:+$$PYTHONPATH:}${PETSCPYTHONPATH};\ 8504e95faSBarry Smith echo "Using PYTHONPATH=$${PYTHONPATH} to locate mpi4py for test"; \ 964f7b273SJunchao Zhang ${MPIEXEC} -n 2 ${MPIEXEC_TAIL} ${PYTHON_EXE} ./ex55.py > ex55_1.tmp 2>&1;\ 10*e9c94b2bSSatish Balay if (test ! -s ex55_1.tmp) then \ 11b59c00aaSPierre Jolivet echo "C/C++ mpi4py python example src/sys/tests/ex55.py run successfully with 2 MPI processes"; \ 1227cb8d94SBarry Smith else \ 13b59c00aaSPierre Jolivet echo "Possible error running Python src/sys/tests/ex55.py with 2 MPI processes"; \ 14d30b464cSBarry Smith echo "See https://petsc.org/release/faq/";\ 1527cb8d94SBarry Smith cat ex55_1.tmp; \ 1681b9c2c9SBarry Smith touch ../../../check_error;\ 1727cb8d94SBarry Smith fi; \ 1827cb8d94SBarry Smith ${RM} -f ex55.tmp 19