Changeset 970


Ignore:
Timestamp:
11/18/13 11:55:35 (10 years ago)
Author:
jgipsl
Message:

Merged bug corrections from revision 964 and 968 from the trunk to tag.

Location:
tags/libIGCM_v2.1.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/libIGCM_v2.1.1

  • tags/libIGCM_v2.1.1/libIGCM_sys/libIGCM_sys_obelix.ksh

    r949 r970  
    113113#- SUBMIT_DIR : submission dir 
    114114if [ X${PBS_O_WORKDIR} != X ] ; then 
    115   typeset -r SUBMIT_DIR=${SUBMIT_DIR:=${PBS_O_WORKDIR}} 
     115  typeset SUBMIT_DIR=${SUBMIT_DIR:=${PBS_O_WORKDIR}} 
    116116else 
    117   typeset -r SUBMIT_DIR=${SUBMIT_DIR:=${PWD}} 
     117  typeset SUBMIT_DIR=${SUBMIT_DIR:=${PWD}} 
    118118fi 
    119119 
     
    821821  if ( $DEBUG_sys ) ; then 
    822822    echo "IGCM_sys_RmRunDir :" $@ 
    823   fi 
    824  
    825   typeset status 
    826  
    827   echo rm $@ > /tmp/out_command.$$ 2>&1 
    828   \rm $@ >> /tmp/out_command.$$ 2>&1 
    829   status=$? 
    830  
    831   if [ ${status} -gt 0 ] ; then 
    832     echo "IGCM_sys_RmRunDir : rm error code is ${status}." 
    833     cat /tmp/out_command.$$ 
    834     IGCM_debug_Exit "IGCM_sys_RmRunDir" 
    835   else 
    836     \rm /tmp/out_command.$$ 
     823    echo "Dummy call, let the scheduler do that." 
    837824  fi 
    838825  IGCM_debug_PopStack "IGCM_sys_RmRunDir" 
Note: See TracChangeset for help on using the changeset viewer.