Changes between Version 12 and Version 13 of Documentation/UserGuide/CompileMethods
- Timestamp:
- 2015-09-04T16:56:28+02:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/CompileMethods
v12 v13 1 [[PageOutline]] 2 1 3 There are 2 methods for compiling ORCHIDEE. 2 4 * '''''Old obsolete method:'' Standard makefiles created based on AA_make and AA_make.gdef.''' … … 138 140 139 141 140 = Hacking the script - Skip the compilation of teststomate=142 = Remove compilation of teststomate and/or forcesoil = 141 143 142 144 Contributed by Ferenc Pasztor with input from Josfine Ghattas & Betrand Guenet 143 145 144 The standard compilation scripts compile orchidee, forcesoil and teststomate at the same time. Although forcesoil and teststomate are still required for some branches to speed up the compilation. For several other branches they became obsolete. If you want to compile your changes to orchidee without updating teststomate you should change the compilation script: 145 146 in makeorchidee_fcm, remove teststomate.exe to have 146 The compilation scripts compile orchidee libraries, and the three executables orchidee_ol, forcesoil and teststomate at the same time. Although forcesoil and teststomate are still required for some branches to speed up the simulation time, for several other branches they became obsolete. If you want to compile your changes to orchidee without compiling teststomate you can change the compilation script. If using makeorchidee_fcm, remove teststomate.exe to have 147 147 148 148 {{{ 149 149 TARGET="liborchidee_ol.a dim2_driver.exe forcesoil.exe" 150 150 }}} 151 or if you want to remove also forcesoil.exe : 152 {{{ 153 TARGET="liborchidee_ol.a dim2_driver.exe" 154 }}} 151 155 152 Then remove copyfurther down :156 Then remove the corresponding copy command further down : 153 157 {{{ 154 158 cp bin/teststomate.exe ../../bin/teststomate 159 cp bin/forcesoil.exe ../../bin/forcesoil 155 160 }}} 156 161 157 Now compile. 162 If you are using the old compilation method you should instead change in src_driver/Makefile, change the line: 158 163 159 If you are using the old compilation method you should do the following (not tested):160 use161 164 {{{ 162 gmake 165 all : orchidee_ol teststomate forcesoil 163 166 }}} 164 instead of 167 to 165 168 {{{ 166 gmake driver 169 all : orchidee_ol 167 170 }}} 168 then the compilation script will only compile orchidee (and thus skip the compilation of teststomate and forcesoil. If, however, you need forcesoil and orchidee then you should go in src_driver and remove in the Makefile all the lines related to teststomate. 171 172 You can now compile as before.