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 3390 for branches/2012/dev_r3387_LOCEAN6_AGRIF_LIM/NEMOGCM/CONFIG/makenemo – NEMO

Ignore:
Timestamp:
2012-05-14T17:24:00+02:00 (12 years ago)
Author:
rblod
Message:

NEMO branch dev_r3387_LOCEAN6_AGRIF_LIM : preliminary commit to allow faster compilation with AGRIF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_r3387_LOCEAN6_AGRIF_LIM/NEMOGCM/CONFIG/makenemo

    r3294 r3390  
    302302#if AGRIF we do a first preprocessing 
    303303    if [ ${#x_c} -eq 0 ]; then 
    304         [ "$AGRIFUSE" == 1 ] && fcm build --ignore-lock -s 2 ${COMPIL_DIR}/$USEBLD 
    305         [ "$AGRIFUSE" == 1 ] && rm -rf  ${NEMO_TDIR}/${NEW_CONF}/BLD/* 
     304       if [ "$AGRIFUSE" == 1 ]; then  
     305          fcm build --ignore-lock  -j 1 ${COMPIL_DIR}/bld_preproagr.cfg ||{ cd - ; exit ;} 
     306          echo "" 
     307          echo "---------------------------------" 
     308          echo "CONV preprocessing successfull !!" 
     309          echo "---------------------------------" 
     310          echo "" 
     311       fi 
    306312    fi 
    307313    fcm build ${x_c} --ignore-lock -v ${x_v} -j ${NBR_PRC} ${COMPIL_DIR}/$USEBLD || cd - 
     
    311317#add remove for clean option 
    312318    if  [ ${#x_c} -ne 0 ]; then 
     319        rm -rf ${NEMO_TDIR}/${NEW_CONF}/OPAFILES 
    313320        rm -rf ${NEMO_TDIR}/${NEW_CONF}/WORK 
    314321        rm -rf ${NEMO_TDIR}/${NEW_CONF}/BLD 
Note: See TracChangeset for help on using the changeset viewer.