[Darshan-commits] [Git][darshan/darshan][master] propagate dxt env setting on bgq tests

Shane Snyder xgitlab at cels.anl.gov
Mon Jan 8 23:02:29 CST 2018


Shane Snyder pushed to branch master at darshan / darshan


Commits:
8f4d1e21 by Shane Snyder at 2018-01-09T04:59:24+00:00
propagate dxt env setting on bgq tests

- - - - -


1 changed file:

- darshan-test/regression/bg-profile-conf-alcf/runjob.sh


Changes:

=====================================
darshan-test/regression/bg-profile-conf-alcf/runjob.sh
=====================================
--- a/darshan-test/regression/bg-profile-conf-alcf/runjob.sh
+++ b/darshan-test/regression/bg-profile-conf-alcf/runjob.sh
@@ -1,7 +1,12 @@
 #!/bin/bash
 
+# convert DXT env setting
+if [ -n $DXT_ENABLE_IO_TRACE ]; then
+	DXT_ENV="--env DXT_ENABLE_IO_TRACE="
+fi
+
 # submit job and get job id
-jobid=`qsub --env DARSHAN_LOGFILE=$DARSHAN_LOGFILE --mode c16 --proccount $DARSHAN_DEFAULT_NPROCS -A radix-io -t 10 -n 1 --output $DARSHAN_TMP/$$-tmp.out --error $DARSHAN_TMP/$$-tmp.err --debuglog $DARSHAN_TMP/$$-tmp.debuglog "$@"`
+jobid=`qsub --env DARSHAN_LOGFILE=$DARSHAN_LOGFILE $DXT_ENV --mode c16 --proccount $DARSHAN_DEFAULT_NPROCS -A radix-io -t 10 -n 1 --output $DARSHAN_TMP/$$-tmp.out --error $DARSHAN_TMP/$$-tmp.err --debuglog $DARSHAN_TMP/$$-tmp.debuglog "$@"`
 if [ $? -ne 0 ]; then
 	echo "Error: failed to qsub $@"
 	exit 1



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

---
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/8f4d1e21c80291085dc6471f4ba31272583f5afe
You're receiving this email because of your account on xgitlab.cels.anl.gov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20180108/ae4491dc/attachment.html>


More information about the Darshan-commits mailing list