summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-04-30 02:40:32 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-04-30 02:40:32 (GMT)
commit2a3c76f6851d7767b7c024b3ea5d947f88a05388 (patch)
treedbe75295b22059bcb981a8742a580ff68e5bcc56 /configure
parent9e45b7d2d6bb8bfda0c447ccc1f8764241c45d7b (diff)
downloadhdf5-2a3c76f6851d7767b7c024b3ea5d947f88a05388.zip
hdf5-2a3c76f6851d7767b7c024b3ea5d947f88a05388.tar.gz
hdf5-2a3c76f6851d7767b7c024b3ea5d947f88a05388.tar.bz2
[svn-r16897] Description:
Add basic support for using 'aprun' to run parallel commands, when on a Cray. Tested on: Cray @ LBL (franklin)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index eb6449f..444329c 100755
--- a/configure
+++ b/configure
@@ -48681,6 +48681,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
fi
+ if test "X$PARALLEL" = "Xyes" -a -z "$RUNPARALLEL"; then
+ for path in `echo $PATH | ${TR} ":" " "`; do
+ if test -x $path/aprun; then
+ RUNPARALLEL="aprun -q -n \$\${NPROCS:=3}"
+ break;
+ fi
+ done
+ fi
+
if test "X$PARALLEL" = "Xyes" -a -z "$RUNPARALLEL"; then
RUNPARALLEL="mpirun -np \$\${NPROCS:=3}"
fi