File: mpirun-no-slurm.sh

package info (click to toggle)
wsclean 3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,968 kB
  • sloc: cpp: 85,742; python: 3,526; sh: 245; makefile: 21
file content (12 lines) | stat: -rwxr-xr-x 297 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# Ensure that OpenMPI does not detect a SLURM environment so it just runs
# without doing anything smart.
unset SLURM_JOBID

# Changing the call by the following commented line can
# be useful for debugging:
# exec mpirun -np 2 xterm -e gdb -ex run --args "${@:3}"

exec mpirun "$@"