Ignore:
Timestamp:
06/07/12 17:26:32 (12 years ago)
Author:
acosce
Message:

Correct a little bug in create_config (mig ccrt/tgcc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/create_config_card.sh

    r1736 r1753  
    6666    JobName="" 
    6767     
     68    # Etablir la liste des fichiers d'Analyse 
     69    grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep Analyse  | awk '{print $3}' |  sort >> ${IGCM_TMP}/${$}.cp_analyse_files.list 
     70    awk -F/ '{if ($(NF)=="Analyse") print $0} ' ${IGCM_TMP}/${$}.cp_analyse_files.list > ${STORE_CP}/cp_files.list 
     71 
     72    #On recupere egalement le fichier mesh_mask si il existe  
     73    grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep mesh_mask | awk '{print $3}' >> ${STORE_CP}/cp_files.list 
     74    sed '/mesh_mask/d' ${LISTE_DMNFS} > ${IGCM_TMP}/${$}.Listing_tmp.txt; mv ${IGCM_TMP}/${$}.Listing_tmp.txt ${LISTE_DMNFS} 
     75 
     76    # Etablir la liste des fichiers Monito et Atlas 
     77    grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep  MONITORING | awk '{print $3}' | sort >> ${IGCM_TMP}/${$}.cp_monito_files.list 
     78    awk -F/ '{if ($(NF)=="MONITORING") print $0} ' ${IGCM_TMP}/${$}.cp_monito_files.list > ${WORK_CP}/cp_files.list 
     79 
     80    grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep  ATLAS | awk '{print $3}' | sort >> ${IGCM_TMP}/${$}.cp_atlas_files.list 
     81    awk -F/ '{if ($(NF)=="ATLAS") print $0} ' ${IGCM_TMP}/${$}.cp_atlas_files.list >> ${WORK_CP}/cp_files.list 
     82     
     83 
    6884    # Etablir la liste des fichiers de restart 
    6985    grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep Restart | awk '{print $2 " " $3}' | grep -e '.*/Restart/.*\..*' |grep -v "jnl" | sort  >> ${IGCM_TMP}/${$}.liste_restart_files_config.txt 
     
    98114 
    99115 
    100     # Etablir la liste des fichiers d'Analyse 
    101     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_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} 
    107  
    108     # Etablir la liste des fichiers Monito et Atlas 
    109     grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep  MONITORING | awk '{print $3}' | sort >> ${IGCM_TMP}/cp_monito_files.list 
    110     awk -F/ '{if ($(NF)=="MONITORING") print $0} ' ${IGCM_TMP}/cp_monito_files.list > ${WORK_CP}/cp_files.list 
    111  
    112     grep ${PATH_SIMUL_FULL}/ ${LISTE_DMNFS} | grep  ATLAS | awk '{print $3}' | sort >> ${IGCM_TMP}/cp_atlas_files.list 
    113     awk -F/ '{if ($(NF)=="ATLAS") print $0} ' ${IGCM_TMP}/cp_atlas_files.list >> ${WORK_CP}/cp_files.list 
    114      
    115116 
    116117 
Note: See TracChangeset for help on using the changeset viewer.