Changes between Version 15 and Version 16 of Doc/Compile
- Timestamp:
- 03/08/18 16:43:45 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/Compile
v15 v16 158 158 # How to compile? # 159 159 160 161 [[NoteBox(warn, If you are working with configuration IPSLCM6.0.14-LR or IPSLCM6.0.15-LR you need to modify your environment, 600px)]] 160 ## Special case at curie for configuration IPSLCM6.0.14-LR or IPSLCM6.0.15-LR ## 161 [[NoteBox(warn, If you are working with configuration IPSLCM6.0.14-LR or IPSLCM6.0.15-LR at curie you need to modify your environment, 600px)]] 162 At curie, if you work with configuration IPSLCM6.0.14-LR or IPSLCM6.0.15-LR you need to change environment before the compilation. Do following in the terminal were you will compile: 162 163 {{{ 163 164 module purge … … 165 166 . /ccc/cont003/home/dsm/p86ipsl/.env_netcdf4.3.3.1_curie 166 167 }}} 167 168 [[NoteBox(warn, End of warning for configuration IPSLCM6.0.14-LR and IPSLCM6.0.15-LR, 600px)]] 169 170 168 This is done to change the version of the compiler to a newer one. It can be used for other configurations at curie as well but it is only mandatory for the here specified configurations. During run time, libIGCM will find out with which compiler version has been used and libIGCM will source the corresponding modules. 169 170 171 ## For all configurations ## 171 172 Once you chose a resolution you can start compiling: 172 173 {{{ 173 174 #!sh 175 gmake 176 or 174 177 gmake my_resolution 175 178 }}} … … 192 195 [[NoteBox(note,Once the file '''.resol''' is created\, you can recompile your configuration using the gmake script without specifying the resolution., 600px)]] 193 196 194 197 For ORCHIDEE_OL, the resolution is not specified during run time. Compiler using only '''gmake'''. The file .resol will not be created. 195 198 # How to change compile options for debugging or optimization of the model? # 196 199 * 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.