1-include ../../../petscdir.mk 2 3include ${PETSC_DIR}/lib/petsc/conf/variables 4include ${PETSC_DIR}/lib/petsc/conf/rules 5 6testex55: 7 -@export PYTHONPATH=$${PYTHONPATH:+$$PYTHONPATH:}${PETSCPYTHONPATH};\ 8 echo "Using PYTHONPATH=$${PYTHONPATH} to locate mpi4py for test"; \ 9 ${MPIEXEC} -n 2 ${MPIEXEC_TAIL} ${PYTHON_EXE} ./ex55.py > ex55_1.tmp 2>&1;\ 10 if (test ! -s ex55_1.tmp) then \ 11 echo "C/C++ mpi4py Python example src/sys/tests/ex55.py run successfully with 2 MPI processes"; \ 12 else \ 13 echo "Possible error running Python example src/sys/tests/ex55.py with 2 MPI processes"; \ 14 echo "See https://petsc.org/release/faq/";\ 15 cat ex55_1.tmp; \ 16 touch ../../../check_error;\ 17 fi; \ 18 ${RM} -f ex55.tmp 19