Compare commits
No commits in common. "main" and "1.1" have entirely different histories.
1 changed files with 1 additions and 7 deletions
8
idev
8
idev
|
|
@ -58,15 +58,12 @@
|
||||||
# Changed format from 9 to 15 for queue name (grace-serial is 12 chars)
|
# Changed format from 9 to 15 for queue name (grace-serial is 12 chars)
|
||||||
# grace-serial queue users are allowed only 1 interactive job
|
# grace-serial queue users are allowed only 1 interactive job
|
||||||
# 01/29/2016 KentM
|
# 01/29/2016 KentM
|
||||||
# TODO
|
|
||||||
# Update version number.
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Versions Number
|
# Versions Number
|
||||||
IDEV_VER=1.00
|
IDEV_VER=1.00
|
||||||
IDEV_SETUP_VER=1.00
|
IDEV_SETUP_VER=1.00
|
||||||
|
|
||||||
#NOTE: use hostname -f
|
|
||||||
#Determine the system
|
#Determine the system
|
||||||
myhostname=`hostname -f`
|
myhostname=`hostname -f`
|
||||||
if [[ $myhostname =~ nid ]] ; then
|
if [[ $myhostname =~ nid ]] ; then
|
||||||
|
|
@ -75,14 +72,13 @@
|
||||||
MY_SYS=`echo $myhostname | awk 'BEGIN { FS = "." } ; { print $2 }'`
|
MY_SYS=`echo $myhostname | awk 'BEGIN { FS = "." } ; { print $2 }'`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#800 comment her 800_Wfix
|
|
||||||
srun=off # Don't use srun on Stampede
|
srun=off # Don't use srun on Stampede
|
||||||
# trap ctrl-c and call ctrl_c()
|
# trap ctrl-c and call ctrl_c()
|
||||||
trap ctrl_c INT EXIT
|
trap ctrl_c INT EXIT
|
||||||
did_exit=no
|
did_exit=no
|
||||||
exit_msg=""
|
exit_msg=""
|
||||||
|
|
||||||
#800 comment for 900_Wfix
|
|
||||||
# Trap Function. Deletes job on exit of this script
|
# Trap Function. Deletes job on exit of this script
|
||||||
function ctrl_c() {
|
function ctrl_c() {
|
||||||
#Job submitted, and job id available.
|
#Job submitted, and job id available.
|
||||||
|
|
@ -1567,8 +1563,6 @@ fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
#http://github.com/milfeld2/idivx
|
|
||||||
#trapping
|
#trapping
|
||||||
#http://rimuhosting.com/knowledgebase/linux/misc/trapping-ctrl-c-in-bash
|
#http://rimuhosting.com/knowledgebase/linux/misc/trapping-ctrl-c-in-bash
|
||||||
#http://www.linuxjournal.com/content/use-bash-trap-statement-cleanup-temporary-files
|
#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