Changes between Version 25 and Version 26 of Documentation/UserGuide/InstallingORCHIDEE


Ignore:
Timestamp:
2020-02-28T11:24:12+01:00 (4 years ago)
Author:
mmcgrath
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/InstallingORCHIDEE

    v25 v26  
    55Last revision: 2020/02/28, M. McGrath 
    66 
    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#Installaconfiguration 
     7* 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 
    88* 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]''' 
    99* 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. 
    1010 
    1111This 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 on it), subversion (version control system), netcdf 4.6.1 [[BR]] 
     12Software 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]] 
    1313Follow the steps below and you should be able to compile and launch ORCHIDEE on a single processor for a single site. 
    1414 
     
    6464The 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]] 
    6565 
    66 To be able to see different configuration options, we can command 
     66To be able to see different configuration options, we can type 
    6767 
    6868{{{ 
     
    7070}}} 
    7171 
    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  
     72This 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 
     74This can be checked by configuring the installation folder: 
    7875 
    7976{{{ 
     
    8178}}} 
    8279 
    83 Which returns a table like this: 
    84  
    85  
    86 {{{ 
    87  
     80Which outputs a large number of "Checking" lines and finishes with a table like this: 
     81 
     82 
     83{{{ 
    8884# NetCDF C Configuration Summary 
    8985============================== 
     
    9187# General 
    9288------- 
    93 NetCDF Version:         4.7.0 
    94 Configured On:          Mon Aug  5 15:55:30 CEST 2019 
     89NetCDF Version:         4.7.3 
     90Dispatch Version:       1 
     91Configured On:          Fri Feb 28 11:01:24 CET 2020 
    9592Host System:            x86_64-pc-linux-gnu 
    96 Build Directory:        /home/#USERNAME#/Téléchargements/libs/netcdf-c-4.7.0 
     93Build Directory:        /home/jgipsl/netcdf-c-4.7.3 
    9794Install Prefix:         /usr/local 
    9895 
     
    108105Shared Library:         yes 
    109106Static Library:         yes 
    110 Extra libraries:        -lhdf5_hl -lhdf5 -lm -ldl -lz -lcurl  
     107Extra libraries:        -lhdf5_hl -lhdf5 -lm -lcurl  
    111108 
    112109# Features 
     
    127124ERANGE Fill Support:    no 
    128125Relaxed 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 
     131To complete the installation, type : 
    134132{{{ 
    135133      >  sudo su 
     
    139137      >  su 
    140138}}} 
    141 Enter your password then execute in the following order : 
     139Enter your password then execute the following commands in order: 
    142140 
    143141{{{ 
    144142      > make 
    145143}}} 
    146 ( compile netcdf on your computer.) 
     144( compiles NetCDF on your computer) 
    147145Then 
    148146{{{ 
    149147      > make check 
    150148}}} 
    151 ( Test the buiding ) 
     149( test the compilation ) 
    152150and finally the installation : 
    153151 
     
    155153      > make install 
    156154}}} 
    157  
    158 If your installation was successful, the following message will appears : 
     155(copies the files to their final destination) 
     156 
     157If your installation was successful, the following message will appear: 
    159158 
    160159{{{