[gradsusr] [EXTERNAL] GrADS not finding GRIB2 or HDF5

Adams, Jennifer M. (GSFC-610.2)[ADNET SYSTEMS INC] jennifer.m.adams at nasa.gov
Wed Sep 22 08:50:38 EDT 2021


The configuration macros are looking for more than just the primary libraries. For grib2, here is the list:
  [ AC_CHECK_LIB(grib2c, main, [
    AC_CHECK_LIB([png15], [main], [
    AC_CHECK_LIB([z], [compress], [
    AC_CHECK_LIB([jpeg], [main], [
    AC_CHECK_LIB([jasper], [main], [
      ga_check_grib2="yes"
      G2_LIBS="-lgrib2c -ljasper -lpng15 -lz"

The hdf5 macro is a bit more elaborate, and you can use these flags with the configure script to tell it where to find your hdf5 installation:
  --with-hdf5=ARG         hdf5 directory
  --with-hdf5-include=ARG hdf5 include directory
  --with-hdf5-libdir=ARG  hdf5 library directory

--Jennifer

--
Jennifer Miletta Adams
Senior Scientific Software Developer
Goddard Earth Sciences Data and Information Services Center (GES DISC)
NASA/GSFC, Code 610.2
Building 32, Room S159


From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Arturo Fernandez <afernandez at odyhpc.com>
Reply-To: GrADS Users Forum <gradsusr at gradsusr.org>
Date: Tuesday, September 14, 2021 at 11:48 AM
To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
Subject: [EXTERNAL] [gradsusr] GrADS not finding GRIB2 or HDF5

Hello,
The configuration of GrADS keeps producing the following output:
  +=========================================================================+
   GrADS 2.2.2 : Configured on 09/14/21
  +=========================================================================+

  +-------------------------------+
  |                               |
  |  GrADS will be built with:    |
  |                               |
  |  - GUI disabled               |
  |  + READLINE enabled           |
  |  - GEOTIFF disabled           |
  |  - shapefile disabled         |
  |  - GD disabled                |
  |  + CAIRO enabled              |
  |  - GRIB2 disabled             |
  |  - HDF4 disabled              |
  |  - HDF5 disabled              |
  |  + NETCDF3 enabled            |
  |  - OPeNDAP disabled           |
  |                               |
  +-------------------------------+

I don't understand why it's not picking up GRIB2 or HDF5 even though both libraries are installed in standard paths (/usr). Thanks.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20210922/c7854c6a/attachment.html>


More information about the gradsusr mailing list