[petsc-dev] running test

Balay, Satish balay at mcs.anl.gov
Tue Aug 13 11:15:59 CDT 2019


On Tue, 13 Aug 2019, Mark Adams via petsc-dev wrote:

> I want to test a test as it will be executed. Can someone please tell me
> how do I run a "cuda" test SNES ex56 exactly?
> 
> This is the test in ex56.c
> 
> 
>   test:
>     suffix: cuda
>     nsize: 2
>     requires: cuda
>     args: -cel ....

mpiexec -n 2 ./ex56 -cel ....

You can check the scripts that are generated - that do the run and diff..
[PETSC_ARCH/tests/snes/examples/tutorials/runex56_cuda.sh]

Satish

> 
> Thanks,
> Mark
> 



More information about the petsc-dev mailing list