Changeset 2437 for branches/nemo_v3_3_beta/NEMOGCM/CONFIG/makenemo
- Timestamp:
- 2010-11-26T13:10:15+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nemo_v3_3_beta/NEMOGCM/CONFIG/makenemo
r2409 r2437 270 270 271 271 #- and test whether we need to build the ioserver 272 if [ "$AGRIFUSE" == 1 ]; then273 export USEBLD=bld_afterconvxio.cfg274 grep key_iomput ${COMPIL_DIR}/cpp.fcm && export USEBLD=bld_afterconv.cfg275 else276 272 export USEBLD=bldxio.cfg 277 273 grep key_iomput ${COMPIL_DIR}/cpp.fcm && export USEBLD=bld.cfg 278 fi279 274 280 275 #- … … 287 282 if [ "${NBR_PRC}" -gt 0 ]; then 288 283 cd ${NEMO_TDIR}/${NEW_CONF} || cd - 284 285 #if AGRIF we do a first preprocessing 289 286 if [ ${#x_c} -eq 0 ]; then 290 if [ "$AGRIFUSE" == 1 ]; then 291 fcm build --ignore-lock -s 2 -j ${NBR_PRC} ${COMPIL_DIR}/bld_agrif1.cfg 292 fcm build --ignore-lock -s 2 -j ${NBR_PRC} ${COMPIL_DIR}/bld_agrif2.cfg 293 touch ${NEMO_TDIR}/${NEW_CONF}/BLD/OPAFILES/BLD1/ppsrc/nemo/* 294 fcm build --ignore-lock -s 2 -j ${NBR_PRC} ${COMPIL_DIR}/bld_agrif2.cfg 295 fcm build --ignore-lock -s 2 -j ${NBR_PRC} ${COMPIL_DIR}/bld_agrif3.cfg 296 fi 297 fcm build ${x_c} --ignore-lock -v 1 -j ${NBR_PRC} ${COMPIL_DIR}/$USEBLD || cd - 298 [ -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 299 [ -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 300 else 301 rm -rf ${NEMO_TDIR}/${NEW_CONF}/WORK 302 rm -rf ${NEMO_TDIR}/${NEW_CONF}/BLD 303 rm -rf ${NEMO_TDIR}/${NEW_CONF}/EXP00/opa 304 rm -rf ${NEMO_TDIR}/${NEW_CONF}/EXP00/server.exe 305 echo "cleaning ${NEW_CONF} WORK, BLD" 287 [ "$AGRIFUSE" == 1 ] && fcm build --ignore-lock -s 2 ${COMPIL_DIR}/$USEBLD 288 [ "$AGRIFUSE" == 1 ] && rm -rf ${NEMO_TDIR}/${NEW_CONF}/BLD/* 306 289 fi 307 fi 308 309 #- 290 fcm build ${x_c} --ignore-lock -v 1 -j ${NBR_PRC} ${COMPIL_DIR}/$USEBLD || cd - 291 [ -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 292 [ -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 293 294 #add remove for clean option 295 if [ ${#x_c} -ne 0 ]; then 296 rm -rf ${NEMO_TDIR}/${NEW_CONF}/WORK 297 rm -rf ${NEMO_TDIR}/${NEW_CONF}/BLD 298 rm -rf ${NEMO_TDIR}/${NEW_CONF}/EXP00/opa 299 rm -rf ${NEMO_TDIR}/${NEW_CONF}/EXP00/server.exe 300 echo "cleaning ${NEW_CONF} WORK, BLD" 301 fi 302 303 fi 304 310 305 #- Come back to original directory --- 311 306 cd -
Note: See TracChangeset
for help on using the changeset viewer.