25 | | ## Compiling ## |
26 | | To be done |
| 25 | ## Compiling ## |
| 26 | Compilation of LMDZOR_v6.2 configuration is done using the script compile_lmdzor.sh. Options to use this script are : |
| 27 | |
| 28 | * -resol_atm : default is 144x142x79 |
| 29 | * -full : recompile the full configuration |
| 30 | * -debug, -dev, -prod : compilation mode for the whole configuration, default is -prod |
| 31 | |
| 32 | Several compile options can be used together except -debug, -dev, -prod where only one at a time can be set. |
| 33 | |
| 34 | {{{ |
| 35 | |
| 36 | Example 1: Default compilation of LMDZ-ORCHIDEE with XIOS and IOIPSL |
| 37 | ./compile_lmdzor.sh |
| 38 | |
| 39 | Example 2: Compile in debug mode |
| 40 | ./compile_lmdzor.sh -debug |
| 41 | |
| 42 | Example 3: Default compilation with full recompilation of all components |
| 43 | ./compile_lmdzor.sh -full |
| 44 | |
| 45 | Example 4: Compilation of LMDZ in regular lat-lon for other dimensions (default: 144x142x79) |
| 46 | The dimension can be changed to any other 3d dimension. |
| 47 | ./compile_lmdzor.sh -resol_atm 96x95x79 |
| 48 | }}} |
| 49 | |
| 50 | |
| 51 | [[NoteBox(warn, If you compile in debug or in dev mode you need to modify the parameter !OptMode in config.card. If you change the resolution at the compilation you need to modify the parameter !ResolAtm in config.card, 600px)]] |
| 52 | |
| 53 | [[NoteBox(note,Even if the script allow you to compile any atmospheric resolution\, the fully maintained one is 144x142x79 ,600px)]] |