petsc-3.10.5 2019-03-28
Report Typos and Errors
#requirespackage  'PETSC_HAVE_MOAB'

CFLAGS	        =
FFLAGS	        =
CPPFLAGS        =
FPPFLAGS        =
LOCDIR          = src/dm/impls/moab/examples/tests/
EXAMPLESC       = ex1.cxx ex2.cxx ex3.cxx
EXAMPLESF       =
MANSEC          = DM

include ${PETSC_DIR}/lib/petsc/conf/variables
include ${PETSC_DIR}/lib/petsc/conf/rules
#--------------------------------------------------------------------------
runex1:
	-@${MPIEXEC} -n 1 ./ex1 > ex1_1.tmp 2>&1;\
	   if (${DIFF} output/ex1_1.out ex1_1.tmp) then true ;  \
	   else printf "${PWD}\nPossible problem with runex1, diffs above\n=========================================\n"; fi ;\
	   ${RM} -f ex1_1.tmp

runex2:
	-@${MPIEXEC} -n 1 ./ex2 -debug -fields v1,v2,v3 > ex2_1.tmp 2>&1;\
	   if (${DIFF} output/ex2_1.out ex2_1.tmp) then true ;  \
	   else echo ${PWD} ; echo "Possible problem with runex2, diffs above \n========================================="; fi ;\
	   ${RM} -f ex2_1.tmp

runex3_1_1:
	-@${MPIEXEC} -n 1 ./ex3 -debug -n 2 -dim 2 -levels 2 -simplex | grep -v "DM_0x*" > ex3_1_1.tmp 2>&1;\
	   if (${DIFF} output/ex3_1_1.out ex3_1_1.tmp) then true ;  \
	   else echo ${PWD} ; echo "Possible problem with runex3, diffs above \n========================================="; fi ;\
	   ${RM} -f ex3_1_1.tmp

runex3_1_2:
	-@${MPIEXEC} -n 1 ./ex3 -debug -n 2 -dim 3 -levels 2 | grep -v "DM_0x*" > ex3_1_2.tmp 2>&1;\
	   if (${DIFF} output/ex3_1_2.out ex3_1_2.tmp) then true ;  \
	   else echo ${PWD} ; echo "Possible problem with runex3, diffs above \n========================================="; fi ;\
	   ${RM} -f ex3_1_2.tmp

runex3_2_1:
	-@${MPIEXEC} -n 2 ./ex3 -debug -n 2 -dim 3 -ghost 1 -levels 2 | grep -v "DM_0x*" > ex3_2_1.tmp 2>&1;\
	   if (${DIFF} output/ex3_2_1.out ex3_2_1.tmp) then true ;  \
	   else echo ${PWD} ; echo "Possible problem with runex3, diffs above \n========================================="; fi ;\
	   ${RM} -f ex3_2_1.tmp


TESTEXAMPLES_MOAB = ex1.PETSc runex1 ex1.rm ex2.PETSc runex2 ex2.rm ex3.PETSc runex3_1_1 runex3_1_2 runex3_2_1 ex3.rm

include ${PETSC_DIR}/lib/petsc/conf/test