Skip to content
Snippets Groups Projects
Commit 437bddaf authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Add mpi launcher script example for IBM PE (poe).

parent 72ce3032
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,7 @@ tests/test_cksum_nc4.in -text
tests/test_cksum_service.in -text
tests/test_grib.c -text
tests/test_grib.sh -text
util/mpi_launch_poe -text
util/serialrun.in -text
util/sunf95preproc-wrapper -text
util/sxpreproc-wrapper -text
......
#! /usr/bin/ksh93
if [ x"$1" = x-n ]; then
shift
MP_PROCS="$1"
export MP_PROCS
shift
fi
MP_HOSTFILE=`mktemp -t hostfile.tmpXXXXXX`
trap '/bin/rm -f $MP_HOSTFILE' EXIT
export MP_HOSTFILE
yes "`hostname`" | head -n ${MP_PROCS-1} >$MP_HOSTFILE
poe "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment