Changes between Version 13 and Version 14 of Documentation/UserGuide/CompileMethods
- Timestamp:
- 2019-05-02T14:08:12+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/CompileMethods
v13 v14 2 2 3 3 There are 2 methods for compiling ORCHIDEE. 4 * '''''Current default method:'' A main makefile in config directory which will launch the script makeorchidee_fcm based on the tool FCM.''' 5 - Full compiling is done from modipsl/config/ORCHIDEE_OL directory 6 - Specific platform dependent compile options are set in modipsl/modeles/ORCHIDEE/arch directory 4 7 * '''''Old obsolete method:'' Standard makefiles created based on AA_make and AA_make.gdef.''' 5 8 - Full compiling is done from modipsl/modeles/ORCHIDEE directory 6 9 - Specific platform dependent compile options are set in modipsl/util/AA_make.gdef 7 * '''''Current default method:'' A main makefile in config directory which will launch the script makeorchidee_fcm based on the tool FCM.'''8 - Full compiling is done from modipsl/config/ORCHIDEE_OL directory9 - Specific platform dependent compile options are set in modipsl/modeles/ORCHIDEE/arch directory10 11 ----12 13 = Compile using standard makefiles (old method) =14 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:15 16 17 {{{18 cd modipsl/util19 ./ins_make [-t target]20 cd ../modeles/ORCHIDEE21 gmake driver22 }}}23 24 25 26 10 27 11 ---- … … 171 155 172 156 You can now compile as before. 157 158 159 160 = Compile using standard makefiles (old method) = 161 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: 162 163 164 {{{ 165 cd modipsl/util 166 ./ins_make [-t target] 167 cd ../modeles/ORCHIDEE 168 gmake driver 169 }}} 170 171 172