File: runtests.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 (31 lines) | stat: -rwxr-xr-x 1,085 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
#!/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"/ex-2.01.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-2.08.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-2.16.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-2.29.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-2.32.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-2.34.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-2.35.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.01.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.02.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.03.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.04.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.05.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.06.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.07.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.08.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.09.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.11.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.12.py
$MPIEXEC $NP_FLAG $NP $PYTHON "$dir"/ex-3.13.py