Changeset 1736 for TOOLS


Ignore:
Timestamp:
05/29/12 16:23:14 (12 years ago)
Author:
acosce
Message:

Pack_ipsl : change name of files list to copy

Location:
TOOLS/PACK_IPSL
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/archive_debug.sh

    r1730 r1736  
    5858# On les copie 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 grep ${JobName}_Bands ${IGCM_TMP}/${$}.liste_debug_files.txt > ${STORE_CP}/cp_bands.list 
     60grep ${JobName}_Bands ${IGCM_TMP}/${$}.liste_debug_files.txt >> ${STORE_CP}/cp_files.list 
    6161sed "/${JobName}_Bands/d" ${IGCM_TMP}/${$}.liste_debug_files.txt > ${IGCM_TMP}/${$}.liste_debug_files.txt_tmp 
    6262mv ${IGCM_TMP}/${$}.liste_debug_files.txt_tmp ${IGCM_TMP}/${$}.liste_debug_files.txt 
  • TOOLS/PACK_IPSL/create_config_card.sh

    r1731 r1736  
    100100    # Etablir la liste des fichiers d'Analyse 
    101101    grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep Analyse  | awk '{print $3}' |  sort >> ${IGCM_TMP}/cp_analyse_files.list 
    102     awk -F/ '{if ($(NF)=="Analyse") print $0} ' ${IGCM_TMP}/cp_analyse_files.list > ${STORE_CP}/cp_r_analyse_files.list 
     102    awk -F/ '{if ($(NF)=="Analyse") print $0} ' ${IGCM_TMP}/cp_analyse_files.list > ${STORE_CP}/cp_files.list 
     103 
     104    #On recupere egalement le fichier mesh_mask si il existe  
     105    grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep mesh_mask | awk '{print $3}' >> ${STORE_CP}/cp_files.list 
     106    sed '/mesh_mask/d' ${LISTE_DMNFS} > ${IGCM_TMP}/Listing_tmp.txt; mv ${IGCM_TMP}/Listing_tmp.txt ${LISTE_DMNFS} 
    103107 
    104108    # Etablir la liste des fichiers Monito et Atlas 
    105109    grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep  MONITORING | awk '{print $3}' | sort >> ${IGCM_TMP}/cp_monito_files.list 
    106     awk -F/ '{if ($(NF)=="MONITORING") print $0} ' ${IGCM_TMP}/cp_monito_files.list > ${WORK_CP}/cp_r_monito_files.list 
     110    awk -F/ '{if ($(NF)=="MONITORING") print $0} ' ${IGCM_TMP}/cp_monito_files.list > ${WORK_CP}/cp_files.list 
    107111 
    108112    grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep  ATLAS | awk '{print $3}' | sort >> ${IGCM_TMP}/cp_atlas_files.list 
    109     awk -F/ '{if ($(NF)=="ATLAS") print $0} ' ${IGCM_TMP}/cp_atlas_files.list > ${WORK_CP}/cp_r_atlas_files.list 
     113    awk -F/ '{if ($(NF)=="ATLAS") print $0} ' ${IGCM_TMP}/cp_atlas_files.list >> ${WORK_CP}/cp_files.list 
    110114     
    111115 
  • TOOLS/PACK_IPSL/create_listing.sh

    r1723 r1736  
    1313export IGCM_TMP=${IGCM_TMP:-${IGCM_DEM}/tmp} 
    1414 
     15source ${EXE_DIR}/DEM_utilities.sh 
     16DEM_log -0 "Demarrage de ${SCRIPT_NAME}" 
    1517 
    1618find $REPtoList -printf "%y %s %p \n" >> ${IGCM_DEM}/Listing.txt 
     
    2325 
    2426#possibilite de retirer d'autres types de fichiers ex: .jnl*  
     27 
     28 
     29DEM_log -0 "Fin de ${SCRIPT_NAME}" 
     30 
  • TOOLS/PACK_IPSL/find_size_pack.sh

    r1725 r1736  
    7676 
    7777 
    78 # On enleve mesh_mask qui est un cas particulier a traiter ulterieurement 
    79 sed '/mesh_mask/d' ${IGCM_TMP}/${$}.info_tmp_bis.txt >  ${IGCM_TMP}/${$}.info_tmp_2.txt 
     78## On enleve mesh_mask qui est un cas particulier a traiter ulterieurement 
     79#sed '/mesh_mask/d' ${IGCM_TMP}/${$}.info_tmp_bis.txt >  ${IGCM_TMP}/${$}.info_tmp_2.txt 
    8080 
    8181# On retire les doublons de la liste précédent 
    82 awk '{if (x[$0] != "") next ; print $0 ; x[$0]=$0}' <  ${IGCM_TMP}/${$}.info_tmp_2.txt >> ${IGCM_DEM_SIMU}/info_name_file.txt 
    83 [[ "${clean_tmp}" = "yes" ]] && rm -f  ${IGCM_TMP}/${$}.info_tmp.txt ${IGCM_TMP}/${$}.info_tmp_2.txt 
     82awk '{if (x[$0] != "") next ; print $0 ; x[$0]=$0}' <  ${IGCM_TMP}/${$}.info_tmp_bis.txt >> ${IGCM_DEM_SIMU}/info_name_file.txt 
     83[[ "${clean_tmp}" = "yes" ]] && rm -f  ${IGCM_TMP}/${$}.info_tmp.txt ${IGCM_TMP}/${$}.info_tmp_bis.txt 
    8484 
    8585 
Note: See TracChangeset for help on using the changeset viewer.