Changeset 606


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

Add out_* ie out_execution out_run_file or out_${Exec_Name} in pack_debug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM_MPI_OpenMP/AA_pack_debug

    r605 r606  
    282282find ${R_BUFR}/*/Debug -type f | sort >> ${RUN_DIR}/liste_debug_files.txt 
    283283 
    284 # Rename debug files we will work with using symlinks 
     284# Rename debug files we will work with using symlinks. use ???_ prefix ie NF-2 
    285285#gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("cp --preserve " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt 
    286286gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${RUN_DIR}/liste_debug_files.txt 
     287 
     288# Add out_ : output of execution files 
     289find ${R_BUFR}/Out -type f -name '*out_*' | sort >> ${RUN_DIR}/liste_out_files.txt 
     290 
     291# Rename out files we will work with using symlinks. use Out_ prefix ie NF-1 
     292gawk -F/ '{dest_name=$(NF-1)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${RUN_DIR}/liste_out_files.txt 
    287293 
    288294# List renamed debug files 
Note: See TracChangeset for help on using the changeset viewer.