Changeset 6947
- Timestamp:
- 2016-09-23T13:45:31+02:00 (8 years ago)
- 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 173 173 fi 174 174 have_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 180 185 181 186 #- do we need oasis libraries? -
branches/2016/dev_r6409_SIMPLIF_2_usrdef_tools/NEMOGCM/TOOLS/COMPILE/bld_tools.cfg
r4865 r6947 29 29 bld::excl_dep inc::netcdf.inc 30 30 bld::excl_dep use::netcdf 31 bld::excl_dep use::xios 31 32 bld::excl_dep h::netcdf.inc 32 33 bld::excl_dep h::mpif.h … … 44 45 45 46 # 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 1 DOMAINcfg compiled will create "make_domain_cfg.exe" executable script 2 (the main routine of this tool is make_domain_cfg.f90) 3 4 DOMAINcfg 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 12 VERY 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 30 The DOMAINcfg tool can be compiled using the maketools script in the NEMOGCM/TOOLS directory as follows: 31 ./maketools -m $ARCH -n DOMAINcfg 32 where $ARCH indicates the arch file to be used from the directory NEMOGCM/ARCH. 33
Note: See TracChangeset
for help on using the changeset viewer.