Changeset 1763 for TOOLS


Ignore:
Timestamp:
06/11/12 16:40:06 (12 years ago)
Author:
acosce
Message:

Add case of out_gcm.e --> now tar in DEBUG directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/archive_debug.sh

    r1755 r1763  
    5656rm -rf * 
    5757 
    58 # On les copie sur le scratchdir en changeant le nom et conservant la date 
     58# On copie les fichiers de Debug sur le scratchdir en changeant le nom et conservant la date 
    5959grep ${PATH_SIMUL_FULL} ${LISTE_DMNFS} | grep Debug | awk '{print $3}' | sed '/^.*Debug$/d' >> ${IGCM_TMP}/${$}.liste_debug_files.txt 
     60 
     61# cas particulier : les fichiers Bands sont conserves sans etre archives 
    6062grep ${JobName}_Bands ${IGCM_TMP}/${$}.liste_debug_files.txt >> ${STORE_CP}/cp_files.list 
    6163sed "/${JobName}_Bands/d" ${IGCM_TMP}/${$}.liste_debug_files.txt > ${IGCM_TMP}/${$}.liste_debug_files.txt_tmp 
     
    6365   
    6466gawk -F/ '{dest_name=$(NF-2)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${IGCM_TMP}/${$}.liste_debug_files.txt 
     67 
     68#on fait de meme avec les fichiers out_gcm.e stockes dans le repertoire Out/ qui seront prefixes par Out_ 
     69rm -f ${IGCM_TMP}/${$}.liste_debug_files.txt 
     70grep ${PATH_SIMUL_FULL} ${LISTE_DMNFS} | grep -w Out | awk '{print $3}' | sed '/^.*Out$/d' > ${IGCM_TMP}/${$}.liste_debug_files.txt 
     71gawk -F/ '{dest_name=$(NF-1)("_") $(NF); system("ln -s " $0 " "dest_name)}' ${IGCM_TMP}/${$}.liste_debug_files.txt 
     72 
    6573 
    6674ls -l ${STORE_DEBUG} > ${IGCM_TMP}/${$}.new_liste_debug_files.txt 
Note: See TracChangeset for help on using the changeset viewer.