Changes between Version 8 and Version 9 of Doc/Compile
- Timestamp:
- 09/24/15 15:56:24 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/Compile
v8 v9 14 14 15 15 ## FCM ## 16 Most of IPSL models and components use the '''fcm''' tool for compiling. Recent versions of the models have fcm in their source directory. Therefor no specific installation is needed anymore.16 Most of IPSL models and components use the '''fcm''' tool for compiling. Recent versions of the models have fcm in their source directory. Therefore no specific installation is needed anymore. 17 17 18 18 … … 44 44 These files have the name of the machine as a prefix : arch-X64_CURIE.fcm, arch-X64_CURIE.path 45 45 46 '''Note''' : for configurations IPSLCM5 and IPSLCM6, arch files for OASIS and NEMO are taken in `modipsl/config/IPSLCM6/SOURCE/OASIS` and `modipsl/config/IPSLCM6/SOURCE/NEMO` 47 46 48 # Creating the main makefile # 47 49 … … 49 51 50 52 51 Each model configuration has a main makefile which provides information about each model component's makefiles. The main Makefile is stored in the modipsl/config/XXXX directory. The main Makefile is created when a model configuration is downloaded and installed. [[BR]]53 Each model configuration XXX'' has a main makefile which provides information about each model component's makefiles. The main Makefile is stored in the modipsl/config/XXXX directory. The main Makefile is created when a model configuration is downloaded and installed. [[BR]] 52 54 53 55 … … 181 183 # How to change compile options for debugging or optimization of the modele? # 182 184 * 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 * 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]] 185 * 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'''. XIOS offers the same three levels of compilations, accessible thorugh the flags `--debug`, `--dev` and `prod`. 186 187 [[BR]] 184 188 Example: to compile LMDZ you can add the keyword "-debug" : 185 189 {{{ … … 199 203 gmake 200 204 }}} 201