...
The --enable-python option enables the python interface and is optional but might be useful if you intend to use/write software to access the GRIB output files. If the make fails because of a missing numpy header file you should add the --disable-numpy option.
Info | ||
---|---|---|
| ||
Omitting --disable-shared means that the gnu linker will use the shared library by default. The user must then ensure that their LD_LIBRARY_PATH is correct and points to the grib_api directory. Shared libraries need to be built if python interface is used. Otherwise, explicitly specify libgrib_api.a on the compile line to force static linking. Could also use -Bstatic -Bdynamic but this depends on the underlying linker, which may not be compatible. |
Choice of compiler and options
...