Changes between Version 25 and Version 26 of Doc/Compile


Ignore:
Timestamp:
10/11/19 11:03:22 (4 years ago)
Author:
cetlod
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/Compile

    v25 v26  
    199199# Compilation for configurations _v6.2 and newer configurations # 
    200200 
    201  
     201The compilation slightly differs from what has been done so far. Now we use a script  '''compile_ipslcm6.sh''' with several options ( resolution, level of optimisation, full or partial recompilation ) to compile the model 
     202 
     203{{{ 
     204######################################################################## 
     205# Usage of the script compile_ipslcm6.sh 
     206# 
     207######################################################################## 
     208 
     209./compile_ipslcm6.sh [Options]  
     210 
     211 
     212Options: [LR / VLR / MR1 / MR025] Model resolution, choose only one. Default: LR. 
     213         [ESMCO2] Compile IPSLCM6 for CO2 interactif ocean/atmosphere. 
     214         [ESMAER] Compile IPSLCM6 for AER interactif on atmosphere 
     215         [-full] Full recompilation of all components. This option can be added to all other options. 
     216         [-cleannemo] Full recompilation of NEMO component  only. 
     217         [-debug / -dev / -prod] Level of optimization. One of these can be added to all other compile options. Default: -prod. 
     218 
     219 
     220Example 1: Default compilation of IPSLCM6 for resoltion LR  
     221          (Resolution atmos: 144x142x79, ocean: ORCA1) 
     222./compile_ipslcm6.sh 
     223 
     224Example 2: Compilation of IPSLCM6 for resolution MR025 
     225           (atmos: 256x256x79, ocean: ORCA025, NOPISCES) 
     226./compile_ipslcm6.sh MR025 
     227 
     228Example 3: Compilation of IPSLCM6 for ESM CO2 
     229./compile_ipslcm6.sh ESMCO2 -cleannemo 
     230 
     231Example 4: Default resoltuion (LR) compiled in debug mode 
     232./compile_ipslcm6.sh -debug 
     233 
     234Example 5: Default compilation with full recompilation of all components. No clean is needed. 
     235./compile_ipslcm6.sh -full 
     236 
     237Example 6: Full recompilation of resolution MR05 in debug mode 
     238./compile_ipslcm6.sh MR025 -debug -full 
     239 
     240}}} 
     241