Changeset 607


Ignore:
Timestamp:
03/28/12 09:16:38 (12 years ago)
Author:
mafoipsl
Message:

Check and fix pack_debug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM_MPI_OpenMP/AA_pack_debug

    r606 r607  
    276276# Clear txt file lists 
    277277rm -f ${RUN_DIR}/liste_debug_files.txt 
     278rm -f ${RUN_DIR}/liste_out_files.txt 
    278279rm -f ${RUN_DIR}/new_liste_debug_files.txt 
    279280rm -f ${RUN_DIR}/liste_pack_*.txt 
     
    282283find ${R_BUFR}/*/Debug -type f | sort >> ${RUN_DIR}/liste_debug_files.txt 
    283284 
    284 # Rename debug files we will work with using symlinks. use ???_ prefix ie NF-2 
     285# Rename debug files. we will work with using symlinks. use ???_ prefix ie NF-2 
    285286#gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("cp --preserve " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt 
    286287gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt 
     
    289290find ${R_BUFR}/Out -type f -name '*out_*' | sort >> ${RUN_DIR}/liste_out_files.txt 
    290291 
    291 # Rename out files we will work with using symlinks. use Out_ prefix ie NF-1 
     292# Rename out files. we will work with using symlinks. use Out_ prefix ie NF-1 
    292293gawk -F/ '{dest_name=$(NF-1)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${RUN_DIR}/liste_out_files.txt 
    293294 
    294295# List renamed debug files 
    295296find ${RUN_DIR} -name "???_*${JobName}*" -ls | sort -k 11 > ${RUN_DIR}/new_liste_debug_files.txt 
    296  
    297 # Add out_ : output of execution files 
    298 find ${R_BUFR}/Out -type f -name '*out_*' | sort >> ${RUN_DIR}/new_liste_debug_files.txt 
    299297 
    300298# ------------------------------------------------------------------ 
Note: See TracChangeset for help on using the changeset viewer.