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

De LMDZPedia
Aller à : navigation, rechercher
Ligne 14 : Ligne 14 :
  
 
== Downloading LMDZ6 source code ==
 
== Downloading LMDZ6 source code ==
This is easily done using svn (subversion). To download the latest version from the trunk as an "LMDZ6" directory:
+
This is easily done using svn (subversion). To download the latest version from the trunk as an "LMDZ" directory:
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
svn checkout http://svn.lmd.jussieu.fr/LMDZ/LMDZ6/trunk LMDZ6
+
svn checkout http://svn.lmd.jussieu.fr/LMDZ/LMDZ6/trunk LMDZ
 
</syntaxhighlight>
 
</syntaxhighlight>
 
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:
 
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:
 
<pre>
 
<pre>
IOIPSL  LMDZ6 XIOS
+
IOIPSL  LMDZ XIOS
 
</pre>
 
</pre>
  
To compile LMDZ one would then proceed to the LMDZ6 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
  
04/01/2023
+
10/03/2023
  
 
[[Category:HowTo]]
 
[[Category:HowTo]]

Version du 10 mars 2023 à 10:22

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