Ignore:
Timestamp:
Oct 20, 2011, 11:07:40 AM (13 years ago)
Author:
torrento
Message:

version adaptee a grid engin (ana)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/transdate.sh

    r547 r579  
    2626
    2727#Path where the job will do temporary IO
    28 if [ ${ENVIRONMENT} = "INTERACTIVE" ]; then
    29     iojobpath="/sps/baoradio/AmasNancay/JEC"
    30     $MKDIR -p $iojobpath
    31 elif [ ${ENVIRONMENT} = "BATCH" ] ; then
    32      iojobpath=${TMPBATCH}
    33 else
    34      $ECHO "FATAL (${scriptName}): environment is ${ENVIRONMENT} not allowed"
    35 #JEC 29/9/11 avoid finished stuff
    36 #    touch ${tmppublicpath}/transdate.finished
    37     exit 1
    38 fi
     28. ${SCRIPTPATH}/set_iojobpath.sh
     29iojobpath=$(set_iojobpath)
    3930cd ${iojobpath}
    4031
    4132if [ ! $# = 1 ]; then
    4233  $ECHO "FATAL (${scriptName}) usage: ./transdate.sh <scaXYZ.sum>"
    43 #JEC 29/9/11 avoid finished stuff
    44 #  touch ${tmppublicpath}/transdate.finished
    4534  exit 0
    4635fi
     
    5039if [ ! -e $inScaFile ]; then
    5140  $ECHO "FATAL (${scriptName}): $inScaFile not found"
    52 #JEC 29/9/11 avoid finished stuff
    53 #  touch ${tmppublicpath}/transdate.finished
    5441  exit 1
    5542fi
     
    7966' $inScaFile >> $inScaFile.trans
    8067
    81 #JEC 29/9/11 avoid finished stuff
    82 #touch ${tmppublicpath}/transdate.finished
    8368exit 0
Note: See TracChangeset for help on using the changeset viewer.