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

Barry Smith bsmith at mcs.anl.gov
Tue Jan 17 20:19:50 CST 2017


> On Jan 17, 2017, at 8:13 PM, Matthew Knepley <knepley at gmail.com> wrote:
> 
> On Tue, Jan 17, 2017 at 7:59 PM, Jed Brown <jed at jedbrown.org> wrote:
> 
> 
> Use ${DATAFILESPATH} like we do in all the legacy tests.
> 
> Not working

  Why do you even listen to Jed, when you can listen to me. 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 

> 
> arch-c-exodus-master/tests/src/dm/impls/plex/examples/tests/runex1_gmsh_3.sh -v
> not ok dm_impls_plex_tests-ex1_gmsh_3 /PETSc3/petsc/petsc-dev/arch-c-exodus-master/bin/mpiexec -n 3 ../ex1 -filename /meshes/square.msh -interpolate 1 -dm_view > ex1_gmsh_3.tmp 2> runex1_gmsh_3.err
> 
> when I have
> 
>   test:
>     suffix: gmsh_3
>     nsize: 3
>     args: -filename ${DATAFILESPATH}/meshes/square.msh -interpolate 1 -dm_view
> 
>    Matt
> 
> -- 
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener




More information about the petsc-dev mailing list