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

Changeset 6947


Ignore:
Timestamp:
2016-09-23T13:45:31+02:00 (8 years ago)
Author:
flavoni
Message:

update DOMAINcfg TOOL: create deomain_cfg.nc files to be used in new version of NEMO, SIMPLIF-2 branch

Location:
branches/2016/dev_r6409_SIMPLIF_2_usrdef_tools/NEMOGCM/TOOLS
Files:
51 added
34 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef_tools/NEMOGCM/TOOLS/COMPILE/Fcheck_archfile.sh

    r4162 r6947  
    173173fi 
    174174have_lxios=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$1 | grep -c "\-lxios" ) 
    175 if [[ ( $use_iom -eq 0 ) && ( $have_lxios -ge 1 ) ]] 
    176 then  
    177     sed -e "s/-lxios//g" ${COMPIL_DIR}/$1 > ${COMPIL_DIR}/tmp$$ 
    178     mv -f ${COMPIL_DIR}/tmp$$ ${COMPIL_DIR}/$1 
    179 fi 
     175# SF: for TOOLS/DOMAINcfg is needed -lxios in TOOLS/COMPILE/arch_nemo.fcm file 
     176#     but in TOOLS cpp keys do not exist. 
     177#     comment these lines does not affect NEMO or TOOLS compilation 
     178#     just in arch file will remain "-lxios" that does not create problem at compilation moment 
     179# SF 
     180# if [[ ( $use_iom -eq 0 ) && ( $have_lxios -ge 1 ) ]] 
     181# then  
     182#     sed -e "s/-lxios//g" ${COMPIL_DIR}/$1 > ${COMPIL_DIR}/tmp$$ 
     183#     mv -f ${COMPIL_DIR}/tmp$$ ${COMPIL_DIR}/$1 
     184# fi 
    180185 
    181186#- do we need oasis libraries? 
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef_tools/NEMOGCM/TOOLS/COMPILE/bld_tools.cfg

    r4865 r6947  
    2929bld::excl_dep        inc::netcdf.inc 
    3030bld::excl_dep        use::netcdf 
     31bld::excl_dep        use::xios 
    3132bld::excl_dep        h::netcdf.inc 
    3233bld::excl_dep        h::mpif.h 
     
    4445 
    4546# rename executable to nemo.exe 
    46 bld::exe_name::model  nemo.exe 
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef_tools/NEMOGCM/TOOLS/COMPILE/tools.txt

    r6881 r6947  
    1 DOMAINcfg  
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef_tools/NEMOGCM/TOOLS/DOMAINcfg/README

    r6881 r6947  
    1 I suppress all if key_mpp_mpi 
    2 so it has to be compiled like mpp_mpi, even if 1 proc used  
     1DOMAINcfg compiled will create "make_domain_cfg.exe" executable script 
     2(the main routine of this tool is make_domain_cfg.f90) 
     3 
     4DOMAINcfg tool creates a netcdf file "domain_cfg.nc" containing all the ocean domain informations required to define an ocean configuration : 
     5           
     6    domain size 
     7    domain characteristics (periodic) 
     8    horizontal mesh 
     9    Coriolis parameter 
     10    depth and vertical scale factors 
     11 
     12VERY IMPORTANT:: 
     13 1. pre-required: this tool needs xios1  
     14 
     15  ( download http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/branchs/xios-1.0  
     16   DOMAINcfg tool is working with revision 703 of xios)  
     17 
     18 2. namelist_ref and namelist_cfg needed (here committed namelists of ORCA2_LIM) 
     19 
     20 3. some inputs files of related configurations are needed (here committed files of ORCA2_LIM) : 
     21 
     22    coordinates.nc 
     23    bathy_meter.nc 
     24    bathy_level.nc 
     25    domain_def.xml  
     26    field_def.xml 
     27    iodef.xml 
     28 
     29 
     30The DOMAINcfg tool can be compiled using the maketools script in the NEMOGCM/TOOLS directory as follows: 
     31./maketools -m $ARCH -n DOMAINcfg 
     32where $ARCH indicates the arch file to be used from the directory NEMOGCM/ARCH.  
     33 
Note: See TracChangeset for help on using the changeset viewer.