Re: [QE-users] QE_6.6 make error with hdf5

2020-11-19 Thread Ye Luo
Make sure your hdf5 is compiled with the same compiler as what you are
using for QE and the compiled library has Fortran support enabled.
Ye
===
Ye Luo, Ph.D.
Computational Science Division & Leadership Computing Facility
Argonne National Laboratory


On Thu, Nov 19, 2020 at 8:52 PM rekha sharma  wrote:

> Dear Sir
>
> This is in connection to my previous email.
>
> QE version 6.6 recognises the hdf5 library but when i try to execute make,
> I get below errors
> The system is redhat cluster.
>
>
> mpiifort -O2 -assume byterecl -g -traceback -nomodule -fpp -D__DFTI
> -D__MPI -D__SCALAPACK -Duse_beef -D__HDF5
> -I/home/rekha/soft/qe66//include -I/home/rekha/soft/qe66//FoX/finclude
> -I/home/rekha/soft/qe66//S3DE/iotk/include/
> -I/opt/intel/compilers_and_libraries_2020.2.254/linux/mkl/include
> -I/home/rekha/soft/hdf5/include -I/home/rekha/soft/qe66//iotk/src
> -I/home/rekha/soft/qe66//upflib -I/home/rekha/soft/qe66//Modules
> -I/home/rekha/soft/qe66//FFTXlib -I/home/rekha/soft/qe66//LAXlib
> -I/home/rekha/soft/qe66//UtilXlib -I/home/rekha/soft/qe66//FoX/finclude
> -I../ELPA/src -c mp_wave.f90
> qeh5_module.f90(23): error #7002: Error in opening the compiled module
> file.  Check INCLUDE paths.   [HDF5]
>   USE hdf5
> --^
> qeh5_module.f90(29): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)::   id
> ^
> qeh5_module.f90(33): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)::   id
> ^
> qeh5_module.f90(38): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
>  INTEGER(HID_T)::  id
> -^
> qeh5_module.f90(44): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
>  INTEGER(HID_T)   ::  id
> -^
> qeh5_module.f90(46): error #6683: A kind type parameter must be a
> compile-time constant.   [HSIZE_T]
>  INTEGER(HSIZE_T),ALLOCATABLE  ::  dims(:),maxdims(:)
> -^
> qeh5_module.f90(47): error #6683: A kind type parameter must be a
> compile-time constant.   [HSIZE_T]
>  INTEGER(HSIZE_T),ALLOCATABLE  ::  offset(:), count(:), stride(:),
> block(:)
> -^
> qeh5_module.f90(51): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
>  INTEGER(HID_T)::id
> -^
> qeh5_module.f90(97): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
>   INTEGER(HID_T)   :: H5_REALDP_TYPE
> --^
> qeh5_module.f90(128): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER (HID_T):: hid
> -^
> qeh5_module.f90(137): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER (HID_T):: hid
> -^
> qeh5_module.f90(249): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)   :: loc_id, group_id
> ^
> qeh5_module.f90(316): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T) :: dtype_hid
> ^
> qeh5_module.f90(415): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)   :: mem_hid, file_hid
> ^
> qeh5_module.f90(434): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)   :: mem_hid, file_hid
> ^
> qeh5_module.f90(453): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)   :: mem_hid, file_hid
> ^
> qeh5_module.f90(472): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)   :: mem_hid, file_hid
> ^
> qeh5_module.f90(491): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)   :: mem_hid, file_hid
> ^
> qeh5_module.f90(510): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)   :: mem_hid, file_hid
> ^
> qeh5_module.f90(530): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)   :: mem_hid, file_hid
> ^
> qeh5_module.f90(551): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T)   :: mem_hid, file_hid
> ^
> qeh5_module.f90(572): error #6683: A kind type parameter must be a
> compile-time constant.   [HID_T]
> INTEGER(HID_T) 

[QE-users] QE_6.6 make error with hdf5

2020-11-19 Thread rekha sharma
Dear Sir

This is in connection to my previous email.

QE version 6.6 recognises the hdf5 library but when i try to execute make,
I get below errors
The system is redhat cluster.


mpiifort -O2 -assume byterecl -g -traceback -nomodule -fpp -D__DFTI -D__MPI
-D__SCALAPACK -Duse_beef -D__HDF5   -I/home/rekha/soft/qe66//include
-I/home/rekha/soft/qe66//FoX/finclude
-I/home/rekha/soft/qe66//S3DE/iotk/include/
-I/opt/intel/compilers_and_libraries_2020.2.254/linux/mkl/include
-I/home/rekha/soft/hdf5/include -I/home/rekha/soft/qe66//iotk/src
-I/home/rekha/soft/qe66//upflib -I/home/rekha/soft/qe66//Modules
-I/home/rekha/soft/qe66//FFTXlib -I/home/rekha/soft/qe66//LAXlib
-I/home/rekha/soft/qe66//UtilXlib -I/home/rekha/soft/qe66//FoX/finclude
-I../ELPA/src -c mp_wave.f90
qeh5_module.f90(23): error #7002: Error in opening the compiled module
file.  Check INCLUDE paths.   [HDF5]
  USE hdf5
--^
qeh5_module.f90(29): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)::   id
^
qeh5_module.f90(33): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)::   id
^
qeh5_module.f90(38): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
 INTEGER(HID_T)::  id
-^
qeh5_module.f90(44): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
 INTEGER(HID_T)   ::  id
-^
qeh5_module.f90(46): error #6683: A kind type parameter must be a
compile-time constant.   [HSIZE_T]
 INTEGER(HSIZE_T),ALLOCATABLE  ::  dims(:),maxdims(:)
-^
qeh5_module.f90(47): error #6683: A kind type parameter must be a
compile-time constant.   [HSIZE_T]
 INTEGER(HSIZE_T),ALLOCATABLE  ::  offset(:), count(:), stride(:),
block(:)
-^
qeh5_module.f90(51): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
 INTEGER(HID_T)::id
-^
qeh5_module.f90(97): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
  INTEGER(HID_T)   :: H5_REALDP_TYPE
--^
qeh5_module.f90(128): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER (HID_T):: hid
-^
qeh5_module.f90(137): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER (HID_T):: hid
-^
qeh5_module.f90(249): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: loc_id, group_id
^
qeh5_module.f90(316): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T) :: dtype_hid
^
qeh5_module.f90(415): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: mem_hid, file_hid
^
qeh5_module.f90(434): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: mem_hid, file_hid
^
qeh5_module.f90(453): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: mem_hid, file_hid
^
qeh5_module.f90(472): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: mem_hid, file_hid
^
qeh5_module.f90(491): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: mem_hid, file_hid
^
qeh5_module.f90(510): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: mem_hid, file_hid
^
qeh5_module.f90(530): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: mem_hid, file_hid
^
qeh5_module.f90(551): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: mem_hid, file_hid
^
qeh5_module.f90(572): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   :: mem_hid, file_hid
^
qeh5_module.f90(597): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   ::  memspace_, filespace_
^
qeh5_module.f90(617): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)   ::  memspace_, filespace_
^
qeh5_module.f90(636): error #6683: A kind type parameter must be a
compile-time constant.   [HID_T]
INTEGER(HID_T)