Changes between Version 4 and Version 5 of Documentation/UserGuide/InstallingORCHIDEE
- Timestamp:
- 2013-02-18T14:44:56+01:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/InstallingORCHIDEE
v4 v5 9 9 == 1.a Installing netcdf library (package installation) (not tested) == 10 10 11 Now, netcdf is available as a package for linux distribution. For Ubuntu, a package exists. This installation was not tested,11 Now, netcdf is available as a package for linux distribution. For Ubuntu, a package exists. Make sure that the netcdf is compiled with the same compiler as you'll compile ORCHIDEE (here gfotran compiler). This installation was not tested, 12 12 but it is OK, go to step 2 ! 13 13 … … 115 115 }}} 116 116 117 Then go to:117 You can install a public or a private version of ORCHIDEE. [wiki:HowTo/InstallingORCHIDEEBasic Read more about installing different versions of ORCHIDEE.] To install the latest tagged version : 118 118 {{{ 119 > cd MY_ORCHIDEE/util 119 > cd MY_ORCHIDEE/util 120 > ./model ORCHIDEE_TAG 120 121 }}} 121 122 122 You can install a public version on your laptop. Execute :123 123 124 {{{ 125 > ./model ORCHIDEE_TAG 126 }}} 127 If you are a developer of ORCHIDEE, you can download your own version with the script recup_my_ORCHIDEE (see SVN course for that). 128 Nearly the end ! Edit AA_make.gdef and replace the following line by : 129 {{{ 130 #-Q- gfortran F_C = gfortran -c 131 }}} 132 by 133 {{{ 134 #-Q- gfortran F_C = gfortran -c -cpp 135 136 }}} 137 and execute the script called ins_make : 124 Create makefiles with the specific target for compiler gfortran : 138 125 {{{ 139 126 > ./ins_make -t gfortran 140 127 }}} 141 Then go to modeles/ORCHIDEE_OL : 128 129 Then compile the modele : 142 130 {{{ 143 > cd ../modeles/ORCHIDEE_OL 144 }}} 145 and finally compile : 146 {{{ 131 > cd ../modeles/ORCHIDEE_OL 147 132 > make; make teststomate; make forcesoil 148 133 }}} 134 135 If you extracted the trunk version of ORCHIDEE and all versions containing ORCHIDEE/src_driver directory, then compile as follow : 136 {{{ 137 > cd ../modeles/ORCHIDEE 138 > make driver 139 }}} 140 149 141 150 142 CONGRATULATIONS, it's done !