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 8979 for branches/2017/dev_r8126_ROBUST08_no_ghost/NEMOGCM/CONFIG/makenemo – NEMO

Ignore:
Timestamp:
2017-12-11T17:45:55+01:00 (6 years ago)
Author:
acc
Message:

Branch 2017/dev_r8126_ROBUST08_no_ghost. Merge in trunk changes up to rev 8864 in preparation for the merge. Sette tests OK except for AGRIF restartability but uncertain about the trunks status for this?

File:
1 edited

Legend:

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

    r7756 r8979  
    6363# :: 
    6464# 
    65 #  $ ./makenemo -m ifort_osx - j3 -n ORCA2_LIM 
     65#  $ ./makenemo -m ifort_osx - j3 -n ORCA2_LIM3_PISCES 
    6666# 
    6767# 
     
    221221   *) 
    222222       echo " \"$1\" BAD OPTION" 
    223        exit 
     223       exit 2 
    224224       ;; 
    225225 
     
    267267#- 
    268268#- Choose a default configuration if needed --- 
    269 #- ORCA2_LIM or last one used --- 
     269#- ORCA2_LIM3_PISCES or last one used --- 
    270270. ${COMPIL_DIR}/Fcheck_config.sh cfg.txt ${NEW_CONF} || exit 
    271271 
    272272if [ ${#NEW_CONF} -eq 0 ] ; then 
    273273    if [ ${#NEM_SUBDIR} -eq 0 ] && [ ${#REF_CONF} -eq 0 ] && [ ${#USP_CONF} -eq 0 ] ; then 
    274    echo "You are installing a new default (ORCA2_LIM) configuration" 
     274   echo "You are installing a new default (ORCA2_LIM3_PISCES) configuration" 
    275275   ind=0 
    276276   . ${COMPIL_DIR}/Fread_dir.sh OPA_SRC    YES 
     
    280280   . ${COMPIL_DIR}/Fread_dir.sh NST_SRC    YES 
    281281   . ${COMPIL_DIR}/Fread_dir.sh OFF_SRC    NO 
    282    REF_CONF=ORCA2_LIM 
     282   . ${COMPIL_DIR}/Fread_dir.sh SAO_SRC    NO 
     283   . ${COMPIL_DIR}/Fread_dir.sh SAS_SRC    NO 
     284   REF_CONF=ORCA2_LIM3_PISCES 
    283285    elif [ ${#NEM_SUBDIR} -gt 0 ] && [ ${#REF_CONF} -eq 0 ] && [ ${#USP_CONF} -eq 0 ] ; then 
    284    echo "You are  installing a new configuration based on ORCA2_LIM" 
     286   echo "You are  installing a new configuration based on ORCA2_LIM3_PISCES" 
    285287   TAB=( ${NEM_SUBDIR} ) 
    286    REF_CONF=ORCA2_LIM 
     288   REF_CONF=ORCA2_LIM3_PISCES 
    287289    elif [ ${#NEM_SUBDIR} -eq 0 ] && [ ${#REF_CONF} -gt 0 ]; then 
    288290   echo "You are  installing a new configuration based on ${REF_CONF}" 
     
    320322#- Clean links and librairies --- 
    321323#- Creating the good links, at first on OPA_SRC --- 
    322 . ${COMPIL_DIR}/Fmake_WORK.sh ${x_e} ${NEW_CONF} ${TAB[*]} || exit 
    323  
    324 . ${COMPIL_DIR}/Fmake_bld.sh ${CONFIG_DIR} ${NEW_CONF}  ${NEMO_TDIR} || exit 
     324. ${COMPIL_DIR}/Fmake_WORK.sh ${x_e} ${NEW_CONF} ${TAB[*]} || exit 3 
     325 
     326. ${COMPIL_DIR}/Fmake_bld.sh ${CONFIG_DIR} ${NEW_CONF}  ${NEMO_TDIR} || exit 3 
    325327 
    326328# build the complete list of the cpp keys of this configuration 
     
    360362#- At this stage cpp keys have been updated. we can check the arch file 
    361363#- When used for the first time, choose a compiler --- 
    362 . ${COMPIL_DIR}/Fcheck_archfile.sh arch_nemo.fcm cpp.fcm ${CMP_NAM} || exit 
     364. ${COMPIL_DIR}/Fcheck_archfile.sh arch_nemo.fcm cpp.fcm ${CMP_NAM} || exit 3 
    363365 
    364366#- At this stage the configuration has beeen chosen 
     
    368370#- We look after agrif 
    369371grep key_agrif ${COMPIL_DIR}/cpp.fcm && export AGRIFUSE=1 && export USEBLD=${USEBLD/xag/} 
    370 . ${COMPIL_DIR}/Fprep_agrif.sh ${NEW_CONF} ${NEMO_TDIR} || exit 
     372. ${COMPIL_DIR}/Fprep_agrif.sh ${NEW_CONF} ${NEMO_TDIR} || exit 3 
    371373 
    372374#- 
     
    383385    if [ ${#x_c} -eq 0 ]; then 
    384386       if [ "$AGRIFUSE" == 1 ]; then  
    385           fcm build --ignore-lock  -j 1 ${COMPIL_DIR}/bld_preproagr.cfg ||{ cd - ; exit ;} 
     387          fcm build --ignore-lock  -j 1 ${COMPIL_DIR}/bld_preproagr.cfg ||{ cd - ; exit 1 ;} 
    386388          echo "" 
    387389          echo "---------------------------------" 
     
    391393       fi 
    392394    fi 
    393     fcm build ${x_c} --ignore-lock -v ${x_v} -j ${NBR_PRC} ${COMPIL_DIR}/$USEBLD || cd - 
     395    fcm build ${x_c} --ignore-lock -v ${x_v} -j ${NBR_PRC} ${COMPIL_DIR}/$USEBLD ||{ cd - ; exit 1 ;} 
    394396    [ -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 
    395397 
Note: See TracChangeset for help on using the changeset viewer.