New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 9572 for branches/2017/dev_merge_2017/NEMOGCM/CONFIG/makenemo – NEMO

Ignore:
Timestamp:
2018-05-11T13:16:06+02:00 (6 years ago)
Author:
nicolasmartin
Message:

Global renaming for reference configurations and test cases (./CONFIG): 2 steps for removing symbolic links

  • Folders
    • ORCA2_LIM3_PISCES -> ORCA2_SI3_PISCES
    • ORCA2_SAS_LIM3 -> ORCA2_SAS_SI3
  • CPP keys: key_lim3 -> key_si3
  • Namelists and XML
    • namelist_ice_lim3_ref -> namelist_ice_si3_ref
    • file_def_nemo-opa.xml -> file_def_nemo-oce.xml, file_def_nemo-lim.xml -> file_def_nemo-ice.xml
    • field_def_nemo-opa.xml -> field_def_nemo-oce.xml, field_def_nemo-lim.xml -> field_def_nemo-ice.xml
    • namp.zlim -> namp.zice
  • Cleaning of configurations list in cfg.txt
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/makenemo

    r8526 r9572  
    146146   echo ""; 
    147147   echo "Example to install a new configuration MY_CONFIG"; 
    148    echo "with OPA_SRC and LIM_SRC_2 "; 
    149    echo "makenemo -n MY_CONFIG -d \"OPA_SRC LIM_SRC_2\""; 
     148   echo "with OCE_SRC and ICE_SRC "; 
     149   echo "makenemo -n MY_CONFIG -d \"OCE_SRC ICE_SRC\""; 
    150150   echo ""; 
    151151   echo "Available configurations :"; cat ${CONFIG_DIR}/cfg.txt; 
     
    274274   echo "You are installing a new default (ORCA2_LIM3_PISCES) configuration" 
    275275   ind=0 
    276    . ${COMPIL_DIR}/Fread_dir.sh OPA_SRC    YES 
    277    . ${COMPIL_DIR}/Fread_dir.sh LIM_SRC_2   YES 
    278    . ${COMPIL_DIR}/Fread_dir.sh LIM_SRC_3   NO 
     276   . ${COMPIL_DIR}/Fread_dir.sh OCE_SRC    YES 
     277   . ${COMPIL_DIR}/Fread_dir.sh ICE_SRC     NO 
    279278   . ${COMPIL_DIR}/Fread_dir.sh TOP_SRC    NO 
    280279   . ${COMPIL_DIR}/Fread_dir.sh NST_SRC    YES 
     
    321320#- Create the WORK --- 
    322321#- Clean links and librairies --- 
    323 #- Creating the good links, at first on OPA_SRC --- 
     322#- Creating the good links, at first on OCE_SRC --- 
    324323. ${COMPIL_DIR}/Fmake_WORK.sh ${x_e} ${NEW_CONF} ${TAB[*]} || exit 3 
    325324 
     
    394393    fi 
    395394    fcm build ${x_c} --ignore-lock -v ${x_v} -j ${NBR_PRC} ${COMPIL_DIR}/$USEBLD ||{ cd - ; exit 1 ;} 
    396     [ -f ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/nemo.exe ] && ln -sf ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/nemo.exe  ${CONFIG_DIR}/${NEW_CONF}/EXP00/opa 
     395    [ -f ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/nemo.exe ] && ln -sf ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/nemo.exe  ${CONFIG_DIR}/${NEW_CONF}/EXP00/nemo 
    397396 
    398397#add remove for clean option 
    399398    if  [ ${#x_c} -ne 0 ]; then 
    400         rm -rf ${NEMO_TDIR}/${NEW_CONF}/OPAFILES 
     399        rm -rf ${NEMO_TDIR}/${NEW_CONF}/NEMOFILES 
    401400        rm -rf ${NEMO_TDIR}/${NEW_CONF}/WORK 
    402401        rm -rf ${NEMO_TDIR}/${NEW_CONF}/BLD 
    403         rm -rf ${NEMO_TDIR}/${NEW_CONF}/EXP00/opa 
     402        rm -rf ${NEMO_TDIR}/${NEW_CONF}/EXP00/nemo 
    404403        rm -f ${COMPIL_DIR}/*history ${COMPIL_DIR}/*fcm ${COMPIL_DIR}/*txt 
    405404        echo "cleaning ${NEW_CONF} WORK, BLD" 
Note: See TracChangeset for help on using the changeset viewer.