Changes between Version 56 and Version 57 of DevelopmentActivities/Branches/ORCHIDEE-MICT-IMBALANCE-P/Compile


Ignore:
Timestamp:
2019-09-27T15:32:29+02:00 (5 years ago)
Author:
ajornet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentActivities/Branches/ORCHIDEE-MICT-IMBALANCE-P/Compile

    v56 v57  
    2222 * XIOS has no limitation 
    2323 
    24 == Set up == 
    25  
    26 This guide assumes modipsl/ligIGCM is already download with the ORCHIDEE_trunk configuration. The following steps describes what is required to change to compile Orchidee-MICT. 
    27  
    28 There is an implicit step which depends in your architecture (computer). You need to make sure you have chosen the proper libraries (module load ...) to compile Orchidee.  
    29  
    30 === Modules on Irene === 
     24= Modules = 
     25 
     26Required modules to load in your environment to make Orchidee and its dependencies -IOIPSL ad XIOS- properly compiler and run. 
     27 
     28== On Irene == 
    3129* module purge 
    3230* module load intel/17.0.4.196 
     
    4139* module load ncview 
    4240 
    43 === Modules on obelix === 
     41== On obelix == 
    4442 
    4543* module load intel-fcomp/2018 
     
    5250* python/* -> it crashes orchidee 
    5351 
    54 ==== known issues ==== 
     52=== known issues === 
    5553 
    5654Since the introduction of the new module openmpi/2.1.5 a new bug raised in one of the libraries listed below for Orchidee-MICT only. It prevents the writing of the stomate_Cforcing_permafrost.nc under certain cases (e.g: 2nodes + 4 cores each). So it affects the usage of forcesoil until further news: 
     
    6058* hdf5/1.8.9p 
    6159 
    62 === Modules on curie === 
     60== On curie == 
    6361* module load intel/16.0.3.210 
    6462* module load netcdf/4.3.3.1_hdf5_parallel 
    6563* module load hdf5/1.8.9_parallel 
    6664 
    67 === IOIPSL === 
     65= Guide = 
     66 
     67This guide assumes modipsl/ligIGCM is already download with the ORCHIDEE_trunk configuration: 
     68 
     69https://forge.ipsl.jussieu.fr/orchidee/wiki/Documentation/UserGuide/InstallingORCHIDEEBasic#ORCHIDEEtrunkversion 
     70 
     71The following steps describes what is required to change to compile Orchidee-MICT. 
     72 
     73== IOIPSL == 
    6874 
    6975This library takes care of multiple Input/Output tasks: 
     
    7480 
    7581 
    76 ==== After 8.4.0 (rev 4057) ==== 
    77  
    78 Starting at this version (also included), MICT is using a modification of IOIPSL. Restart subroutines to Read/Write allows more than 3 dimensions. It allows an increase of performance for the restart files. For such purpose, follow the instructions below in order to install it properly: 
     82=== After 8.4.0 (rev 4057) === 
     83 
     84Starting at this version (also included), MICT is using a modified IOIPSL. Restart subroutines to Read/Write allows more than 3 dimensions. It allows an increase of performance for the restart files. For such purpose, follow the instructions below in order to install it properly: 
    7985 
    80861- Go to the modeles folder. All source code is located here. 
     
    127133 
    128134 
    129 ==== Before 8.4.0 (rev 4057) ==== 
     135=== Before 8.4.0 (rev 4057) === 
    130136 
    131137Go to IOIPSL source code folder 
     
    178184Orchidee-MICT is using lots of variables. So it is necessary to tell IOIPSL  increase the maximum allowed. 
    179185 
    180 === ORCHIDEE-MICT === 
     186== ORCHIDEE-MICT == 
    181187 
    182188In order to compile Orchidee MICT: 
     
    197203}}} 
    198204 
    199 == Compilation == 
     205= Compilation = 
    200206 
    201207Once modipsl is properly set up for Orchidee-MICT, you can compile the model and its dependencies following the instructions below. For that purpose, you can choose two methods: 
     
    204210* Manual: the same as the script but by hand 
    205211 
    206 === Automatic === 
     212== Automatic == 
    207213 
    208214Go to configuration folder for Orchidee offline: 
     
    243249}}} 
    244250 
    245 === Manual === 
     251== Manual == 
    246252 
    247253Orchidee can also be manually compiled.  
    248254 
    249 ==== IOIPSL ==== 
     255=== IOIPSL === 
    250256 
    251257Go to IOIPSL folder 
     
    259265}}} 
    260266 
    261 ==== XIOS ==== 
     267=== XIOS === 
    262268 
    263269XIOS is a new Input/Output library aimed to replace IOIPSL at some point. Currently, it only replaces the write of history files. This means IOIPSL is still required and must be always compiled. 
     
    273279}}} 
    274280 
    275 ==== Orchidee-MICT ==== 
     281=== Orchidee-MICT === 
    276282 
    277283Move to Orchidee-MICT 
     
    295301In some cases it might be necessary to recompile from zero.  
    296302 
    297 == Debug == 
     303= Debug = 
    298304 
    299305If you need to debug use: 
     
    303309}}} 
    304310 
    305 == Notes == 
     311= Notes = 
    306312  * the use of gmake produces an error due to dependencies. For this reason, it is only required to compile orchidee libraries (ioipsl, ...). 
    307313  * This guide expects you have selected the proper module libraries in the HPC you are working with. 
    308314  * There is a new option for makeorchidee_fcm called otherexec. It creates forcesoil.exe 
    309315 
    310 === Supported machines === 
     316== Supported machines == 
    311317 
    312318Refer to the following keys depending on the machine: 
     
    322328}}} 
    323329 
    324 == Errors == 
     330= Errors = 
    325331 
    326332Please, report any error to albert.jornet-puig@lsce.ipsl.fr