Changes between Version 2 and Version 3 of DevelopmentActivities/Branches/ORCHIDEE-MICT-IMBALANCE-P/Compile


Ignore:
Timestamp:
2016-03-10T14:21:38+01:00 (8 years ago)
Author:
ajornet
Comment:

--

Legend:

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

    v2 v3  
    11= How to compile MICT = 
     2 
     3Be aware there other ways to compile Orchidee. All of them are valid. But the use of makeorchidee_fcm should make things easier. It enables the compilation with multiple cores at the same time. No need to modify any file to change the compilation mode (prod/dev/debug). 
     4 
     5== Compilation == 
    26 
    37In order to compile orchidee, go to the model source code: 
     
    3842Replace -arch MACHINE with the machine you are working with. Find more information in makeorchidee_fcm -h command. 
    3943 
     44After that, when you do a modification you can simply run the command line below. So you avoid the whole recompilation from the code: 
    4045 
    41 Note:  
     46{{{ 
     47./makeorchidee_fcm  -parallel mpi -arch SUPPORTED_MACHINE -driver -prod -j 8 
     48}}} 
     49 
     50In some cases it might be necessary to recompile from zero.  
     51 
     52== Debug == 
     53 
     54If you need to debug use: 
     55 
     56{{{ 
     57./makeorchidee_fcm  -parallel mpi -arch SUPPORTED_MACHINE -driver -debug -full -j 8 
     58}}} 
     59 
     60== Notes == 
    4261  * the use of gmake produces an error due to dependencies. For this reason, it is only required to compile orchidee libraries (ioipsl, ...). 
    4362  * This guide expects you have selected the proper module libraries in the HPC you are working with.