201 | | |
| 201 | The compilation slightly differs from what has been done so far. Now we use a script '''compile_ipslcm6.sh''' with several options ( resolution, level of optimisation, full or partial recompilation ) to compile the model |
| 202 | |
| 203 | {{{ |
| 204 | ######################################################################## |
| 205 | # Usage of the script compile_ipslcm6.sh |
| 206 | # |
| 207 | ######################################################################## |
| 208 | |
| 209 | ./compile_ipslcm6.sh [Options] |
| 210 | |
| 211 | |
| 212 | Options: [LR / VLR / MR1 / MR025] Model resolution, choose only one. Default: LR. |
| 213 | [ESMCO2] Compile IPSLCM6 for CO2 interactif ocean/atmosphere. |
| 214 | [ESMAER] Compile IPSLCM6 for AER interactif on atmosphere |
| 215 | [-full] Full recompilation of all components. This option can be added to all other options. |
| 216 | [-cleannemo] Full recompilation of NEMO component only. |
| 217 | [-debug / -dev / -prod] Level of optimization. One of these can be added to all other compile options. Default: -prod. |
| 218 | |
| 219 | |
| 220 | Example 1: Default compilation of IPSLCM6 for resoltion LR |
| 221 | (Resolution atmos: 144x142x79, ocean: ORCA1) |
| 222 | ./compile_ipslcm6.sh |
| 223 | |
| 224 | Example 2: Compilation of IPSLCM6 for resolution MR025 |
| 225 | (atmos: 256x256x79, ocean: ORCA025, NOPISCES) |
| 226 | ./compile_ipslcm6.sh MR025 |
| 227 | |
| 228 | Example 3: Compilation of IPSLCM6 for ESM CO2 |
| 229 | ./compile_ipslcm6.sh ESMCO2 -cleannemo |
| 230 | |
| 231 | Example 4: Default resoltuion (LR) compiled in debug mode |
| 232 | ./compile_ipslcm6.sh -debug |
| 233 | |
| 234 | Example 5: Default compilation with full recompilation of all components. No clean is needed. |
| 235 | ./compile_ipslcm6.sh -full |
| 236 | |
| 237 | Example 6: Full recompilation of resolution MR05 in debug mode |
| 238 | ./compile_ipslcm6.sh MR025 -debug -full |
| 239 | |
| 240 | }}} |
| 241 | |