rabbanidu93
Member
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
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