- Timestamp:
- Jul 8, 2009 4:26:02 PM (15 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r343 r352 183 183 # 21/04/09 - Siggi - adjustments for new IBM at DKRZ, which is now ibmh 184 184 # 24/06/09 - BjornM - adjustments for coupled/precursor runs on ibmy 185 # 08/07/09 - Siggi - default value for email_notification is none, 186 # option -e added to subjob 185 187 186 188 … … 214 216 do_stageout=true 215 217 do_trace=false 216 email_notification=" "218 email_notification="none" 217 219 exclude="" 218 220 executable="" … … 4081 4083 4082 4084 # EVTL. EMAIL-BENACHRICHTIGUNG UEBER ABGESCHLOSSENEN LAUF 4083 if [[ "$email_notification" != " " ]]4085 if [[ "$email_notification" != "none" ]] 4084 4086 then 4085 4087 … … 4321 4323 fi 4322 4324 4323 subjob $job_on_file -h $host -u $remote_username -g $group_number -q $queue -m $memory -N $node_usage -t $cpumax $XOPT $TOPT $OOPT -n $fname -v -c $job_catalog $jobfile4325 subjob $job_on_file -h $host -u $remote_username -g $group_number -q $queue -m $memory -N $node_usage -t $cpumax $XOPT $TOPT $OOPT -n $fname -v -c $job_catalog -e $email_notification $jobfile 4324 4326 rm -rf $jobfile 4325 4327 -
palm/trunk/SCRIPTS/subjob
r346 r352 100 100 # 18/05/09 - Siggi - Settings for serial jobs on lcsgi changed 101 101 # 24/06/09 - BjornM- adjustments for lcxt4 (loading modules manually) 102 # 08/07/09 - Siggi - option -e added (email notification on lcsgih/b) 102 103 103 104 104 105 # VARIABLENVEREINBARUNGEN + DEFAULTWERTE 105 delete_dayfile=false 106 delete_dayfile=false 107 email_notification=none 106 108 group_number=none 107 109 locat=normal … … 214 216 215 217 # PROZEDUROPTIONEN EINLESEN 216 while getopts :c:dD g:h:m:n:N:O:q:t:T:u:vX: option218 while getopts :c:dDe:g:h:m:n:N:O:q:t:T:u:vX: option 217 219 do 218 220 case $option in … … 220 222 (d) delete_dayfile=true;; 221 223 (D) no_submit=true;; 224 (e) email_notification=$OPTARG;; 222 225 (g) group_number=$OPTARG;; 223 226 (h) remote_host=$OPTARG;; … … 710 713 fi 711 714 715 if [[ $email_notification = none ]] 716 then 717 email_directive="" 718 else 719 email_directive="#PBS -M $email_notification" 720 fi 721 712 722 if [[ $numprocs != 0 ]] 713 723 then … … 722 732 #PBS -j oe 723 733 $queue_directive 734 $email_directive 724 735 725 736 . /usr/share/modules/init/bash
Note: See TracChangeset
for help on using the changeset viewer.