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.
user/techene/TP_NEMO (diff) – NEMO

Changes between Version 6 and Version 7 of user/techene/TP_NEMO


Ignore:
Timestamp:
2021-01-21T18:30:26+01:00 (3 years ago)
Author:
techene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • user/techene/TP_NEMO

    v6 v7  
    55'''File tree ''' [[BR]] 
    66 
    7 Note that in the provided environment XIOS and softwares from INSTALL should be already compiled.  
     7Note that in the provided environment XIOS and softwares from INSTALL should be already compiled, arch file should have already been customized in order to be aware of the following tree.  
    88{{{ 
    99HOME 
     
    1515             |-- arch-linux_gfortran.fcm 
    1616             |-- ... 
     17        |-- src 
    1718        |-- tests 
    18              |-- CANAL 
     19             |-- CANAL (compiled) 
     20                   |-- MY_SRC 
     21                        |-- usrdef_sbc.F90 
     22                        |-- ... 
     23                   |-- EXPREF 
     24                   |-- EXP00 
     25                        |-- nemo (link) 
     26                        |-- namelist_cfg 
     27                        |-- ... 
     28                   |-- WORK 
     29                   |-- BLD 
    1930             |-- ... 
    2031        |-- cfgs 
    21              |-- ORCA2_ICE_PISCES 
     32             |-- ORCA2_ICE_PISCES (never compiled) 
    2233             |-- ... 
    23 }}} 
    24  
    25 '''arch-MY_ENV.fcm ''' [[BR]] 
    26  
    27 In arch-MY_ENV.fcm you must specify where is what, you must also specify compilers and compilers option :  
    28 {{{ 
    29 %NCDF_HOME           $HOME/INSTALL 
    30 %HDF5_HOME           $HOME/INSTALL 
    31 %XIOS_HOME           $HOME/XIOS 
    32 ... 
    33 %CPP                 cpp -Dkey_nosignedzero 
    34 %FC                  /usr/bin/mpif90 -c -cpp 
    35 %FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer -ffree-line-length-none 
    36 %FFLAGS              %FCFLAGS 
    37 %LD                  /usr/bin/mpif90 -Wl,-rpath=$HOME/INSTALL/lib:/usr/lib 
    38 ... 
    3934}}} 
    4035