Changeset 717 for trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercurex9.ksh
- Timestamp:
- 10/12/12 15:00:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercurex9.ksh
r705 r717 112 112 113 113 #==================================================== 114 #- MirrorlibIGCM uncommentfor frontend114 #- MirrorlibIGCM for frontend 115 115 typeset -r MirrorlibIGCM=${MirrorlibIGCM:=false} 116 116 117 117 #==================================================== 118 #- libIGCM_POST uncommentfor frontend118 #- libIGCM_POST for frontend 119 119 typeset -r libIGCM_POST=${libIGCM} 120 120 … … 137 137 #- IN 138 138 typeset -r R_IN=${R_IN:=/ccc/work/cont003/dsm/p86ipsl/IGCM} 139 typeset -r R_IN_ECMWF=${R_IN_ECMWF:=/ dmnfs/cont003/p24data}139 typeset -r R_IN_ECMWF=${R_IN_ECMWF:=/ccc/work/cont003/dsm/p24data} 140 140 141 141 #==================================================== … … 245 245 IGCM_debug_Exit "IGCM_sys_RshPost" 246 246 fi 247 # delete temporary file 247 248 \rm tmp_IGCM_sys_RshPost_$$ 248 249 … … 291 292 status=completed 292 293 fi 294 293 295 cat << END_MAIL > job_end.mail 294 296 Dear ${LOGIN}, 295 297 296 298 Simulation ${config_UserChoices_JobName} is ${status} on supercomputer `hostname`. … … 354 356 fi 355 357 #- creation de repertoire sur le serveur fichier 356 if [ ! -d ${1} ]; then 358 if [ ! -d ${1} ]; then 357 359 \mkdir -p $1 358 360 if [ $? -gt 0 ] ; then … … 375 377 fi 376 378 #- creation de repertoire sur le serveur fichier 377 if [ ! -d ${1} ]; then 379 if [ ! -d ${1} ]; then 378 380 \mkdir -p $1 379 381 if [ $? -gt 0 ] ; then … … 664 666 665 667 #D-************************* 666 #D- File transfer functions 668 #D- File transfer functions 667 669 #D-************************* 668 670 #D- … … 733 735 elif [ $MYLANG = "en" ] ; then 734 736 case $RET in 735 0) return;; 737 0) return;; 736 738 1) echo "rsync error : Syntax or usage error " 737 739 return;; … … 789 791 fi 790 792 791 typeset RETDEST793 typeset status DEST 792 794 793 795 mkdir -p ${HOME}/MIRROR/${PATHlibIGCM} … … 795 797 echo ${RSYNC} ${RSYNC_opt} ${libIGCM} ${HOME}/MIRROR/${PATHlibIGCM} > out_rsync 2>&1 796 798 ${RSYNC} ${RSYNC_opt} ${libIGCM} ${HOME}/MIRROR/${PATHlibIGCM} >> out_rsync 2>&1 797 RET=$?798 799 if [ ${ RET} -gt 0 ] ; then799 status=$? 800 801 if [ ${status} -gt 0 ] ; then 800 802 echo "IGCM_sys_Mirror_libIGCM Warning : no libIGCM on cesium." 801 803 cat out_rsync … … 815 817 fi 816 818 817 typeset RET819 typeset status 818 820 819 821 echo cp $@ > out_rsync 2>&1 820 822 \cp $@ >> out_rsync 2>&1 821 RET=$?822 823 if [ ${ RET} -gt 0 ] ; then824 echo "IGCM_sys_Cp : error ."823 status=$? 824 825 if [ ${status} -gt 0 ] ; then 826 echo "IGCM_sys_Cp : error code ${status}" 825 827 cat out_rsync 826 828 IGCM_debug_Exit "IGCM_sys_Cp" … … 842 844 fi 843 845 844 typeset RET846 typeset status 845 847 846 848 echo rm $@ > out_rsync 2>&1 847 849 \rm $@ >> out_rsync 2>&1 848 RET=$?849 850 if [ ${ RET} -gt 0 ] ; then851 echo "IGCM_sys_Rm : error ."850 status=$? 851 852 if [ ${status} -gt 0 ] ; then 853 echo "IGCM_sys_Rm : error code ${status}" 852 854 cat out_rsync 853 855 IGCM_debug_Exit "IGCM_sys_Rm" … … 871 873 if [ $DRYRUN = 0 ]; then 872 874 873 typeset RET874 875 typeset status 876 875 877 echo mv $@ > out_rsync 2>&1 876 878 \mv $@ >> out_rsync 2>&1 877 RET=$?878 879 if [ ${ RET} -gt 0 ] ; then880 echo "IGCM_sys_Mv : error in mv."879 status=$? 880 881 if [ ${status} -gt 0 ] ; then 882 echo "IGCM_sys_Mv : error code ${status}" 881 883 cat out_rsync 882 884 IGCM_debug_Exit "IGCM_sys_Mv" … … 908 910 fi 909 911 910 typeset RET912 typeset status 911 913 912 914 # Only if we use rsync … … 915 917 #USUAL WAY 916 918 \cp -r $1 $2 > out_rsync 2>&1 917 RET=$?918 919 if [ ${ RET} -gt 0 ] ; then920 echo "IGCM_sys_Put_Dir : error ."919 status=$? 920 921 if [ ${status} -gt 0 ] ; then 922 echo "IGCM_sys_Put_Dir : error code ${status}" 921 923 cat out_rsync 922 924 IGCM_debug_Exit "IGCM_sys_Put_Dir" … … 947 949 # fi 948 950 949 typeset RET 951 typeset NB_ESSAI DELAI status i 952 # number of tentative 953 NB_ESSAI=3 954 # time delay between tentative 955 DELAI=2 950 956 951 957 # Only if we use rsync … … 953 959 # 954 960 # USUAL WAY 955 # add dmfind/dmget (to demigrate all offline files) : 956 #dmfind $1 -state MIG -o -state OFL -o -state PAR | dmget 957 \cp -r $1 $2 > out_rsync 2>&1 958 RET=$? 959 960 if [ ${RET} -gt 0 ] ; then 961 # add 'ccc_hsm get' (to demigrate all offline files) to reduce time of this command : 962 ccc_hsm get -r $1 963 964 i=0 965 while [ $i -lt $NB_ESSAI ] ; do 966 \cp -ur $1 $2 >> out_rsync 2>&1 967 status=$? 968 if [ ${status} -gt 0 ]; then 969 IGCM_debug_Print 2 "IGCM_sys_Get_Dir : cp failed error code ${status} ${i}/${NB_ESSAI}" 970 IGCM_debug_Print 2 "IGCM_sys_Get_Dir : sleep ${DELAI} seconds and try again." 971 sleep $DELAI 972 else 973 break 974 fi 975 (( i = i + 1 )) 976 done 977 978 if [ ${status} -gt 0 ] ; then 961 979 echo "IGCM_sys_Get_Dir : error." 962 980 cat out_rsync … … 994 1012 fi 995 1013 996 typeset RET1014 typeset status 997 1015 # 998 1016 if [ X${JobType} = XRUN ] ; then … … 1003 1021 # USUAL WAY 1004 1022 \cp $1 $2 > out_rsync 2>&1 1005 RET=$?1006 1007 # 1008 # 1009 # 1010 1011 # 1012 # 1013 # 1014 1015 # RET=$?1016 # IGCM_sys_Rsync_out $RET1017 1018 # 1019 # (( RET=RET+$? ))1020 1021 if [ ${ RET} -gt 0 ] ; then1022 echo "IGCM_sys_Put_Rest : error."1023 status=$? 1024 1025 # #RSYNC WITH NETWORK SSH CALL 1026 # echo ${RSYNC} ${RSYNC_opt} -e ssh ${RUN_DIR}/$1 ${STOREHOST}:${2} > out_rsync 2>&1 1027 # ${RSYNC} ${RSYNC_opt} -e ssh ${RUN_DIR}/$1 ${STOREHOST}:${2} >> out_rsync 2>&1 1028 1029 # #RSYNC WITH NFS USE 1030 # echo ${RSYNC} ${RSYNC_opt} ${RUN_DIR}/$1 ${2} > out_rsync 2>&1 1031 # ${RSYNC} ${RSYNC_opt} ${RUN_DIR}/$1 ${2} >> out_rsync 2>&1 1032 1033 # status=$? 1034 # IGCM_sys_Rsync_out $status 1035 1036 # ${libIGCM}/libIGCM_sys/IGCM_analyse_rsync_out.awk out_rsync 1037 # (( status=status+$? )) 1038 1039 if [ ${status} -gt 0 ] ; then 1040 echo "IGCM_sys_Put_Rest : cp failed error code ${status}" 1023 1041 cat out_rsync 1024 1042 IGCM_debug_Exit "IGCM_sys_Put_Rest" … … 1049 1067 fi 1050 1068 1051 typeset RET1069 typeset status 1052 1070 # 1053 1071 if [ X${JobType} = XRUN ] ; then … … 1058 1076 # USUAL WAY 1059 1077 \cp $1 $2 > out_rsync 2>&1 1060 RET=$?1061 1062 if [ ${ RET} -gt 0 ] ; then1063 echo "IGCM_sys_PutBuffer_Rest : error ."1078 status=$? 1079 1080 if [ ${status} -gt 0 ] ; then 1081 echo "IGCM_sys_PutBuffer_Rest : error code ${status}" 1064 1082 cat out_rsync 1065 1083 IGCM_debug_Exit "IGCM_sys_PutBuffer_Rest" … … 1083 1101 echo "IGCM_sys_Put_Out :" $@ 1084 1102 fi 1103 1104 typeset NB_ESSAI DELAI status i exist skip 1105 1106 # number of tentative 1107 NB_ESSAI=3 1108 # time delay between tentative 1109 DELAI=2 1110 1085 1111 if [ $DRYRUN = 0 ]; then 1086 1112 if [ ! -f ${1} ] ; then … … 1092 1118 IGCM_sys_MkdirArchive $( dirname $2 ) 1093 1119 # 1094 typeset RET1095 1120 1096 1121 #===================================================== … … 1102 1127 # typeset WORKPATH FILEPATH 1103 1128 # WORKPATH=$( dirname $2 | sed -e "s|${R_OUT}|${R_BUF}|" ) 1104 # IGCM_sys_MkdirWork ${WORKPATH} 1129 # IGCM_sys_MkdirWork ${WORKPATH} 1105 1130 # FILEPATH=${WORKPATH}/$( basename $2 ) 1106 1131 # # … … 1110 1135 if [ X${JobType} = XRUN ] ; then 1111 1136 if [ X${3} = X ] ; then 1112 1137 IGCM_sys_Chmod 444 ${1} 1113 1138 fi 1114 1139 fi 1115 1140 # 1116 # USUAL WAY 1117 \cp $1 $2 > out_rsync 2>&1 1118 RET=$? 1119 1120 # #RSYNC WITH NETWORK SSH CALL 1121 # echo ${RSYNC} ${RSYNC_opt} -e ssh ${RUN_DIR}/$1 ${STOREHOST}:${2} > out_rsync 2>&1 1122 # ${RSYNC} ${RSYNC_opt} -e ssh ${RUN_DIR}/$1 ${STOREHOST}:${2} >> out_rsync 2>&1 1123 1124 # #RSYNC WITH NFS USE 1125 # echo ${RSYNC} ${RSYNC_opt} ${RUN_DIR}/$1 ${2} > out_rsync 2>&1 1126 # ${RSYNC} ${RSYNC_opt} ${RUN_DIR}/$1 ${2} >> out_rsync 2>&1 1127 1128 # RET=$? 1129 # IGCM_sys_Rsync_out $RET 1130 1131 # ${libIGCM}/libIGCM_sys/IGCM_analyse_rsync_out.awk out_rsync 1132 # (( RET=RET+$? )) 1133 1134 if [ ${RET} -gt 0 ] ; then 1141 1142 exist=false 1143 skip=false 1144 if [ -f $2 ] ; then 1145 IGCM_debug_Print 1 "$2 already exist" 1146 #dmget $2 1147 ccc_hsm get $2 1148 exist=true 1149 if [ "X$( diff $1 $2 )" = X ] ; then 1150 IGCM_debug_Print 2 "$1 and $2 are the same file, we skip the copy" 1151 skip=true 1152 else 1153 IGCM_debug_Print 2 "$1 and $2 are not the same file, we force the copy" 1154 skip=false 1155 fi 1156 fi 1157 # 1158 if ( [ X${exist} = Xtrue ] && [ X${skip} = Xfalse ] ) ; then 1159 IGCM_sys_Chmod u+w $2 1160 fi 1161 1162 if [ X${skip} = Xfalse ] ; then 1163 (( i = 0 )) 1164 while [ $i -lt $NB_ESSAI ] ; do 1165 # USUAL WAY 1166 \cp $1 $2 > out_rsync 2>&1 1167 status=$? 1168 if [ ${status} -gt 0 ]; then 1169 IGCM_debug_Print 2 "IGCM_sys_Put_Out : cp failed error code ${status} ${i}/${NB_ESSAI}" 1170 IGCM_debug_Print 2 "IGCM_sys_Put_Out : sleep ${DELAI} seconds and try again." 1171 sleep $DELAI 1172 else 1173 break 1174 fi 1175 (( i = i + 1 )) 1176 done 1177 fi 1178 1179 # #RSYNC WITH NETWORK SSH CALL 1180 # echo ${RSYNC} ${RSYNC_opt} -e ssh ${RUN_DIR}/$1 ${STOREHOST}:${2} > out_rsync 2>&1 1181 # ${RSYNC} ${RSYNC_opt} -e ssh ${RUN_DIR}/$1 ${STOREHOST}:${2} >> out_rsync 2>&1 1182 1183 # #RSYNC WITH NFS USE 1184 # echo ${RSYNC} ${RSYNC_opt} ${RUN_DIR}/$1 ${2} > out_rsync 2>&1 1185 # ${RSYNC} ${RSYNC_opt} ${RUN_DIR}/$1 ${2} >> out_rsync 2>&1 1186 1187 # status=$? 1188 # IGCM_sys_Rsync_out $status 1189 1190 # ${libIGCM}/libIGCM_sys/IGCM_analyse_rsync_out.awk out_rsync 1191 # (( status=status+$? )) 1192 1193 if [ ${status} -gt 0 ] ; then 1135 1194 echo "IGCM_sys_Put_Out : error." 1136 1195 cat out_rsync … … 1156 1215 echo "IGCM_sys_PutBuffer_Out :" $@ 1157 1216 fi 1217 1218 typeset NB_ESSAI DELAI status i exist skip 1219 1220 # number of tentative 1221 NB_ESSAI=3 1222 # time delay between tentative 1223 DELAI=2 1224 1158 1225 if [ $DRYRUN = 0 ]; then 1159 1226 if [ ! -f ${1} ] ; then … … 1165 1232 IGCM_sys_Mkdir $( dirname $2 ) 1166 1233 # 1167 typeset RET1168 1234 1169 1235 if [ X${JobType} = XRUN ] ; then 1170 1236 if [ X${3} = X ] ; then 1171 1237 IGCM_sys_Chmod 444 ${1} 1172 1238 fi 1173 1239 fi 1240 1241 exist=false 1242 skip=false 1243 if [ -f $2 ] ; then 1244 IGCM_debug_Print 1 "$2 already exist" 1245 exist=true 1246 if [ "X$( diff $1 $2 )" = X ] ; then 1247 IGCM_debug_Print 2 "$1 and $2 are the same file, we skip the copy" 1248 skip=true 1249 else 1250 IGCM_debug_Print 2 "$1 and $2 are not the same file, we force the copy" 1251 skip=false 1252 fi 1253 fi 1174 1254 # 1175 # USUAL WAY 1176 \cp $1 $2 > out_rsync 2>&1 1177 RET=$? 1178 1179 if [ ${RET} -gt 0 ] ; then 1255 if ( [ X${exist} = Xtrue ] && [ X${skip} = Xfalse ] ) ; then 1256 IGCM_sys_Chmod u+w $2 1257 fi 1258 1259 if [ X${skip} = Xfalse ] ; then 1260 i=0 1261 while [ $i -lt $NB_ESSAI ] ; do 1262 # USUAL WAY 1263 \cp $1 $2 > out_rsync 2>&1 1264 status=$? 1265 if [ ${status} -gt 0 ]; then 1266 IGCM_debug_Print 2 "IGCM_sys_PutBuffer_Out : cp failed error code ${status} ${i}/${NB_ESSAI}" 1267 IGCM_debug_Print 2 "IGCM_sys_PutBuffer_Out : sleep ${DELAI} seconds and try again." 1268 sleep $DELAI 1269 else 1270 break 1271 fi 1272 (( i = i + 1 )) 1273 done 1274 fi 1275 1276 if [ ${status} -gt 0 ] ; then 1180 1277 echo "IGCM_sys_PutBuffer_Out : error." 1181 1278 cat out_rsync … … 1199 1296 IGCM_debug_PushStack "IGCM_sys_Get" $@ 1200 1297 1201 typeset DEST RET dm_liste ifile target file_work 1298 typeset DEST RET dm_liste ifile target file_work 1299 typeset NB_ESSAI DELAI status i 1202 1300 1203 1301 if ( $DEBUG_sys ) ; then 1204 1302 echo "IGCM_sys_Get :" $@ 1205 1303 fi 1304 1305 # number of tentative 1306 NB_ESSAI=3 1307 # time delay between tentative 1308 DELAI=2 1309 1206 1310 if [ $DRYRUN -le 2 ]; then 1207 1311 if [ X${1} = X'/l' ] ; then … … 1229 1333 #fi 1230 1334 1231 # test if the (first) file is present in the old computation :1232 IGCM_sys_TestFileArchive ${dm_liste[0]}1233 RET=$?1234 if [ ${RET} -gt 0 ] ; then1235 echo "IGCM_sys_Get, ERROR : regular file ${dm_liste[0]} DOES NOT EXIST ."1236 IGCM_debug_Exit "IGCM_sys_Get"1237 fi1238 1239 #dmget ${dm_liste[*]} > out_rsync 2>&11240 1335 ccc_hsm get ${dm_liste[*]} > out_rsync 2>&1 1241 RET=$?1242 if [ ${ RET} -gt 0 ] ; then1243 echo "WARNING IGCM_sys_Get : demigration error."1336 status=$? 1337 if [ ${status} -gt 0 ] ; then 1338 echo "WARNING IGCM_sys_Get : error code ${status}" 1244 1339 cat out_rsync 1245 1340 echo "WARNING IGCM_sys_Get : will stop later if the cp fails." 1246 1341 fi 1247 1342 1248 #if [ ${ RET} -gt 0 ] ; then1343 #if [ ${status} -gt 0 ] ; then 1249 1344 # if [ ! "X$( grep "Lost dmusrcmd connection" out_rsync )" = "X" ] ; then 1250 1345 # cat out_rsync … … 1254 1349 ## dmget ${dm_liste[*]} > out_rsync 2>&1 1255 1350 # ccc_hsm get ${dm_liste[*]} > out_rsync 2>&1 1256 # RET=$?1257 # if [ ${ RET} -gt 0 ] ; then1258 # 1259 # 1260 # 1351 # status=$? 1352 # if [ ${status} -gt 0 ] ; then 1353 # echo "ERROR IGCM_sys_Get : again demigration error :" 1354 # cat out_rsync 1355 # IGCM_debug_Exit "IGCM_sys_Get" 1261 1356 # fi 1262 1357 # else … … 1271 1366 (( RET=0 )) 1272 1367 for target in ${dm_liste[*]} ; do 1273 local_file=$( basename ${target} ) 1274 \cp ${target} ${DEST}/${local_file} >> out_rsync 2>&1 1275 (( RET = RET + $? )) 1368 local_file=$( basename ${target} ) 1369 (( i = 0 )) 1370 # test if the target file is present before the loop 1371 IGCM_sys_TestFileArchive ${target} 1372 status=$? 1373 if [ ${status} -gt 0 ] ; then 1374 echo "IGCM_sys_Get, ERROR : regular file ${target} DOES NOT EXIST ." 1375 IGCM_debug_Exit "IGCM_sys_Get" 1376 else 1377 while [ $i -lt $NB_ESSAI ] ; do 1378 \cp ${target} ${DEST}/${local_file} >> out_rsync 2>&1 1379 status=$? 1380 if [ ${status} -gt 0 ]; then 1381 IGCM_debug_Print 2 "IGCM_sys_Get : cp failed error code ${status} ${i}/${NB_ESSAI}" 1382 IGCM_debug_Print 2 "IGCM_sys_Get : sleep ${DELAI} seconds and try again." 1383 sleep $DELAI 1384 else 1385 break 1386 fi 1387 (( i = i + 1 )) 1388 done 1389 (( RET = RET + status )) 1390 fi 1276 1391 done 1277 1392 else 1278 1393 \cp ${dm_liste} ${DEST} >> out_rsync 2>&1 1279 RET=$?1280 fi 1281 1282 # 1283 # 1284 # 1285 1286 # 1287 # 1288 # 1289 1290 # RET=$?1291 # IGCM_sys_Rsync_out $RET1292 1293 # 1294 # 1394 status=$? 1395 fi 1396 1397 # #RSYNC WITH NETWORK SSH CALL 1398 # echo ${RSYNC} ${RSYNC_opt} -e ssh ${STOREHOST}:"${dm_liste}" ${STOREHOST}:${RUN_DIR}/${DEST} > out_rsync 2>&1 1399 # ${RSYNC} ${RSYNC_opt} -e ssh ${STOREHOST}:"${dm_liste}" ${STOREHOST}:${RUN_DIR}/${DEST} >> out_rsync 2>&1 1400 1401 # #RSYNC WITH NFS USE 1402 # echo ${RSYNC} ${RSYNC_opt} ${dm_liste} ${RUN_DIR}/${DEST} > out_rsync 2>&1 1403 # ${RSYNC} ${RSYNC_opt} ${dm_liste} ${RUN_DIR}/${DEST} >> out_rsync 2>&1 1404 1405 # status=$? 1406 # IGCM_sys_Rsync_out $status 1407 1408 # ${libIGCM}/libIGCM_sys/IGCM_analyse_rsync_out.awk out_rsync 1409 # (( RET=RET+$? )) 1295 1410 1296 1411 if [ ${RET} -gt 0 ] ; then 1297 echo "IGCM_sys_Get : copy error."1412 echo "IGCM_sys_Get : error" 1298 1413 cat out_rsync 1414 \rm out_rsync 1299 1415 IGCM_debug_Exit "IGCM_sys_Get" 1300 1416 else … … 1315 1431 IGCM_debug_PushStack "IGCM_sys_GetBuffer" $@ 1316 1432 1317 typeset DEST RET buf_liste ifile target file_work1433 typeset DEST RET status buf_liste ifile target file_work 1318 1434 1319 1435 if ( $DEBUG_sys ) ; then … … 1333 1449 (( RET=0 )) 1334 1450 for target in ${buf_liste[*]} ; do 1335 1336 1337 1451 local_file=$( basename ${target} ) 1452 \cp ${target} ${DEST}/${local_file} >> out_rsync 2>&1 1453 (( RET = RET + $? )) 1338 1454 done 1339 1455 else 1340 1456 \cp ${buf_liste} ${DEST} >> out_rsync 2>&1 1341 RET=$?1457 status=$? 1342 1458 fi 1343 1459 1344 1460 if [ ${RET} -gt 0 ] ; then 1345 echo "IGCM_sys_GetBuffer : copy error."1461 echo "IGCM_sys_GetBuffer : error" 1346 1462 cat out_rsync 1463 \rm out_rsync 1347 1464 IGCM_debug_Exit "IGCM_sys_GetBuffer" 1348 1465 else … … 1375 1492 #D-#================================================== 1376 1493 #D-function IGCM_sys_GetDate_FichArchive 1377 #D-* Purpose: donne la date filesys d'un fichier sur le filesystem ARCHIVE 1494 #D-* Purpose: donne la date filesys d'un fichier sur le filesystem ARCHIVE 1378 1495 #D-* Examples: 1379 1496 #D- … … 1398 1515 echo "IGCM_sys_rebuild :" $@ 1399 1516 fi 1400 /home/cont003/p86ipsl/SX8/bin/rebuild -f -o $@ 1517 1518 typeset NB_ESSAI DELAI status i 1519 # number of tentative 1520 NB_ESSAI=3 1521 # time delay between tentative 1522 DELAI=2 1523 1524 i=0 1525 while [ $i -lt $NB_ESSAI ] ; do 1526 /home/cont003/p86ipsl/SX8/bin/rebuild -f -o $@ > out_rsync 2>&1 1527 status=$? 1528 if [ ${status} -gt 0 ] ; then 1529 IGCM_debug_Print 2 "IGCM_sys_rebuild : error code ${status}" 1530 cat out_rsync 1531 \rm out_rsync 1532 IGCM_debug_Print 2 "IGCM_sys_rebuild : ${i}/${NB_ESSAI} sleep ${DELAI} seconds and try again." 1533 else 1534 \rm out_rsync 1535 break 1536 fi 1537 (( i = i + 1 )) 1538 done 1539 1401 1540 if [ $? -gt 0 ] ; then 1402 echo "IGCM_sys_rebuild : erreur ${@}."1541 echo "IGCM_sys_rebuild : rebuild error" 1403 1542 IGCM_debug_Exit "rebuild" 1404 1543 fi … … 1567 1706 ############################################################ 1568 1707 # Build MPI/OMP scripts 1569 function IGCM_sys_build_execution_scripts 1708 function IGCM_sys_build_execution_scripts 1570 1709 { 1571 1710 IGCM_debug_PushStack "IGCM_sys_build_execution_scripts" $@
Note: See TracChangeset
for help on using the changeset viewer.