You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Requirements

To run CMEM you need:
- Fortran     # e.g. gfortran (version >= 7.3.0): https://gcc.gnu.org/fortran/
- GRIBAPI   # https://software.ecmwf.int/wiki/display/GRIB/Home
- NetCDF    # https://www.unidata.ucar.edu/software/netcdf


How to compile

$ tar -xzvf cmem_v6.0.tar.gz
$ cd cmem_v6.0/source

Require to update the Makefile to your system.
e.g. FORTRAN_COMPILER, GRIBAPI_* and NETCDF_* in Makefile

$ make   # Compile CMEM


Note:

If you want remove NetCDF and GRIBAPI options (e.g. because not installed on your computer):

1: in source/cmem_set_var.F90 and source/cmem_end.F90:
comment or remove all the lines that contain the comment 'netcdfcase' and/or 'gribapicase'.

2: in source/Makefile:
remove gribapi and/or netcdf routines and libraries.
(sample: source/Makefile.not_grib_netcdf)


CMEM How to use

CMEM

  • No labels