Some pointers about standalone installation of LMDZ : Différence entre versions

De LMDZPedia
Aller à : navigation, rechercher
Ligne 5 : Ligne 5 :
 
# Have a Fortran compiler at hand  
 
# Have a Fortran compiler at hand  
 
# Have a NetCDF library (compiled with the same compiler) available (see [[The netCDF library|this page]] for more about installing NetCDF)
 
# Have a NetCDF library (compiled with the same compiler) available (see [[The netCDF library|this page]] for more about installing NetCDF)
 +
# Have a companion NetCDF95 library (compiled with the same compiler) available (see [[The netCDF95 library|this page]] for more about installing it)
 
# Have the IOIPSL library available (see [[Some pointers about standalone installation of the IOIPSL library|this page]] for more about installing IOIPSL)
 
# Have the IOIPSL library available (see [[Some pointers about standalone installation of the IOIPSL library|this page]] for more about installing IOIPSL)
  

Version du 24 avril 2023 à 09:14

This page is mostly for "do-it-yourself" people interested in installing LMDZ6

Prerequisites

In the most minimal case, where one would only run the serial version of the GCM, then the prerequisites are:

  1. Have a Fortran compiler at hand
  2. Have a NetCDF library (compiled with the same compiler) available (see this page for more about installing NetCDF)
  3. Have a companion NetCDF95 library (compiled with the same compiler) available (see this page for more about installing it)
  4. Have the IOIPSL library available (see this page for more about installing IOIPSL)

In a more realistic case, you'll probably want to run the parallel version of the GCM, most likely with XIOS; The prerequisites are then:

  1. Have a Fortran-enabled MPI library at hand (see this page for more about installing MPI)
  2. A NetCDF4-HDF5 library, preferably compiled with MPI enabled
  3. Have the IOIPSL library available
  4. Have the XIOS library available (see this page for more about installing XIOS)

Downloading LMDZ6 source code

This is easily done using svn (subversion). To download the latest version from the trunk as an "LMDZ" directory:

svn checkout http://svn.lmd.jussieu.fr/LMDZ/LMDZ6/trunk LMDZ

Note that the recommended way to proceed is to have all models and libraries at the same level in a master directory, so a working example would be where the master directory contents would be:

IOIPSL  LMDZ  XIOS

To compile LMDZ one would then proceed to the LMDZ subdirectory, make some adequate architecture files (if needed) and use the makelmdz_fcm.sh script

10/03/2023