1-include ../../../../petscdir.mk 2 3CLEANFILES = rhs.vtk solution.vtk bench_kspsolve report_performance.xml 4NP = 1 5 6include ${PETSC_DIR}/lib/petsc/conf/variables 7include ${PETSC_DIR}/lib/petsc/conf/rules 8 9V ?= 0 10QUIET = $(shell [ "$(V)" = "0" ] && echo @) 11 12testex100: ex100.PETSc 13 -${QUIET}OMPI_MCA_mpi_warn_on_fork=0 ${MPIEXEC} -n 1 ${MPIEXEC_TAIL} ./ex100 -test > ex100.tmp 2>&1; 14 -${QUIET}${DIFF} output/ex100_1.testout ex100.tmp > ex100.dtmp; 15 -@if [ ! -s ex100.dtmp ]; then \ 16 echo "C/C++ Python example src/ksp/ksp/tutorials/ex100 run successfully with 1 MPI process"; \ 17 else \ 18 echo "Possible error running C/C++ Python src/ksp/ksp/tutorials/ex100 with 1 MPI process"; \ 19 echo "See https://petsc.org/release/faq/";\ 20 cat ex100.tmp;\ 21 touch ../../../../check_error;\ 22 fi; \ 23 ${RM} -f ex100.tmp ex100.dtmp; 24