[petsc-dev] Introducing new "test harness" to PETSc

Satish Balay balay at mcs.anl.gov
Wed Jan 18 09:09:29 CST 2017


On Tue, 17 Jan 2017, Barry Smith wrote:

> In this case the data files is in the PETSc share directory so you should use the ${PETSC_DIR} to point to it. Only files in the DATAFILESPATH directory should use $DATAFILESPATH 
> 

Hm - we use wPETSC_DIR so that the path is  valid for windows binaries aswell. Perhaps
the test harness will need a fix for this..

$ git grep wPETSC_DIR |grep makefile |head -3
src/ksp/ksp/examples/tutorials/makefile:	-@${MPIEXEC} -n 2 ./ex10 -f0 ${wPETSC_DIR}/share/petsc/datafiles/matrices/spd-real-int${PETSC_INDEX_SIZE}-float${PETSC_SCALAR_SIZE} > ex10_1.tmp 2>&1; \
src/ksp/ksp/examples/tutorials/makefile:	-@${MPIEXEC} -n 2 ./ex10 -pc_type asm -pc_asm_sub_mat_type aijviennacl -f0 ${wPETSC_DIR}/share/petsc/datafiles/matrices/spd-real-int${PETSC_INDEX_SIZE}-float${PETSC_SCALAR_SIZE} > ex10_asm_viennacl.tmp 2>&1; \
src/ksp/ksp/examples/tutorials/makefile:	-@${MPIEXEC} -n 1 ./ex63 --filedir=${wPETSC_DIR}/share/petsc/datafiles/matrices/ --filename=amesos2_test_mat0.mtx --solver=SuperLU --print-residual=true -ksp_monitor -pc_type lu -pc_factor_mat_solver_package superlu -ksp_view -ksp_converged_reason  > ex63_1.tmp 2>&1;	  \

Satish



More information about the petsc-dev mailing list