Changeset 607
- Timestamp:
- 03/28/12 09:16:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libIGCM_MPI_OpenMP/AA_pack_debug
r606 r607 276 276 # Clear txt file lists 277 277 rm -f ${RUN_DIR}/liste_debug_files.txt 278 rm -f ${RUN_DIR}/liste_out_files.txt 278 279 rm -f ${RUN_DIR}/new_liste_debug_files.txt 279 280 rm -f ${RUN_DIR}/liste_pack_*.txt … … 282 283 find ${R_BUFR}/*/Debug -type f | sort >> ${RUN_DIR}/liste_debug_files.txt 283 284 284 # Rename debug files we will work with using symlinks. use ???_ prefix ie NF-2285 # Rename debug files. we will work with using symlinks. use ???_ prefix ie NF-2 285 286 #gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("cp --preserve " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt 286 287 gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt … … 289 290 find ${R_BUFR}/Out -type f -name '*out_*' | sort >> ${RUN_DIR}/liste_out_files.txt 290 291 291 # Rename out files we will work with using symlinks. use Out_ prefix ie NF-1292 # Rename out files. we will work with using symlinks. use Out_ prefix ie NF-1 292 293 gawk -F/ '{dest_name=$(NF-1)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${RUN_DIR}/liste_out_files.txt 293 294 294 295 # List renamed debug files 295 296 find ${RUN_DIR} -name "???_*${JobName}*" -ls | sort -k 11 > ${RUN_DIR}/new_liste_debug_files.txt 296 297 # Add out_ : output of execution files298 find ${R_BUFR}/Out -type f -name '*out_*' | sort >> ${RUN_DIR}/new_liste_debug_files.txt299 297 300 298 # ------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.