Changeset 2022
- Timestamp:
- 03/08/13 00:14:22 (11 years ago)
- Location:
- TOOLS/PACK_IPSL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/archive_debug.sh
r1979 r2022 160 160 #On classe par ordre alphabetique les fichiers contenus dans liste_pack_debug 161 161 #la date du dernier fichier donnera la date de fin du pack 162 if [[ -f ${IGCM_TMP}/${$}.liste_pack_debug_${number_pack}.txt ]] ; then 162 163 sort ${IGCM_TMP}/${$}.liste_pack_debug_${number_pack}.txt > ${IGCM_TMP}/${$}.liste_pack_debug_${number_pack}.txt.tmp 163 164 … … 170 171 DateEnd_Debug=$( echo ${extract_date_file}| sed 's%.*\([0-9]\{8\}\)_.*$%\1%g' ) 171 172 mv ${IGCM_TMP}/${$}.liste_pack_debug_${number_pack}.txt.tmp ${DEBUG_TAR}/${JobName}_debug_${DateBegin_Debug}_${DateEnd_Debug}.list 172 173 fi 173 174 174 175 DEM_log -1 "Passage de la commande Tar pour archiver la liste creee" -
TOOLS/PACK_IPSL/archive_restart.sh
r1962 r2022 78 78 rm -rf * 79 79 fi 80 81 80 # On les copie sur le scratchdir en changeant le nom et conservant la date 82 81 awk '{print $2}' ${IGCM_DEM_SIMU}/liste_restart_files_config.txt > ${IGCM_TMP}/${$}.liste_restart_files.txt … … 108 107 109 108 number_pack=1 110 111 109 while [ ${date_begin_pack} -le ${date_end_simulation} ] 112 110 do … … 158 156 #On classe par ordre alphabetique les fichiers contenus dans liste_pack_restart 159 157 #la date du dernier fichier donnera la date de fin du pack 158 if [[ -f ${IGCM_TMP}/${$}.liste_pack_restart_${number_pack}.txt ]] ; then 160 159 sort ${IGCM_TMP}/${$}.liste_pack_restart_${number_pack}.txt > ${IGCM_TMP}/${$}.liste_pack_restart_${number_pack}.txt.tmp 161 160 … … 168 167 DateEnd_Restart=$( echo ${extract_date_file}| sed 's/\([0-9]\{8\}\)_.*$/\1/g' ) 169 168 mv ${IGCM_TMP}/${$}.liste_pack_restart_${number_pack}.txt.tmp ${RESTART_TAR}/${JobName}_restart_${DateBegin_Restart}_${DateEnd_Restart}.list 170 169 fi 171 170 172 171 DEM_log -1 "Passage de la commande Tar pour archiver la liste creee" … … 186 185 done 187 186 188 189 187 cd ${EXE_DIR} 190 188
Note: See TracChangeset
for help on using the changeset viewer.