File: run.sh

package info (click to toggle)
mpi4py 4.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,540 kB
  • sloc: python: 34,465; ansic: 16,475; makefile: 614; sh: 325; cpp: 193; f90: 178
file content (35 lines) | stat: -rwxr-xr-x 1,542 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/sh
# shellcheck disable=SC2086
set -eu

PYTHON=${PYTHON:-python${py:-}}
MPIEXEC=${MPIEXEC:-mpiexec}
NP_FLAG=${NP_FLAG:-'-n'}
NP=${NP:-2}

dir=$(dirname "$0")

set -x
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" threads=true
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" threads=false
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" thread_level=single
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" thread_level=funneled
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" thread_level=serialized
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" thread_level=multiple
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" fast_reduce=true
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" fast_reduce=false
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" recv_mprobe=true
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" recv_mprobe=false
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" irecv_bufsz=0
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" irecv_bufsz=1
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" irecv_bufsz=1024
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" errors=default
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" errors=exception
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" errors=abort
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_0.py" errors=fatal
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_1.py"
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_2.py"
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_3.py"
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_4.py"
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_5.py"
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir/test_6.py"