##### Sections
You are here: Home FAQ

# FAQ

The Frequently Asked Questions for LMDZ

## General

I have a problem with ...
I have a problem when compiling, when running, ..., I've found a bug, I would like that you add .... in LMDZ.

To know all about what to do when you have a problem, a question, a bug to report, a suggestion for improvements, see

## Installing

Where can I find some information on installing LMDZ?

Some methods and examples describing various ways to install LMDZ are given in the Guides section of this website.

You should choose which method to follow depending on the configuration of LMDZ that you wish to run.

Known problems when installing

See the  known problems when installing page.

How can I install IOIPSL and the rebuild tool?
The IOIPSL library is not installed on my machine and/or I don't have the 'rebuild' tool to recombine the outputs of the model when it is run in MPI mode. What do I have to do to install the IOIPSL library and related tools?
1. If you are using an up-to-date version of the install.sh script to install the model, then you already have an updated version of the IOIPSL library (in the modipsl/lib directory) and the 'rebuild' utility  (in directory modipsl/bin). If it isn't the case, then it is most probably because your are using an old version of the install.sh script and you should retrieve the latest version and re-install the model.
2. If you aren't using the install.sh script to install the model, then you'll have to install the IOIPSL library by yourself along the lines of the following steps:
## Prerequisites: the NetCDF library must be installed on your system# 1. Download modipsl, the installation utilitysvn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl # 2. Go to directory util cd modipsl/util # 3. Extract IOIPSL (here the full version, in order to also get the#    'rebuild' utility) ./model IOIPSL_PLUS # 4. Adapt file AA_make.gdef. This is the tricky bit: this file contains# all the definitions (where to find the netcdf library, which compiler to use, etc.)# associated à to a given "target configuration".# You can create your own "target configuration" inspired from the models already# available, or by adapting a pre-existing one (in what follows, we'll assume that the # "gfortran" "target configuration" will be used# 5. Install the IOIPSL files./ins_make -t "gfortran" -p I4R8# 6. Compile the IOIPSL librarycd ../modeles/IOIPSL/srcmake# If all went well, the libioipsl.a library and associated modules# are in the modipsl/lib directory# 7. Compile the rebuild tool (to be able to recombine outputs in MPI mode)cd ../toolsmake# If all went well, the 'rebuild' utility (and ancillary 'flio_rbld')# is in the modipsl/bin directory

Last updated: 19 April 2012

## Running

How can I run LMDZ in parallel on my Linux PC?
You want to run LMDZ locally on your Linux PC, and because it is a multicore, it would make sense to run the parallel version of the code. But what needs be done to manage that?

LMDZ can be compiled and run in parallel, in MPI or OpenMP mode, or even in a hybrid mixed MPI/OpenMP mode. This however requires some external prerequisites, such as that an MPI library be installed, and that the compiler you are using is OpenMp enabled (which is the case for most of them: ifort, gfortran, xlf, pgfortran, ...).