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:}${PETSC_MPI4PY_PYTHONPATH}; \ 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 (${DIFF} output/ex55_1.testout ex55_1.tmp > /dev/null 2>&1) 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 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