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 2 and Version 3 of user/techene/TP_NEMO


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

--

Legend:

Unmodified
Added
Removed
Modified
  • user/techene/TP_NEMO

    v2 v3  
    7070- Replace -n MY_CONFIG by names you find in NEMO/tests prefixed with -a or NEMO/cfgs prefixed with -r. 
    7171- Replace MY_ENV by linux_gfortran or by any name you chose when you created your arch file. 
    72 {{{ 
     72{{{#!sh 
    7373# Let's go ! 
    7474cd NEMO 
    7575# generic example : ./makenemo -n MY_CONFIG -j 6 -m MY_ENV  
    7676./makenemo -h 
    77 # compile ORCA2 configuration in the preset environment 
     77# compile ORCA2 configuration in the pre-set environment 
    7878./makenemo -r ORCA2_ICE_PISCES -j 6 -m linux_gfortran 
    79 # compile CANAL configuration in the preset environment 
     79# compile CANAL configuration in the pre-set environment 
    8080./makenemo -a CANAL -j 6 -m linux_gfortran 
    8181}}} 
     82 
     83Resulting executable is created in a repository associated with the MY_CONFIG configuration. In the generic example case it is ./*/MY_CONFIG/EXP00/. * stands either for tests or cfgs depending on where your configuration was originally located.  
     84 
     85== Run NEMO's ORCA2 configuration == 
     86 
     87# Let's go ! 
     88cd ./cfgs/ORCA2_ICE_PISCES/EXP00 
     89# Check executable presence 
     90ls -lrt 
     91# Run NEMO on 4 nodes (default) 
     92mpirun ./nemo -np 4 
     93# Run NEMO with customize parameters 
     94vi namelist_cfg 
     95mpirun ./nemo -np 4 
     96}}}