Ignore:
Timestamp:
11/22/11 19:03:33 (13 years ago)
Author:
sdipsl
Message:

Dont exit during dmget error (can be ignore most of the time in fact). Stop later if the cp commands fails.
Homogenize commands between titane, cesium and mercure scalaire.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM_MPI_OpenMP/libIGCM_sys/libIGCM_sys_cesium.ksh

    r462 r521  
    11121112        dmget ${dm_liste[*]} > out_rsync 2>&1 
    11131113        RET=$? 
     1114 
    11141115        if [ ${RET} -gt 0 ] ; then 
    11151116            echo "WARNING IGCM_sys_Get : demigration error." 
    11161117            cat out_rsync 
    1117             IGCM_debug_Exit "IGCM_sys_Get" 
    1118         fi 
     1118            echo "WARNING IGCM_sys_Get : will stop later if the cp fails." 
     1119        fi 
     1120 
     1121        #if [ ${RET} -gt 0 ] ; then 
     1122        #    if [ ! "X$( grep "Lost dmusrcmd connection" out_rsync )" = "X" ] ; then 
     1123        #       cat out_rsync 
     1124        #       echo "WARNING IGCM_sys_Get : Lost dmusrcmd connection : " 
     1125        #       sleep 30 
     1126        #       echo "We try another time" 
     1127        #       dmget ${dm_liste[*]} > out_rsync 2>&1 
     1128        #       RET=$? 
     1129        #       if [ ${RET} -gt 0 ] ; then 
     1130        #           echo "ERROR IGCM_sys_Get : again demigration error :" 
     1131        #           cat out_rsync 
     1132        #           IGCM_debug_Exit "IGCM_sys_Get" 
     1133        #       fi 
     1134        #    else 
     1135        #       echo "ERROR IGCM_sys_Get : demigration error :" 
     1136        #       cat out_rsync 
     1137        #       IGCM_debug_Exit "IGCM_sys_Get" 
     1138        #    fi 
     1139        #fi 
    11191140 
    11201141        #USUAL WAY 
Note: See TracChangeset for help on using the changeset viewer.