| 18 | # Compile methods in ORCHIDEE # |
| 19 | 2 compile methods are used in ORCHIDEE depending on the version. |
| 20 | |
| 21 | |
| 22 | '''Standard makefiles created based on AA_make and AA_make.gdef''' |
| 23 | * This is the only method available in CMIP5 version of ORCHIDEE. All _v5 configurations with ORCHIDEE compile in this way. |
| 24 | * All platform dependent compile options are set in modipsl/util/AA_make.gdef |
| 25 | * => Change compile options in AA_make.gdef, recreate makefiles with ./ins_make, clean previous compilation and recompile |
| 26 | |
| 27 | '''Compiling with makeorchidee_fcm''' |
| 28 | * This method is available in the trunk ORCHIDEE, since revision 2149. The LMDZOR_v5.2 configuration compiles with makeorchidee_fcm |
| 29 | * All platform dependent compile options are set in modeles/ORCHIDEE/arch/ |
| 30 | * Changing compile options or adding a new machine is done in modeles/ORCHIDEE/arch |
| 31 | * 3 different levels of optimization is available and can be changed using an argument to makeorchidee_fcm: -prod(default), -dev or -debug. These options can be changed or added in the main makefile in config/LMDZOR_v5.2 directory. |
| 32 | |
| 33 | Read more about compiling on the ORCHIDEE wiki: https://forge.ipsl.jussieu.fr/orchidee/wiki/HowTo/CompileMethods |
| 34 | |
| 35 | |