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

Scott Kruger kruger at txcorp.com
Wed Jan 18 14:34:55 CST 2017




In the current version of the new test system, there is support for 
'requires: DATAFILESPATH' which then keys off what is configured,
similar to any other requirement on how PETSc is configured.

How would I get wPETSC_DIR?

Scott


On 1/18/17 8:09 AM, Satish Balay wrote:
> 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
>

-- 
Tech-X Corporation               kruger at txcorp.com
5621 Arapahoe Ave, Suite A       Phone: (720) 974-1841
Boulder, CO 80303                Fax:   (303) 448-7756



More information about the petsc-dev mailing list