diff --git a/idev b/idev index 074b765..1620bdc 100755 --- a/idev +++ b/idev @@ -58,15 +58,12 @@ # 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 @@ -75,14 +72,13 @@ 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. @@ -1567,8 +1563,6 @@ 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