-
Guillaume Samson authored89746a6d
Build the framework
Prerequisites
conv
; the FCM_ build system and
the IOIPSL_ library for parts of the output.System dependencies
In the first place the other requirements should be provided natively by your system or can be installed from the official repositories of your Unix-like distribution:
- Perl interpreter
-
Fortran compiler (
ifort
,gfortran
,pgfortran
, ...), - Message Passing Interface (MPI) implementation (e.g. OpenMPI or MPICH).
- Network Common Data Form (NetCDF) library with its underlying Hierarchical Data Form (HDF)
NEMO, by default, takes advantage of some MPI features introduced into the MPI-3 standard.
Hint
The MPI implementation is not strictly essential since it is possible to compile and run NEMO on a single processor. However most realistic configurations will require the parallel capabilities of NEMO and these use the MPI standard.
Note
On older systems, that do not support MPI-3 features,
the key_mpi2
preprocessor key should be used at compile time.
This will limit MPI features to those defined within the MPI-2 standard
(but will lose some performance benefits).
Specifics for NetCDF and HDF
NetCDF and HDF versions from official repositories may have not been compiled with MPI support. However access to all the options available with the XIOS IO-server will require the parallelism of these libraries.
Hint
$ ./configure [--{enable-fortran,disable-shared,enable-parallel}] ...
It is recommended to build the tests --enable-parallel-tests
and run them with make check
Particular versions of these libraries may have their own restrictions. State the following requirements for netCDF-4 support:
Caution!