mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 21:39:09 -06:00
9fc272fb85
The script run-parallel-unitTest.sh takes as its arguments: - number of processes (to be passed as -np parameter to mpirun) - directory in which to find the binary to be executed - remaining arguments form the command line for the test.
7 lines
107 B
Bash
Executable File
7 lines
107 B
Bash
Executable File
#!/bin/bash
|
|
# This executes a unit test in parallel.
|
|
NP=$1
|
|
BDIR=$2
|
|
shift 2
|
|
mpirun -np $NP $BDIR/bin/$@
|