Ignore:
Timestamp:
Jul 8, 2009 4:26:02 PM (15 years ago)
Author:
raasch
Message:

+option -e in subjob

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/subjob

    r346 r352  
    100100     # 18/05/09 - Siggi - Settings for serial jobs on lcsgi changed
    101101     # 24/06/09 - BjornM- adjustments for lcxt4 (loading modules manually)
     102     # 08/07/09 - Siggi - option -e added (email notification on lcsgih/b)
    102103
    103104
    104105    # VARIABLENVEREINBARUNGEN + DEFAULTWERTE
    105  delete_dayfile=false
     106 delete_dayfile=false
     107 email_notification=none
    106108 group_number=none
    107109 locat=normal
     
    214216
    215217    # PROZEDUROPTIONEN EINLESEN
    216  while  getopts  :c:dDg:h:m:n:N:O:q:t:T:u:vX:  option
     218 while  getopts  :c:dDe:g:h:m:n:N:O:q:t:T:u:vX:  option
    217219 do
    218220   case  $option  in
     
    220222       (d)   delete_dayfile=true;;
    221223       (D)   no_submit=true;;
     224       (e)   email_notification=$OPTARG;;
    222225       (g)   group_number=$OPTARG;;
    223226       (h)   remote_host=$OPTARG;;
     
    710713    fi
    711714
     715    if [[ $email_notification = none ]]
     716    then
     717       email_directive=""
     718    else
     719       email_directive="#PBS -M $email_notification"
     720    fi
     721
    712722    if [[ $numprocs != 0 ]]
    713723    then
     
    722732#PBS -j oe
    723733$queue_directive
     734$email_directive
    724735
    725736. /usr/share/modules/init/bash
Note: See TracChangeset for help on using the changeset viewer.