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

Changeset 2016


Ignore:
Timestamp:
2010-07-20T18:37:45+02:00 (14 years ago)
Author:
rblod
Message:

Come back to an old fashion makefile to compile the conv without FCM on FCM branch

Location:
branches/DEV_r1879_FCM/NEMOGCM/TOOLS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1879_FCM/NEMOGCM/TOOLS/Fprep_agrif.sh

    r1972 r2016  
    6060 
    6161#- CONV 
    62 [ ! -d $2/$1/AGRIFLIB ] && mkdir -p $2/$1/AGRIFLIB 
    63 fcm build ${TOOLS_DIR}/conv.cfg || exit 1 
     62#fcm build ${TOOLS_DIR}/conv.cfg || exit 1 
     63gmake -C ${MAIN_DIR}/EXTERNAL/AGRIF/LIB 
    6464 
    6565#- AGRIF sources 
     
    6868[ ! -d $2/$1/OPAFILES/AGRIF_MODELFILES ] && mkdir  $2/$1/OPAFILES/AGRIF_MODELFILES 
    6969cp -f -r ${MAIN_DIR}/EXTERNAL/AGRIF/agrif_opa.in  $2/$1/OPAFILES/ 
     70cp -f -r ${MAIN_DIR}/EXTERNAL/AGRIF/conv  $2/$1/OPAFILES/ 
    7071 
    7172fi 
  • branches/DEV_r1879_FCM/NEMOGCM/TOOLS/agrifpp.sh

    r2010 r2016  
    6767   if [ "${MYFILE}" != "par_oce.F90" -a  ! -f ${NEMO_TDIR}/${NEW_CONF}}/OPAFILES/param_done ]; then 
    6868      cpp ${FPP_OPT} ${CONFIG_DIR}/${NEW_CONF}/WORK/par_oce.F90 > ${NEMO_TDIR}/${NEW_CONF}/OPAFILES/par_oce.F90 
    69       (cd ${NEMO_TDIR}/${NEW_CONF}/OPAFILES ; ${NEMO_TDIR}/${NEW_CONF}/AGRIFLIB/bin/conv agrif_opa.in -rm -comdirin ./ -comdirout AGRIF_MODELFILES/ -convfile par_oce.F90 > /dev/null ) 
     69      (cd ${NEMO_TDIR}/${NEW_CONF}/OPAFILES ; ${NEMO_TDIR}/${NEW_CONF}/OPAFILES/conv agrif_opa.in -rm -comdirin ./ -comdirout AGRIF_MODELFILES/ -convfile par_oce.F90 > /dev/null ) 
    7070      cpp ${FPP_OPT}  -I${NEMO_TDIR}/${NEW_CONF}/OPAFILES/AGRIF_INC  ${NEMO_TDIR}/${NEW_CONF}/OPAFILES/AGRIF_MODELFILES/par_oce.F90 > ${NEMO_TDIR}/${NEW_CONF}/OPAFILES/par_oce.F90 
    7171      touch ${NEMO_TDIR}/${NEW_CONF}/OPAFILES/param_done 
     
    8282 
    8383   cpp  -I${NEMO_TDIR}/${NEW_CONF}/OPAFILES/AGRIF_INC $@ > ${NEMO_TDIR}/${NEW_CONF}/OPAFILES/${MYFILE} 
    84    ( cd ${NEMO_TDIR}/${NEW_CONF}/OPAFILES ; ${NEMO_TDIR}/${NEW_CONF}/AGRIFLIB/bin/conv agrif_opa.in -rm -comdirin ./ -comdirout AGRIF_MODELFILES/ -convfile ${MYFILE} > /dev/null ) 
     84   ( cd ${NEMO_TDIR}/${NEW_CONF}/OPAFILES ; ${NEMO_TDIR}/${NEW_CONF}/OPAFILES/conv agrif_opa.in -rm -comdirin ./ -comdirout AGRIF_MODELFILES/ -convfile ${MYFILE} > /dev/null ) 
    8585   cd  ${NEMO_TDIR}/${NEW_CONF} 
    8686   mv -f OPAFILES/AGRIF_MODELFILES/${MYFILE} OPAFILES/${MYFILE} 
  • branches/DEV_r1879_FCM/NEMOGCM/TOOLS/conv.cfg

    r2010 r2016  
    11# ----------------------- FCM extract configuration file ----------------------- 
     2# template to compile agrif conv, currently not used 
    23cfg::type                           bld 
    34cfg::version                        1.0 
Note: See TracChangeset for help on using the changeset viewer.