Changes between Version 5 and Version 6 of Doc/Compile


Ignore:
Timestamp:
10/24/14 11:48:38 (10 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/Compile

    v5 v6  
    179179 
    180180 
    181 # How to optimize the compilation # 
    182  * You can change your optimization options for the ORCHIDEE and IOIPSL models in the AA_make.gdef file. To this end you must find your target machine and change the associated lines. You will have to recreate the Makefile.  
     181# How to change compile options for debugging or optimization of the modele? # 
     182 * You can change your optimization options for IOIPSL models in the AA_make.gdef file. To this end you must find your target machine and change the associated lines. You will have to recreate the Makefile.  
    183183 * Three levels of optimization for the INCA and LMDZ models are predefined in the arch/ files.You can select them in the modipsl/config/.../Makefile file. The three options are: '''-debug''', '''-dev''', '''-prod'''. [[BR]] 
    184184Example: to compile LMDZ you can add the keyword "-debug" :  
     
    187187}}} 
    188188[[NoteBox(note, The default option is `-prod`, 600px)]] 
    189  
    190  
    191  
     189 * For ORCHIDEE in all _v5 configurations, the compile options are also set in AA_make.gdef file, change as for IOIPSL. For LMDZOR_v5.2 configuration which is using the trunk of ORCHIDEE, the compile options are set in models/ORCHIDEE/arch. Switch between -prod, -dev or -debug as for LMDZ in the main makefile.  
     190 
     191 
     192# How to compile for hybrid MPI-OpenMP run mode? # 
     193This is possible only for configuration LMDZOR_v5.2 at curie or ada. In that case you must change the main makefile and recompile: 
     194{{{ 
     195cd modipsl/config/LMDZOR_v5.2 
     196# Change in AA_make all 3 occurrences for "-parallel mpi" into "-parallel mpi_omp"  
     197../../util/ins_make 
     198gmake clean 
     199gmake 
     200}}} 
     201