Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

CMAKE_INSTALL_PREFIXwhere you want to install your Emoslib library /usr/local
CMAKE_BUILD_TYPE

to select the type of compilation:

  • Debug
  • RelWithDebInfo
  • Release
  • Production
RelWithDebInfo
GRIB_API_PATHwhere to find grib-api ( if non-standard installation  ) 
ENABLE_FFTWOption to link FFTW, REQUIRED for Octahedral Gaussian gridON
ENABLE_SINGLE_PRECISIONenable single precision version of library (Caution for BUFR handling and interpolation!)OFF
ENABLE_FORTRAN90enable tools which need Fortran 90 (only required for FC=pgf77)ON
ENABLE_INSTALL_TABLESenable the installations of BUFR/GRIBex tables and LSMON
LIBEMOS_INSTALL_LIB_DIRsetting directly the name for the library folder in specified prefix; For systems which require
a directory with the name "lib64" instead of "lib" set this variable to "lib64"
 
cmake options
doc
default

 

The C and Fortran compilers are chosen by CMake. (This can be overwritten by setting the variables CC and FC, on the command line before you call cmake, to the preferred compiler). Further the variables CMAKE_C_FLAGSor CMAKE_Fortran_FLAGS can be used to set compiler flags for optimisation or debugging. 

...