Compare commits
13 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ecc274ad5 | ||
|
|
5629bdb9e6 | ||
|
|
e559902c30 | ||
|
|
1acdc7bcaa | ||
|
|
1226695223 | ||
|
|
81d0c5a3ef | ||
|
|
1d1f2083a5 | ||
|
|
2872fd0bc0 | ||
|
|
09ffe5c2a2 | ||
|
|
3937abc673 | ||
|
|
f226888df2 | ||
|
|
f6414ab0b0 | ||
|
|
c95246634b |
1 changed files with 7 additions and 1 deletions
8
idev
8
idev
|
|
@ -58,12 +58,15 @@
|
|||
# Changed format from 9 to 15 for queue name (grace-serial is 12 chars)
|
||||
# grace-serial queue users are allowed only 1 interactive job
|
||||
# 01/29/2016 KentM
|
||||
# TODO
|
||||
# Update version number.
|
||||
#------------------------------------------------------------------------------
|
||||
#
|
||||
# Versions Number
|
||||
IDEV_VER=1.00
|
||||
IDEV_SETUP_VER=1.00
|
||||
|
||||
#NOTE: use hostname -f
|
||||
#Determine the system
|
||||
myhostname=`hostname -f`
|
||||
if [[ $myhostname =~ nid ]] ; then
|
||||
|
|
@ -72,13 +75,14 @@
|
|||
MY_SYS=`echo $myhostname | awk 'BEGIN { FS = "." } ; { print $2 }'`
|
||||
fi
|
||||
|
||||
|
||||
#800 comment her 800_Wfix
|
||||
srun=off # Don't use srun on Stampede
|
||||
# trap ctrl-c and call ctrl_c()
|
||||
trap ctrl_c INT EXIT
|
||||
did_exit=no
|
||||
exit_msg=""
|
||||
|
||||
#800 comment for 900_Wfix
|
||||
# Trap Function. Deletes job on exit of this script
|
||||
function ctrl_c() {
|
||||
#Job submitted, and job id available.
|
||||
|
|
@ -1563,6 +1567,8 @@ fi
|
|||
fi
|
||||
|
||||
fi
|
||||
#http://github.com/milfeld2/idivx
|
||||
#trapping
|
||||
#http://rimuhosting.com/knowledgebase/linux/misc/trapping-ctrl-c-in-bash
|
||||
#http://www.linuxjournal.com/content/use-bash-trap-statement-cleanup-temporary-files
|
||||
#http://github.com/milfeld/idivx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue