[Darshan-commits] [Git][darshan/darshan][master] get regression tests working on cori

Shane Snyder xgitlab at cels.anl.gov
Thu Apr 27 23:35:03 CDT 2017


Shane Snyder pushed to branch master at darshan / darshan


Commits:
f41cccbc by Shane Snyder at 2017-04-27T21:34:18-07:00
get regression tests working on cori

- - - - -


1 changed file:

- darshan-test/regression/cray-module-nersc/runjob.sh


Changes:

=====================================
darshan-test/regression/cray-module-nersc/runjob.sh
=====================================
--- a/darshan-test/regression/cray-module-nersc/runjob.sh
+++ b/darshan-test/regression/cray-module-nersc/runjob.sh
@@ -1,7 +1,11 @@
 #!/bin/bash
 
+if [ "$NERSC_HOST" == "cori" ]; then
+    NODE_CONSTRAINTS="-C haswell"
+fi
+
 # submit job and wait for it to return
-sbatch --wait -N 1 -t 10 -p debug --output $DARSHAN_TMP/$$-tmp.out --error $DARSHAN_TMP/$$-tmp.err $DARSHAN_TESTDIR/$DARSHAN_PLATFORM/slurm-submit.sl "$@"
+sbatch --wait -N 1 -t 10 -p debug $NODE_CONSTRAINTS --output $DARSHAN_TMP/$$-tmp.out --error $DARSHAN_TMP/$$-tmp.err $DARSHAN_TESTDIR/$DARSHAN_PLATFORM/slurm-submit.sl "$@"
 
 # exit with return code of this job submission
 exit $?



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/f41cccbcdb93b17b1a5ca54138a03c9fdf364a0f


More information about the Darshan-commits mailing list