File: debug_mpi_tests.sh

package info (click to toggle)
dijitso 2018.1.1~git1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 420 kB
  • sloc: python: 1,672; makefile: 194; sh: 53; ansic: 1
file content (12 lines) | stat: -rwxr-xr-x 208 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
set -e exit

: ${PYTHON:=python}

while [ $? -eq 0 ]
do
  for p in 8; do
    echo RUNNING WITH p=$p
    mpirun -n $p xterm -e gdb -ex r -ex q -args ${PYTHON} -B -m pytest -svl
  done
done