Changeset 2006


Ignore:
Timestamp:
02/18/13 15:58:33 (10 years ago)
Author:
cetlod
Message:

update mod.def & model scripts to be able to manage NEMOGCM under modipsl framework

Location:
modipsl/trunk/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • modipsl/trunk/util/mod.def

    r2005 r2006  
    406406#---- NEMO in forced mode :  
    407407 
    408 #-H- NEMOGCM  NEMOGCM  in forced mode : version since v3.4 : Compilation using FCM 
     408#-H- NEMOGCM  NEMOGCM  in forced mode   version since v3.4 Compilation using FCM 
    409409#-H- NEMOGCM  libIGCM tag libIGCM_v2.0_rc2 
    410410#-M- NEMOGCM  Christian.Ethe@ipsl.jussieu.fr 
    411 #-C- NEMOGCM  tags/libIGCM_v2.0_rc2                                                     HEAD  10 libIGCM     . 
    412 #-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM                                HEAD  7  .           modeles 
    413 #-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_LIM/EXP00         HEAD  7  PARAM       modeles/NEMOGCM/CONFIG/ORCA2_LIM/IGCM00 
    414 #-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_LIM_PISCES/EXP00  HEAD  7  PARAM       modeles/NEMOGCM/CONFIG/ORCA2_LIM_PISCES/IGCM00 
    415 #-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/EXP00  HEAD  7  PARAM       modeles/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/IGCM00 
     411#-C- NEMOGCM  tags/libIGCM_v2.0_rc2                                                HEAD  10 libIGCM     . 
     412#-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM                                 HEAD  7  .                       modeles 
     413#-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_LIM/IGCM00         HEAD  7  ORCA2_LIM/IGCM00        config 
     414#-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_LIM_PISCES/IGCM00  HEAD  7  ORCA2_LIM_PISCES/IGCM00 config 
     415#-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/IGCM00  HEAD  7  ORCA2_OFF_PISCES/IGCM00 config 
     416#-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_LIM/EXP00          HEAD  7  PARAM                   config/ORCA2_LIM/IGCM00 
     417#-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_LIM_PISCES/EXP00   HEAD  7  PARAM                   config/ORCA2_LIM_PISCES/IGCM00 
     418#-C- NEMOGCM  branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/EXP00   HEAD  7  PARAM                   config/ORCA2_OFF_PISCES/IGCM00 
  • modipsl/trunk/util/model

    r1828 r2006  
    343343    eval ${c_c}; 
    344344  done 
     345 
     346#- 
     347# Actions related to NEMOGCM  
     348#- 
     349 
     350case ${m_n} in 
     351     ( NEMOGCM* ) 
     352    d_m1=${d_m}/modeles/NEMOGCM/CONFIG 
     353    d_m2=${d_m}/config    
     354    list_cfg='ORCA2_LIM ORCA2_LIM_PISCES ORCA2_OFF_PISCES'  
     355    if [ -d ${d_m1}/SHARED  ]; then 
     356    { 
     357      for i in ${list_cfg} 
     358       do  
     359         \rm -f ${d_m2}/${i}/IGCM00/PARAM/*.xml  
     360          cp ${d_m1}/SHARED/* ${d_m2}/${i}/IGCM00/PARAM  
     361          cp ${d_m1}/${i}/EXP00/iodef.xml  ${d_m2}/${i}/IGCM00/PARAM 
     362       done 
     363    } 
     364    fi 
     365    \rm -f  ${d_m2}/ORCA2_LIM_PISCES/IGCM00/PARAM/namelist 
     366    \rm -f  ${d_m2}/ORCA2_LIM_PISCES/IGCM00/PARAM/namelist_ice* 
     367    cp      ${d_m1}/ORCA2_LIM/EXP00/namelist* ${d_m2}/ORCA2_LIM_PISCES/IGCM00/PARAM/. 
     368    ;; 
     369esac 
    345370#- 
    346371# Actions related to the WORK directory for the OPA models 
Note: See TracChangeset for help on using the changeset viewer.