Skip to content

Tpetra test script

K Devine edited this page Jul 19, 2018 · 2 revisions

Using the Tpetra test script on testbed platforms

On all platforms

The test script is Trilinos/sampleScripts/Sandia-SEMS/test_tpetra_sandia.

You must run the script from a bash shell; otherwise, the module command is not found.

Simplest usage:

  • test_tpetra_sandia --trilinos-path=pathToYourTrilinosRoot

Running tests manually in a test_tpetra_sandia test directory (e.g., on interactive nodes):

  • source test_tpetra_sandia --dry-run
  • run your test as usual (e.g., mpirun -np 4 yourTest.exe)

Sullivan

Create a batch file nq with appropriate paths:

#!/bin/bash -e
#SBATCH -N 1
#SBATCH --time=100
../sampleScripts/Sandia-SEMS/test_tpetra_sandia --trilinos-path=..

Submit the batch job:

  • sbatch nq

Script output for job ## will be in slurm-##.out.

White

Create a batch file nq with appropriate paths:

#!/bin/bash #BSUB -W 100
#BSUB -n 4
#BSUB -q rhel7G
#BSUB -e err.white
#BSUB -o out.white
source ../sampleScripts/Sandia-SEMS/test_tpetra_sandia --trilinos-path=..

Submit the batch job:

  • bsub < nq

Script output will be in out.white; errors will be in err.white.

If you choose to run in the rhel7F queue, add the following command-line argument to test_tpetra_sandia:

  • --kokkos-arch=Power8,Kepler37

March 23, 2018
SAND2018-3059 O

Clone this wiki locally