Fatal errors for compiling VASP/HDF5. Is it the version of HDF5?

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
duarteha
Newbie
Newbie
Posts: 2
Joined: Thu Jun 20, 2024 4:12 pm

Fatal errors for compiling VASP/HDF5. Is it the version of HDF5?

#1 Post by duarteha » Thu Jul 11, 2024 8:17 pm

Hi Everybody;

I am compiling VASP 6.4.3 with HDF5 (1.14.4-2) with oneapi. I am getting the following fatal errors:
mpiifort -fc=ifx -free -names lowercase -assume byterecl -w -xHOST -O2 -I/opt/intel/oneapi/mkl/2024.0/include/fftw -I/programs/lib/hdf5/include -c vhdf5_base.f90
vhdf5_base.F(7): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [HDF5]
use hdf5
------^
vhdf5_base.F(39): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T):: ih5intermediategroup_id

I suspect that the version of the HDF5 is not compatible with the VASP 6.4.3.

Is there an adequate version of the HDF5 to be used with the VASP 6.4.3?

Any help is welcome.

Cheers;

alexey.tal
Global Moderator
Global Moderator
Posts: 314
Joined: Mon Sep 13, 2021 12:45 pm

Re: Fatal errors for compiling VASP/HDF5. Is it the version of HDF5?

#2 Post by alexey.tal » Fri Jul 12, 2024 10:47 am

Hi,

We have a list of toolchains that we test ourselves.
The error is related to the hdf5 library and how it was built. Do you have some other version of hdf5 installed?

duarteha
Newbie
Newbie
Posts: 2
Joined: Thu Jun 20, 2024 4:12 pm

Re: Fatal errors for compiling VASP/HDF5. Is it the version of HDF5?

#3 Post by duarteha » Fri Jul 12, 2024 11:57 am

I do not have any other HDF5 installed.
I have just installed the hdf5 and changed the makefile.include to set the HDF5_root.
The hdf5 was compiled with oneapi, the same for the vasp.
It passed all the checks.

alexey.tal
Global Moderator
Global Moderator
Posts: 314
Joined: Mon Sep 13, 2021 12:45 pm

Re: Fatal errors for compiling VASP/HDF5. Is it the version of HDF5?

#4 Post by alexey.tal » Fri Jul 12, 2024 12:09 pm

Could you please share your makefile.include?

Post Reply