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.
Users/ModelInstall (diff) – NEMO

Changes between Version 6 and Version 7 of Users/ModelInstall


Ignore:
Timestamp:
2017-04-12T18:55:19+02:00 (7 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Users/ModelInstall

    v6 v7  
    1010== 2. Extract and install XIOS 
    1111 
     12{{{#!div class="important" 
     13(Nicolas) '''Will not be online after the switch!!!''' 
     14 
    1215[http://www.nemo-ocean.eu/Using-NEMO/User-Guides/Basics/XIOS-IO-server-installation-and-use Document here] (and come back to this page afterwards to create NEMO executable!) 
     16}}} 
    1317 
    1418== 3. Compile and create NEMO executable 
     
    2226=== More options 
    2327 
    24 * `–n` CONFIG : for configuration name, existant or new config to install 
    25 * `–m` COMPILER : compiler choice (use files names in `NEMOGCM/ARCH`, see examples below) 
     28* `–n` [CONFIG]: for configuration name, existant or new config to install 
     29* `–m` [COMPILER]: compiler choice (use files names in `NEMOGCM/ARCH`, see examples below) 
    2630* `–h`: help 
    27 * `–r` REFCONFIG : reference configuration as first guess when installing a new one 
    28 * `–j`: number of processes to compile (`-j 0`:no compilation) 
    29 * `–d`: NEMO subdirectory (not needed) 
    30 * `–t` DIR : temporary directory to store libraries 
     31* `–r` [REFCONFIG]: reference configuration as first guess when installing a new one 
     32* `–j`[num]: number of processes to compile (`-j 0`:no compilation) 
     33* `–d` [DIR]: NEMO subdirectory (not needed) 
     34* `–t` [DIR]: temporary directory to store libraries 
    3135* `-clean` [CONFIG_NAME] : remove the Makefile and all the files created afterwards 
    3236 
     
    3741 
    3842* `functions.sh` : bash functions used by `makenemo`, for instance to create the `WORK` directory 
    39 * `cfg.txt` : text list of configurations and source directories[[BR]] 
     43* `cfg.txt` : text list of configurations and source directories 
    4044* `bld.cfg` : FCM rules to compile 
    4145 
     
    4347 
    4448* `ARCH` : compilation option files, with format `arch_compiler.fcm`, the compiler name has to be provided with `–m` option 
    45 * `GYRE`, `ORCA2_LIM` or others : there is now a `cpp.fcm` file containing the list of cpp key, the `WORK` is specific to each configuration 
     49* `GYRE`, `ORCA2_LIM` or others : there is now a `cpp.fcm` file containing the list of CPP keys, the `WORK` is specific to each configuration 
    4650 
    4751== Examples 
    4852 
    49 Compiling GYRE, with ifort on linux to create a MY_GYRE configuration[[BR]] 
     53Compiling `GYRE`, with ifort on linux to create a `MY_GYRE` configuration 
    5054{{{#!sh 
    5155makenemo –m ifort_linux –r GYRE -n MY_GYRE 
     
    5761}}} 
    5862 
    59 Now, create and compile ORCA_LIM3[[BR]] 
     63Now, create and compile `ORCA_LIM3` 
    6064{{{#!sh 
    6165makenemo –n ORCA_LIM3 (and answer) 
    6266}}} 
    6367 
    64 Now ORCA_LIM3_v2 based on the previous one[[BR]] 
     68Now ORCA_LIM3_v2 based on the previous one 
    6569{{{#!sh 
    6670makenemo –n ORCA_LIM3_v2 -r ORCA_LIM3 
    6771}}} 
    6872 
    69 Now, create and compile ORCA2_LIM_2_2, add ('''add_key''') and delete ('''del_key''') keys, based on ORCA2_LIM (just un example) 
     73Now, create and compile ORCA2_LIM_2_2, add (`add_key`) and delete (`del_key`) keys, based on `ORCA2_LIM` (just un example) 
    7074{{{#!sh 
    7175makenemo –n ORCA2_LIM_2_2 -r ORCA2_LIM del_key "key_iomput" (and answer)