Changes between Version 25 and Version 26 of Documentation/UserGuide/InstallingORCHIDEE
- Timestamp:
- 2020-02-28T11:24:12+01:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/InstallingORCHIDEE
v25 v26 5 5 Last revision: 2020/02/28, M. McGrath 6 6 7 * The general method on how to install the IGCM computing environment (which ORCHIDEE can run in) is found here: https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc#Installaconfiguration7 * It's best to install XIOS (the routines which manage input and output of the whole IPSL suite of models) first on your computer, and then compile ORCHIDEE with the same options. Advice on installing XIOS on a personal computer is found here: https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc/ComputingCenters/LocalPC 8 8 * If you have an account at LSCE, IDRIS or the TGCC computers, follow the procedure to download and compile ORCHIDEE as described here: [wiki:Documentation/UserGuide/InstallingORCHIDEEBasic]''' 9 9 * The text below contains more details about installing libraries and ORCHIDEE with gfortran on a personal Linux computer. If the libraries already exist on your computer, you can may be able to use the above pages. 10 10 11 11 This installation guide has been tested on a laptop computer using Ubuntu 16.04 version. 12 Software used : mpicc (C compiler with mpi libraries wrapped into it), mpifort (or mpif90) (Fortran 90 compiler with mpi libraries wrapped onit), subversion (version control system), netcdf 4.6.1 [[BR]]12 Software used : mpicc (C compiler with MPI libraries wrapped around it), mpifort (or mpif90) (Fortran 90 compiler with MPI libraries wrapped around it), subversion (version control system), netcdf 4.6.1 [[BR]] 13 13 Follow the steps below and you should be able to compile and launch ORCHIDEE on a single processor for a single site. 14 14 … … 64 64 The netcdf package should be linked to previously installed packages (szlib, openmpi, hdf5) during configuration before compilation. Different options for build configurations of the netcdf-c package installation are given at [https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html].[[BR]] 65 65 66 To be able to see different configuration options, we can command66 To be able to see different configuration options, we can type 67 67 68 68 {{{ … … 70 70 }}} 71 71 72 This command returns rather a long list of options that we can use building our package in the system. Crucial point here is to make sure the netcdf-C package that we want to install has: 73 74 HDF5 Support 75 76 This can be checked by configuring the installation folder once by: 77 72 This command returns rather a long list of options that we can use to build (compile and link) the package. The crucial point here is to make sure the netcdf-C package that we want to install has HDF5 Support. 73 74 This can be checked by configuring the installation folder: 78 75 79 76 {{{ … … 81 78 }}} 82 79 83 Which returns a table like this: 84 85 86 {{{ 87 80 Which outputs a large number of "Checking" lines and finishes with a table like this: 81 82 83 {{{ 88 84 # NetCDF C Configuration Summary 89 85 ============================== … … 91 87 # General 92 88 ------- 93 NetCDF Version: 4.7.0 94 Configured On: Mon Aug 5 15:55:30 CEST 2019 89 NetCDF Version: 4.7.3 90 Dispatch Version: 1 91 Configured On: Fri Feb 28 11:01:24 CET 2020 95 92 Host System: x86_64-pc-linux-gnu 96 Build Directory: /home/ #USERNAME#/Téléchargements/libs/netcdf-c-4.7.093 Build Directory: /home/jgipsl/netcdf-c-4.7.3 97 94 Install Prefix: /usr/local 98 95 … … 108 105 Shared Library: yes 109 106 Static Library: yes 110 Extra libraries: -lhdf5_hl -lhdf5 -lm -l dl -lz -lcurl107 Extra libraries: -lhdf5_hl -lhdf5 -lm -lcurl 111 108 112 109 # Features … … 127 124 ERANGE Fill Support: no 128 125 Relaxed Boundary Check: yes 129 }}} 130 131 ''' Important: Installation of ORCHIDEE requires us to know about the destination of these libraries, especially netcdf, the compiler, and HDF5. It is important to take note of the installation destination of each library, which will be used later. The installation destination can be imposed at "./configure" step by "--prefix" option''' 132 133 To complete installation, type : 126 127 }}} 128 129 ''' Important: Installation of ORCHIDEE requires us to know about the location of these libraries, in particular netcdf, the compiler, and HDF5. It is important to take note of the installation destination of each library, which will be used later. The installation destination can be specified at "./configure" step by "--prefix" option.''' If this is missing, the package will be installed at a default location (found by looking for the "Install Prefix:" line after running the configure command above). 130 131 To complete the installation, type : 134 132 {{{ 135 133 > sudo su … … 139 137 > su 140 138 }}} 141 Enter your password then execute in the following order:139 Enter your password then execute the following commands in order: 142 140 143 141 {{{ 144 142 > make 145 143 }}} 146 ( compile netcdf on your computer.)144 ( compiles NetCDF on your computer) 147 145 Then 148 146 {{{ 149 147 > make check 150 148 }}} 151 ( Test the buiding)149 ( test the compilation ) 152 150 and finally the installation : 153 151 … … 155 153 > make install 156 154 }}} 157 158 If your installation was successful, the following message will appears : 155 (copies the files to their final destination) 156 157 If your installation was successful, the following message will appear: 159 158 160 159 {{{