Changes between Version 3 and Version 4 of Documentation/UserGuide/CompileMethods
- Timestamp:
- 05/27/14 11:11:26 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/CompileMethods
v3 v4 1 = Compile methods = 1 There are 2 methods for compiling ORCHIDEE. 2 * using standard makefiles created based on AA_make and AA_make.gdef. This is the standard methode until now. 3 * using a main makefile in config directory which will use the script makeorchidee_fcm based on the tool FCM. 2 4 3 It is possible to compile ORCHIDEE using standard makefiles created based on AA_make and AA_make.gdef. This is the standard methode until now. It is also possible to compile using the script makeorchidee_fcm based on the tool FCM. 5 ---- 4 6 5 = = How to compile using standard makefiles ==7 = Compile using standard makefiles = 6 8 The compile options are set in modipsl/util/AA_make.gdef for all predefined environements. Using the script modipsl/util/ins_make the main makefile is created in modipsl/modeles/ORCHIDEE/Makefile. To change a compile option, it is necessary to change in AA_make.gdef and relaunch ins_make. The target machine is determined automatically by ins_make if the machine is in a predefined list. It is also possible to specify the target using the optional argument -t. Create makefiles and compile as follow: 7 9 … … 17 19 18 20 19 == How to compile ORCHIDEE using with FCM method == 20 === Main makefile in modipsl/config/ORCHIDEE_OL === 21 A main makefile is found in modipsl/config/ORCHIDEE_OL directory. This makefile will first compile IOIPSL and then ORCHIDEE using the script makeorchidee_fcm. 21 ---- 22 23 = Compile using with FCM method = 24 == Main makefile in modipsl/config/ORCHIDEE_OL == 25 A main makefile is found in modipsl/config/ORCHIDEE_OL directory or in modipsl/config/LMDZOR_v5.2 directory. This makefile will first compile IOIPSL and then ORCHIDEE using the script makeorchidee_fcm. 22 26 23 27 … … 50 54 51 55 52 == = makeorchidee_fcm ===53 The script [https://forge.ipsl.jussieu.fr/orchidee/browser/trunk/ORCHIDEE/makeorchidee_fcm makeorchidee_fcm] compiles ORCHIDEE using the FCM, a software developed by the Hadley Centre. 56 == makeorchidee_fcm == 57 The script [https://forge.ipsl.jussieu.fr/orchidee/browser/trunk/ORCHIDEE/makeorchidee_fcm makeorchidee_fcm] compiles ORCHIDEE using the FCM, a software developed by the Hadley Centre. 54 58 While using this script the dependencies between fortran modules do not need to be set in advance. Fcm determines the dependencies. Fcm is stored in tools/ directory. 59 60 makeorchidee_fcm is launched by the main makefile in config directory but it can also be launched manually from modeles directory. In the later case, IOIPSL must have been compiled previously. 55 61 56 62 Compile options for different target machines or compilers are defined in the directory ''arch/''. For each target machine two files must exist : archname.fcm and archname.path. Use ''./makeorchidee_fcm -h'' to get information about available arguments. See here the main arguments [[BR]]