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 2158 for branches/DEV_r1879_FCM/NEMOGCM/CONFIG – NEMO

Ignore:
Timestamp:
2010-10-05T15:30:03+02:00 (14 years ago)
Author:
rblod
Message:

FCM branch, improve clean option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1879_FCM/NEMOGCM/CONFIG/makenemo

    r2143 r2158  
    169169#- Choose a default configuration if needed --- 
    170170#- ORCA2_LIM or last one used --- 
    171 . ${COMPIL_DIR}/Fcheck_config.sh ${NEW_CONF} || exit  
     171. ${COMPIL_DIR}/Fcheck_config.sh cfg.txt ${NEW_CONF} || exit  
    172172 
    173173if [ ${#NEW_CONF} -eq 0 ] ; then 
     
    223223 
    224224if [ "${NBR_PRC}" -gt 0 ]; then 
    225 cd ${NEMO_TDIR}/${NEW_CONF} || cd - 
    226  
    227 #if AGRIF we do a first preprocessing 
    228 if [ ${#x_c} -eq 0 ]; then 
    229 [ "$AGRIFUSE" == 1 ] && fcm build --ignore-lock -s 2 ${COMPIL_DIR}/bld.cfg  
    230 [ "$AGRIFUSE" == 1 ] && rm -rf  ${NEMO_TDIR}/${NEW_CONF}/BLD/* 
    231 fi 
    232 fcm build ${x_c} --ignore-lock -v 1 -j ${NBR_PRC} ${COMPIL_DIR}/bld.cfg || cd - 
    233 [ -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 
    234 [ -f ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/server.exe ] && ln -sf ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/server.exe  ${CONFIG_DIR}/${NEW_CONF}/EXP00/server.exe 
     225   cd ${NEMO_TDIR}/${NEW_CONF} || cd - 
     226 
     227   #if AGRIF we do a first preprocessing 
     228   if [ ${#x_c} -eq 0 ]; then 
     229      [ "$AGRIFUSE" == 1 ] && fcm build --ignore-lock -s 2 ${COMPIL_DIR}/bld.cfg  
     230      [ "$AGRIFUSE" == 1 ] && rm -rf  ${NEMO_TDIR}/${NEW_CONF}/BLD/* 
     231   fi 
     232   fcm build ${x_c} --ignore-lock -v 1 -j ${NBR_PRC} ${COMPIL_DIR}/bld.cfg || cd - 
     233   [ -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 
     234   [ -f ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/server.exe ] && ln -sf ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/server.exe  ${CONFIG_DIR}/${NEW_CONF}/EXP00/server.exe 
    235235fi 
    236236 
Note: See TracChangeset for help on using the changeset viewer.