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 2385 – NEMO

Changeset 2385


Ignore:
Timestamp:
2010-11-15T04:45:08+01:00 (13 years ago)
Author:
rblod
Message:

Add parallel compilation with agrif on the beta

File:
1 edited

Legend:

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

    r2384 r2385  
    290290    if [ ${#x_c} -eq 0 ]; then 
    291291       if [ "$AGRIFUSE" == 1 ]; then 
    292      fcm build --ignore-lock -s 2 ${COMPIL_DIR}/bld_agrif1.cfg 
    293      fcm build --ignore-lock -s 2 ${COMPIL_DIR}/bld_agrif2.cfg 
     292     fcm build --ignore-lock -s 2 -j ${NBR_PRC} ${COMPIL_DIR}/bld_agrif1.cfg 
     293     fcm build --ignore-lock -s 2 -j ${NBR_PRC} ${COMPIL_DIR}/bld_agrif2.cfg 
    294294          touch ${NEMO_TDIR}/${NEW_CONF}/BLD/OPAFILES/BLD1/ppsrc/nemo/* 
    295      fcm build --ignore-lock -s 2 ${COMPIL_DIR}/bld_agrif2.cfg 
    296      fcm build --ignore-lock -s 2 ${COMPIL_DIR}/bld_agrif3.cfg 
     295     fcm build --ignore-lock -s 2 -j ${NBR_PRC} ${COMPIL_DIR}/bld_agrif2.cfg 
     296     fcm build --ignore-lock -s 2 -j ${NBR_PRC} ${COMPIL_DIR}/bld_agrif3.cfg 
    297297       fi 
    298298       fcm build ${x_c} --ignore-lock -v 1 -j ${NBR_PRC} ${COMPIL_DIR}/$USEBLD || cd - 
Note: See TracChangeset for help on using the changeset viewer.