Changes between Version 20 and Version 21 of Documentation/UserGuide/InstallingORCHIDEE


Ignore:
Timestamp:
2019-08-06T12:25:14+02:00 (5 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/InstallingORCHIDEE

    v20 v21  
    33 
    44 
    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]] 
    66 
    77''' 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]] 
     
    3838 
    3939Now, 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 it is OK, go to step 2 ! 
     40but if it is OK, go to step 2 ! 
    4141 
    4242 
     
    190190Remarks about installation: 
    191191 
    192 - Abovementioned 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. 
    194194- 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. 
    195195- 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. 
    196196  
    197 Step 1:  Download ORCHIDEE 
     197'''Step 1:  Download ORCHIDEE'''[[BR]] 
     198 
    198199You need to install modipsl environment into a modipsl folder (you can change the name of this directory) : 
    199200{{{ 
     
    215216}}} 
    216217 
    217 Step 2: Modification of configuration files 
     218'''Step 2: Modification of configuration files'''[[BR]] 
     219 
    218220At 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: 
    219221 
     
    227229}}} 
    228230 
    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 : 
     231The 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 
     233Create 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 : 
    234234 
    235235{{{ 
     
    409409}}} 
    410410 
    411 Step 3: Compilation 
     411'''Step 3: Compilation'''[[BR]] 
    412412 
    413413Up 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: