Versions Compared

Key

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

...

These errors occur if emoslib was built without GRIB_API support. When you build emoslib, you're given the option to build it with GRIB_API support, as which point you should say 'yes' and tell it where to find the GRIB_API libraries. Once you've rebuilt emoslib with this option, Metview should be able to link correctly with it.


Problems linking with Intel tools

We've had a report that when using the Intel compiler, the linking of the DataCoverage module produces errors with defined symbols from libemos. This can be because the Intel C++ compiler does not know that it needs to link with the Intel Fortran libraries (a few of Metview's modules use some Fortran code). A solution is to add the following to your CMake command when configuring Metview:

-DCMAKE_EXE_LINKER_FLAGS="-L[ifort8.1path]/lib -lifcore"

where [ifort8.1path] is replaced by the path to where the Intel fortran libraries are.


How should I build GRIB_API for Metview?

...