Changes between Version 5 and Version 6 of Doc/Compile
- Timestamp:
- 10/24/14 11:48:38 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/Compile
v5 v6 179 179 180 180 181 # How to optimize the compilation#182 * You can change your optimization options for the ORCHIDEE andIOIPSL 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. 183 183 * 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]] 184 184 Example: to compile LMDZ you can add the keyword "-debug" : … … 187 187 }}} 188 188 [[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? # 193 This is possible only for configuration LMDZOR_v5.2 at curie or ada. In that case you must change the main makefile and recompile: 194 {{{ 195 cd modipsl/config/LMDZOR_v5.2 196 # Change in AA_make all 3 occurrences for "-parallel mpi" into "-parallel mpi_omp" 197 ../../util/ins_make 198 gmake clean 199 gmake 200 }}} 201