Ignore:
Timestamp:
05/04/15 10:23:14 (9 years ago)
Author:
sdipsl
Message:

Bugfix caused by r1189 side effect. On Curie job begins their execution in the directory they have submitted under (this directory is very likely to have been removed). Change directory before doing anything to avoid stale file handle error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_rebuild_fromWorkdir

    r1184 r1192  
    155155. ${libIGCM}/libIGCM_post/libIGCM_post.ksh 
    156156#------- 
     157RUN_DIR=${RUN_DIR_PATH} 
     158IGCM_sys_MkdirWork ${RUN_DIR} 
     159IGCM_sys_Cd ${RUN_DIR} 
     160#------- 
    157161( ${DEBUG_debug} ) && IGCM_debug_Check 
    158162( ${DEBUG_debug} ) && IGCM_card_Check 
     
    162166 
    163167#set -vx 
    164  
    165 RUN_DIR=${RUN_DIR_PATH} 
    166 IGCM_sys_MkdirWork ${RUN_DIR} 
    167 IGCM_sys_Cd ${RUN_DIR} 
    168168 
    169169# ------------------------------------------------------------------ 
Note: See TracChangeset for help on using the changeset viewer.