Changeset 2437 for branches/nemo_v3_3_beta
- Timestamp:
- 2010-11-26T13:10:15+01:00 (14 years ago)
- Location:
- branches/nemo_v3_3_beta/NEMOGCM
- Files:
-
- 1 added
- 8 deleted
- 4 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 - -
branches/nemo_v3_3_beta/NEMOGCM/TOOLS/COMPILE/Fprep_agrif.sh
r2384 r2437 63 63 64 64 #- AGRIF sources 65 [ ! -d $2/$1/BLD/OPAFILES ] && mkdir $2/$1/BLD/OPAFILES 66 [ ! -d $2/$1/BLD/OPAFILES/AGRIF_MODELFILES ] && mkdir $2/$1/BLD/OPAFILES/AGRIF_MODELFILES 67 cp -f -r ${MAIN_DIR}/EXTERNAL/AGRIF/agrif_opa.in $2/$1/BLD/OPAFILES/ 68 cp -f -r ${MAIN_DIR}/EXTERNAL/AGRIF/conv $2/$1/BLD/OPAFILES/ 65 [ ! -d $2/$1/OPAFILES ] && mkdir $2/$1/OPAFILES 66 [ ! -d $2/$1/OPAFILES/AGRIF_INC ] && mkdir $2/$1/OPAFILES/AGRIF_INC 67 [ ! -d $2/$1/OPAFILES/AGRIF_MODELFILES ] && mkdir $2/$1/OPAFILES/AGRIF_MODELFILES 68 cp -f -r ${MAIN_DIR}/EXTERNAL/AGRIF/agrif_opa.in $2/$1/OPAFILES/ 69 cp -f -r ${MAIN_DIR}/EXTERNAL/AGRIF/conv $2/$1/OPAFILES/ 69 70 70 71 fi -
branches/nemo_v3_3_beta/NEMOGCM/TOOLS/COMPILE/bld.cfg
r2384 r2437 54 54 bld::pp::nemo 1 55 55 bld::pp::agrif 1 56 bld::tool::fpp cpp57 bld::tool::fppflags::nemo %FPPFLAGS58 bld::tool::fppflags::xmlio %FPPFLAGS59 bld::tool::fppflags::ioserver %FPPFLAGS60 bld::tool::fppflags::ioipsl %FPPFLAGS61 bld::tool::fppflags::agrif %FPPFLAGS56 bld::tool::fpp $COMPIL_DIR/agrifpp.sh 57 bld::tool::fppflags::nemo ${AGRIFUSE} %FPPFLAGS 58 bld::tool::fppflags::xmlio 0 %FPPFLAGS 59 bld::tool::fppflags::ioserver 0 %FPPFLAGS 60 bld::tool::fppflags::ioipsl 0 %FPPFLAGS 61 bld::tool::fppflags::agrif 0 %FPPFLAGS 62 62 63 63 # Ignore the following dependencies -
branches/nemo_v3_3_beta/NEMOGCM/TOOLS/COMPILE/bldxio.cfg
r2384 r2437 37 37 bld::pp::nemo 1 38 38 bld::pp::agrif 1 39 bld::tool::fpp cpp40 bld::tool::fppflags::nemo %FPPFLAGS41 bld::tool::fppflags::ioipsl %FPPFLAGS42 bld::tool::fppflags::agrif %FPPFLAGS39 bld::tool::fpp $COMPIL_DIR/agrifpp.sh 40 bld::tool::fppflags::nemo ${AGRIFUSE} %FPPFLAGS 41 bld::tool::fppflags::ioipsl 0 %FPPFLAGS 42 bld::tool::fppflags::agrif 0 %FPPFLAGS 43 43 44 44 # Ignore the following dependencies
Note: See TracChangeset
for help on using the changeset viewer.