[petsc-dev] running test

2019-08-13 Thread Mark Adams via petsc-dev
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 Thanks, Mark

Re: [petsc-dev] running test

2019-08-13 Thread Balay, Satish via petsc-dev
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 ..

[petsc-dev] running test harness under batch system

2018-06-22 Thread Smith, Barry F.
Has anyone run the entire test harness under a batch system? Is this possible, does it require specific commands that should be documented in the users manual? Thanks Barry

Re: [petsc-dev] running test harness under batch system

2018-06-25 Thread Zhang, Hong
Yes, it is possible. I have run the test harness on cori submitting the following script #!/bin/bash -l #SBATCH -N 1 #Use 1 nodes #SBATCH -t 02:00:00 #Set time limit #SBATCH -p regular #Submit to the regular 'partition' #SBATCH -C knl,quad,cache #Use

Re: [petsc-dev] running test harness under batch system

2018-06-25 Thread Smith, Barry F.
This assumes that the compilers are all available and working on the compute nodes, correct? Thanks Barry Do the compilers work on the compute nodes of theta? > On Jun 25, 2018, at 12:03 PM, Zhang, Hong wrote: > > Yes, it is possible. I have run the test harness on cori

Re: [petsc-dev] running test harness under batch system

2018-06-25 Thread Satish Balay
yes - thats how I did the spack/xsdk build on theta. However - it took a very long time - and this interfers with the queues and their time limits. I was told [later] that mostlikely 'the 'make -j200' job was being scheduled on a single core of the theta node - and I needed to change some setting

Re: [petsc-dev] running test harness under batch system

2018-06-25 Thread Zhang, Hong
I recall that we had a discussion on this before. It would be great if we could separate the 'compile' stage and the 'run' stage so that we can compile the test on login node and then run it on compute node. Is this feature already in the test harness system or what we are going to have? Hong (

Re: [petsc-dev] running test harness under batch system

2018-06-25 Thread Jed Brown
It would be possible to build all the executables in advance (okay when using shared libs). Make running on a single core wouldn't be a big deal (on a normal kernel) as long as the MPIEXEC interfaced with the resource manager (SLURM) to distribute (blocking and returning output). Satish Balay wr