Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

HDF5: Fatal Error: Reading module ‘h5global’ at line 1556 column 62: Unexpected EOF

Dear altruist,

Whenever I try to install hdf5-1.12.0 or older version by following command, I get following error,

Command:
tar -xvzf hdf5-1.12.0.tar.gz
cd hdf5-1.12.0
./configure --prefix=$DIR/grib2 --with-zlib=$DIR/grib2 --enable-hl --enable-fortran

sudo make && sudo make install

Error:

5Fff.F90:42:6:

42 | USE H5GLOBAL
| 1
Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only]
f951: Fatal Error: Reading module ‘h5global’ at line 1556 column 62: Unexpected EOF
compilation terminated.
make[3]: *** [Makefile:1009: H5Fff.lo] Error 1
make[3]: Leaving directory '/home/rabbani/WRFARW/Files/hdf5-1.12.0/fortran/src'
make[2]: *** [Makefile:877: all] Error 2
make[2]: Leaving directory '/home/rabbani/WRFARW/Files/hdf5-1.12.0/fortran/src'
make[1]: *** [Makefile:828: all-recursive] Error 1
make[1]: Leaving directory '/home/rabbani/WRFARW/Files/hdf5-1.12.0/fortran'
make: *** [Makefile:662: all-recursive] Error 1


My configuration:
export CC=gcc
export CXX=g++
export FC=gfortran
export F77=gfortran


gfortran --version
GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0


Thanks in advance.
Rabbani
 

Attachments

  • config.log
    2.1 MB · Views: 0
  • compile.log
    8.8 KB · Views: 0
Hi,
Unfortunately our group only has the resources to support the WRF model and not the external libraries. Please contact a systems administrator at your institution, or someone in the HDF5 development group to receive help with installing HDF5.
 
Top