Logo
Explore Help
Sign In
OilfieldToolsNet/opm-simulators
4
0
Fork 0
You've already forked opm-simulators
mirror of https://github.com/OPM/opm-simulators.git synced 2025-02-25 18:55:30 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
a3004580e69c7c5804f5da64d9cdfe1807bad542
opm-simulators/tests/run-parallel-unitTest.sh

7 lines
107 B
Bash
Raw Normal View History

Add runner script for tests needing MPI. 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.
2018-11-13 10:24:37 +01:00
#!/bin/bash
# This executes a unit test in parallel.
NP=$1
BDIR=$2
shift 2
mpirun -np $NP $BDIR/bin/$@
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 23ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API