14 lines
860 B
Diff
14 lines
860 B
Diff
diff --git a/src/snes/examples/tutorials/makefile b/src/snes/examples/tutorials/makefile
|
|
index 38dc7e8..fcac7dd 100644
|
|
--- a/src/snes/examples/tutorials/makefile
|
|
+++ b/src/snes/examples/tutorials/makefile
|
|
@@ -931,7 +931,7 @@ testex19: ex19.PETSc
|
|
else echo "Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI process"; \
|
|
echo "See http://www.mcs.anl.gov/petsc/documentation/faq.html";\
|
|
cat ex19_1.tmp; fi; \
|
|
- if [ "${MPIEXEC}" != "${PETSC_DIR}/bin/petsc-mpiexec.uni" ]; then \
|
|
+ if [ ! "${MPI_IS_MPIUNI}" ]; then \
|
|
${MPIEXEC} -n 2 ./ex19 -da_refine 3 -pc_type mg -ksp_type fgmres > ex19_1.tmp 2>&1; \
|
|
if (${DIFF} output/ex19_1.testout ex19_1.tmp > /dev/null 2>&1) then \
|
|
echo "C/C++ example src/snes/examples/tutorials/ex19 run successfully with 2 MPI processes"; \
|