Changeset 8526 for trunk/NEMOGCM/CONFIG/makenemo
- Timestamp:
- 2017-09-15T15:53:50+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/CONFIG/makenemo
r8328 r8526 221 221 *) 222 222 echo " \"$1\" BAD OPTION" 223 exit 223 exit 2 224 224 ;; 225 225 … … 322 322 #- Clean links and librairies --- 323 323 #- Creating the good links, at first on OPA_SRC --- 324 . ${COMPIL_DIR}/Fmake_WORK.sh ${x_e} ${NEW_CONF} ${TAB[*]} || exit 325 326 . ${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 327 327 328 328 # build the complete list of the cpp keys of this configuration … … 362 362 #- At this stage cpp keys have been updated. we can check the arch file 363 363 #- When used for the first time, choose a compiler --- 364 . ${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 365 365 366 366 #- At this stage the configuration has beeen chosen … … 370 370 #- We look after agrif 371 371 grep key_agrif ${COMPIL_DIR}/cpp.fcm && export AGRIFUSE=1 && export USEBLD=${USEBLD/xag/} 372 . ${COMPIL_DIR}/Fprep_agrif.sh ${NEW_CONF} ${NEMO_TDIR} || exit 372 . ${COMPIL_DIR}/Fprep_agrif.sh ${NEW_CONF} ${NEMO_TDIR} || exit 3 373 373 374 374 #- … … 385 385 if [ ${#x_c} -eq 0 ]; then 386 386 if [ "$AGRIFUSE" == 1 ]; then 387 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 ;} 388 388 echo "" 389 389 echo "---------------------------------" … … 393 393 fi 394 394 fi 395 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 ;} 396 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 397 397
Note: See TracChangeset
for help on using the changeset viewer.