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

De LMDZPedia
Aller à : navigation, rechercher
 
Ligne 11 : Ligne 11 :
 
# Have a Fortran-enabled MPI library at hand (see [[Building an MPI library|this page]] for more about installing MPI)
 
# Have a Fortran-enabled MPI library at hand (see [[Building an MPI library|this page]] for more about installing MPI)
 
# A NetCDF4-HDF5 library, preferably compiled with MPI enabled
 
# A NetCDF4-HDF5 library, preferably compiled with MPI enabled
# Have the IOIPSL library available
+
# Have the IOIPSL library available (see [[Some pointers about standalone installation of the IOIPSL library|this page]] for more about installing IOIPSL)
 
# Have the XIOS library available (see [[Some pointers about standalone installation of the XIOS library|this page]] for more about installing XIOS)
 
# Have the XIOS library available (see [[Some pointers about standalone installation of the XIOS library|this page]] for more about installing XIOS)
  
Ligne 26 : Ligne 26 :
 
To compile LMDZ one would then proceed to the LMDZ subdirectory, make some adequate [[WhatIs: The target architecture ("arch") files|architecture files]] (if needed) and use the [[WhatIs: The makelmdz fcm script|makelmdz_fcm.sh]] script
 
To compile LMDZ one would then proceed to the LMDZ subdirectory, make some adequate [[WhatIs: The target architecture ("arch") files|architecture files]] (if needed) and use the [[WhatIs: The makelmdz fcm script|makelmdz_fcm.sh]] script
  
10/03/2023
+
21/11/2023
  
 
[[Category:HowTo]]
 
[[Category:HowTo]]

Version actuelle en date du 21 novembre 2023 à 12:39

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),

as well as the companion NetCDF95 library (compiled with the same compiler) available (see this page for more about installing it)

  1. 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 (see this page for more about installing IOIPSL)
  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

21/11/2023