Changes between Version 20 and Version 21 of Documentation/UserGuide/InstallingORCHIDEE
- Timestamp:
- 2019-08-06T12:25:14+02:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/InstallingORCHIDEE
v20 v21 3 3 4 4 5 ''' STOP: It is not longer possible to use netcdf 3 with ORCHIDEE due to the tag IOIPSL v2_2_4 which requires netcdf 4!!! '''[[BR]]5 ''' NOTE : It is not longer possible to use netcdf 3 with ORCHIDEE due to the tag IOIPSL v2_2_4 which requires netcdf 4!!! '''[[BR]] 6 6 7 7 ''' NOTE : If you have an account on LSCE, IDRIS or TGCC computers, please follow the procedure to compile on a know computer as described here : [wiki:Documentation/UserGuide/InstallingORCHIDEEBasic]''' [[BR]] … … 38 38 39 39 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, 40 but i t is OK, go to step 2 !40 but if it is OK, go to step 2 ! 41 41 42 42 … … 190 190 Remarks about installation: 191 191 192 - Above mentioned packages should be installed. These packages should be installed with same compiler to keep consistency and avoid problems later on. In the case of more than one package installation, make sure to keep consistency between packages and libraries used to install ORCHIDEE (example: XIOS and ORCHIDEE should be installed with same netcdf library, and with the compiler that compiled netcdf, hdf5, mpi).193 - Library and Include directory destinations of hdf5, gcc, and netcdf-c are needed to make neccessary modifications in installation files. These packages are usually installed in "/usr/local/". When in doubt, check with your system administrator, or pass "nc-config --libdir" in command prompt.192 - Above mentioned packages should be installed. These packages should be installed with same compiler to keep consistency and avoid problems later on. In the case of more than one package installation, make sure to keep consistency between packages and libraries used to install ORCHIDEE (example: XIOS and ORCHIDEE should be installed with same netcdf library, and with the compiler that compiled netcdf, hdf5, mpi). 193 - The paths to libraries and include directories of hdf5, gcc, and netcdf-c are needed to make necessary modifications in installation files of ORCHIDEE. These packages are usually installed in "/usr/local/". When in doubt, check with your system administrator, or pass "nc-config --libdir" in command prompt. 194 194 - Configuration files for installation of ORCHIDEE is by default set for the clusters used by IPSL. The configuration files works well for their environments, however, we need to modify the configuration files and make them suitable for our system, then we can install without problem. 195 195 - You may install ORCHIDEE with gcc compilers, but I would like to suggest mpicc ( the mpi wrapper versions of the compilers). mpicc and mpifort combines your compiler with the libraries of mpi, and makes it easier for ORCHIDEE to reach to mpi libraries during installation. 196 196 197 Step 1: Download ORCHIDEE 197 '''Step 1: Download ORCHIDEE'''[[BR]] 198 198 199 You need to install modipsl environment into a modipsl folder (you can change the name of this directory) : 199 200 {{{ … … 215 216 }}} 216 217 217 Step 2: Modification of configuration files 218 '''Step 2: Modification of configuration files'''[[BR]] 219 218 220 At this point, you have downloaded modipsl directory, and ORCHIDEE. You should now modify the configuration files that declares the destination of library and include folders so we can establish link between the packages we have installed in first part of the tutorial: 219 221 … … 227 229 }}} 228 230 229 The configuration is declared between lines 303-328 for "gfortran" in AA_make.gdef (for the modipsl tag: 4448) 230 231 The modifications are given 232 233 Create makefiles with the specific target for compiler gfortran, first modify if necessary the path to netcdf : 231 The configuration is declared between lines 325-349 for "gfortran" in [http://forge.ipsl.jussieu.fr/igcmg/browser/modipsl/trunk/util/AA_make.gdef?rev=448 AA_make.gdef using modipsl revision 4448]. 232 233 Create makefiles with the specific target for compiler '''gfortran''', first modify if necessary the path to netcdf and then use the command ./ins_make -t gfortran to create makefiles : 234 234 235 235 {{{ … … 409 409 }}} 410 410 411 Step 3: Compilation 411 '''Step 3: Compilation'''[[BR]] 412 412 413 413 Up to this point, we have installed necessary packages required by ORCHIDEE, modipsl directory, ORCHIDEE libraries, and finally, we modified ORCHIDEE installation files for our system environment. From this point there is only the actual compilation left. Installation can be completed by: