Error in vaspout.h5
Posted: Wed Jan 18, 2023 3:48 pm
Dear Users and experts
Can any one point my mistakes in compiling vasp error with vhdf5.F
I guess this FORTRAN program is not responding to hdf5
Hdf5 compiled fine with NO ERROR
1- (base) [root@192 sherifyehia]# grep H5_VERS_INFO /usr/local/hdf5/include/H5public.h
#define H5_VERS_INFO “HDF5 library version: 1.12.2”
2- [sherifyehia@192 ~]$ which h5dump
/opt/intel/oneapi/intelpython/latest/bin/h5dump
But vasp when we switch the HDF5 key gives the following errors
Here are a sample of the given errors
vhdf5_base.o: In function `vhdf5_base_mp_vh5_start_':
vhdf5_base.f90:(.text+0x46): undefined reference to `h5lib_mp_h5open_f_'
vhdf5_base.f90:(.text+0x52): undefined reference to `h5global_mp_h5p_link_create_f_'
vhdf5_base.f90:(.text+0x60): undefined reference to `h5p_mp_h5pcreate_f_'
vhdf5_base.f90:(.text+0x7a): undefined reference to `h5p_mp_h5pset_create_inter_group_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_end_':
vhdf5_base.f90:(.text+0x96): undefined reference to `h5lib_mp_h5close_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_open_read_':
vhdf5_base.f90:(.text+0xa8): undefined reference to `h5global_mp_h5f_acc_rdonly_f_'
vhdf5_base.f90:(.text+0xb4): undefined reference to `h5f_mp_h5fopen_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_open_readwrite_':
vhdf5_base.f90:(.text+0xd3): undefined reference to `h5global_mp_h5f_acc_rdwr_f_'
vhdf5_base.f90:(.text+0xe5): undefined reference to `h5f_mp_h5fopen_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_close_':
vhdf5_base.f90:(.text+0xf6): undefined reference to `h5f_mp_h5fclose_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_create_':
vhdf5_base.f90:(.text+0x11e): undefined reference to `h5global_mp_h5f_acc_excl_f_'
vhdf5_base.f90:(.text+0x132): undefined reference to `h5f_mp_h5fcreate_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_create_or_overwrite_':
vhdf5_base.f90:(.text+0x15e): undefined reference to `h5global_mp_h5f_acc_trunc_f_'
vhdf5_base.f90:(.text+0x172): undefined reference to `h5f_mp_h5fcreate_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_close_writing_':
vhdf5_base.f90:(.text+0x19a): undefined reference to `h5f_mp_h5fclose_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_flush_':
vhdf5_base.f90:(.text+0x2cf): undefined reference to `h5global_mp_h5f_scope_local_f_'
vhdf5_base.f90:(.text+0x2de): undefined reference to `h5f_mp_h5fflush_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_group_open_':
vhdf5_base.f90:(.text+0x2fc): undefined reference to `h5g_mp_h5gopen_f_'
Please see my linker
total 20340
drwxr-xr-x. 2 root root 4096 Jan 18 15:32 .
drwxr-xr-x. 6 root root 56 Jan 18 15:32 …
-rw-r–r--. 1 root root 11791634 Jan 18 15:31 libhdf5.a
-rw-r–r--. 1 root root 1369916 Jan 18 15:31 libhdf5_cpp.a
-rwxr-xr-x. 1 root root 992 Jan 18 15:31 libhdf5_cpp.la
lrwxrwxrwx. 1 root root 22 Jan 18 15:31 libhdf5_cpp.so -> libhdf5_cpp.so.200.2.0
lrwxrwxrwx. 1 root root 22 Jan 18 15:31 libhdf5_cpp.so.200 -> libhdf5_cpp.so.200.2.0
-rwxr-xr-x. 1 root root 549232 Jan 18 15:31 libhdf5_cpp.so.200.2.0
-rw-r–r--. 1 root root 543800 Jan 18 15:32 libhdf5_fortran.a
-rwxr-xr-x. 1 root root 1020 Jan 18 15:32 libhdf5_fortran.la
lrwxrwxrwx. 1 root root 26 Jan 18 15:32 libhdf5_fortran.so -> libhdf5_fortran.so.200.1.1
lrwxrwxrwx. 1 root root 26 Jan 18 15:32 libhdf5_fortran.so.200 -> libhdf5_fortran.so.200.1.1
-rwxr-xr-x. 1 root root 482024 Jan 18 15:32 libhdf5_fortran.so.200.1.1
-rw-r–r--. 1 root root 284340 Jan 18 15:32 libhdf5_hl.a
-rw-r–r--. 1 root root 18232 Jan 18 15:32 libhdf5_hl_cpp.a
-rwxr-xr-x. 1 root root 1082 Jan 18 15:32 libhdf5_hl_cpp.la
lrwxrwxrwx. 1 root root 25 Jan 18 15:32 libhdf5_hl_cpp.so -> libhdf5_hl_cpp.so.200.1.0
lrwxrwxrwx. 1 root root 25 Jan 18 15:32 libhdf5_hl_cpp.so.200 -> libhdf5_hl_cpp.so.200.1.0
-rwxr-xr-x. 1 root root 19192 Jan 18 15:32 libhdf5_hl_cpp.so.200.1.0
lrwxrwxrwx. 1 root root 19 Jan 18 15:32 libhdf5_hl_fortran.a -> libhdf5hl_fortran.a
-rw-r–r--. 1 root root 250566 Jan 18 15:32 libhdf5hl_fortran.a
-rwxr-xr-x. 1 root root 1107 Jan 18 15:32 libhdf5hl_fortran.la
lrwxrwxrwx. 1 root root 20 Jan 18 15:32 libhdf5_hl_fortran.so -> libhdf5hl_fortran.so
lrwxrwxrwx. 1 root root 28 Jan 18 15:32 libhdf5hl_fortran.so -> libhdf5hl_fortran.so.200.0.2
lrwxrwxrwx. 1 root root 28 Jan 18 15:32 libhdf5hl_fortran.so.200 -> libhdf5hl_fortran.so.200.0.2
-rwxr-xr-x. 1 root root 217072 Jan 18 15:32 libhdf5hl_fortran.so.200.0.2
-rwxr-xr-x. 1 root root 994 Jan 18 15:32 libhdf5_hl.la
lrwxrwxrwx. 1 root root 21 Jan 18 15:32 libhdf5_hl.so -> libhdf5_hl.so.200.1.0
lrwxrwxrwx. 1 root root 21 Jan 18 15:32 libhdf5_hl.so.200 -> libhdf5_hl.so.200.1.0
-rwxr-xr-x. 1 root root 155640 Jan 18 15:32 libhdf5_hl.so.200.1.0
-rwxr-xr-x. 1 root root 942 Jan 18 15:31 libhdf5.la
-rw-r–r--. 1 root root 4307 Jan 18 15:31 libhdf5.settings
lrwxrwxrwx. 1 root root 18 Jan 18 15:31 libhdf5.so -> libhdf5.so.200.2.0
lrwxrwxrwx. 1 root root 18 Jan 18 15:31 libhdf5.so.200 -> libhdf5.so.200.2.0
-rwxr-xr-x. 1 root root 5087776 Jan 18 15:31 libhdf5.so.200.2.0
(base) [sherifyehia@192 /]$
How to fix that
Thanks all
Can any one point my mistakes in compiling vasp error with vhdf5.F
I guess this FORTRAN program is not responding to hdf5
Hdf5 compiled fine with NO ERROR
1- (base) [root@192 sherifyehia]# grep H5_VERS_INFO /usr/local/hdf5/include/H5public.h
#define H5_VERS_INFO “HDF5 library version: 1.12.2”
2- [sherifyehia@192 ~]$ which h5dump
/opt/intel/oneapi/intelpython/latest/bin/h5dump
But vasp when we switch the HDF5 key gives the following errors
Here are a sample of the given errors
vhdf5_base.o: In function `vhdf5_base_mp_vh5_start_':
vhdf5_base.f90:(.text+0x46): undefined reference to `h5lib_mp_h5open_f_'
vhdf5_base.f90:(.text+0x52): undefined reference to `h5global_mp_h5p_link_create_f_'
vhdf5_base.f90:(.text+0x60): undefined reference to `h5p_mp_h5pcreate_f_'
vhdf5_base.f90:(.text+0x7a): undefined reference to `h5p_mp_h5pset_create_inter_group_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_end_':
vhdf5_base.f90:(.text+0x96): undefined reference to `h5lib_mp_h5close_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_open_read_':
vhdf5_base.f90:(.text+0xa8): undefined reference to `h5global_mp_h5f_acc_rdonly_f_'
vhdf5_base.f90:(.text+0xb4): undefined reference to `h5f_mp_h5fopen_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_open_readwrite_':
vhdf5_base.f90:(.text+0xd3): undefined reference to `h5global_mp_h5f_acc_rdwr_f_'
vhdf5_base.f90:(.text+0xe5): undefined reference to `h5f_mp_h5fopen_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_close_':
vhdf5_base.f90:(.text+0xf6): undefined reference to `h5f_mp_h5fclose_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_create_':
vhdf5_base.f90:(.text+0x11e): undefined reference to `h5global_mp_h5f_acc_excl_f_'
vhdf5_base.f90:(.text+0x132): undefined reference to `h5f_mp_h5fcreate_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_create_or_overwrite_':
vhdf5_base.f90:(.text+0x15e): undefined reference to `h5global_mp_h5f_acc_trunc_f_'
vhdf5_base.f90:(.text+0x172): undefined reference to `h5f_mp_h5fcreate_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_close_writing_':
vhdf5_base.f90:(.text+0x19a): undefined reference to `h5f_mp_h5fclose_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_file_flush_':
vhdf5_base.f90:(.text+0x2cf): undefined reference to `h5global_mp_h5f_scope_local_f_'
vhdf5_base.f90:(.text+0x2de): undefined reference to `h5f_mp_h5fflush_f_'
vhdf5_base.o: In function `vhdf5_base_mp_vh5_group_open_':
vhdf5_base.f90:(.text+0x2fc): undefined reference to `h5g_mp_h5gopen_f_'
Please see my linker
total 20340
drwxr-xr-x. 2 root root 4096 Jan 18 15:32 .
drwxr-xr-x. 6 root root 56 Jan 18 15:32 …
-rw-r–r--. 1 root root 11791634 Jan 18 15:31 libhdf5.a
-rw-r–r--. 1 root root 1369916 Jan 18 15:31 libhdf5_cpp.a
-rwxr-xr-x. 1 root root 992 Jan 18 15:31 libhdf5_cpp.la
lrwxrwxrwx. 1 root root 22 Jan 18 15:31 libhdf5_cpp.so -> libhdf5_cpp.so.200.2.0
lrwxrwxrwx. 1 root root 22 Jan 18 15:31 libhdf5_cpp.so.200 -> libhdf5_cpp.so.200.2.0
-rwxr-xr-x. 1 root root 549232 Jan 18 15:31 libhdf5_cpp.so.200.2.0
-rw-r–r--. 1 root root 543800 Jan 18 15:32 libhdf5_fortran.a
-rwxr-xr-x. 1 root root 1020 Jan 18 15:32 libhdf5_fortran.la
lrwxrwxrwx. 1 root root 26 Jan 18 15:32 libhdf5_fortran.so -> libhdf5_fortran.so.200.1.1
lrwxrwxrwx. 1 root root 26 Jan 18 15:32 libhdf5_fortran.so.200 -> libhdf5_fortran.so.200.1.1
-rwxr-xr-x. 1 root root 482024 Jan 18 15:32 libhdf5_fortran.so.200.1.1
-rw-r–r--. 1 root root 284340 Jan 18 15:32 libhdf5_hl.a
-rw-r–r--. 1 root root 18232 Jan 18 15:32 libhdf5_hl_cpp.a
-rwxr-xr-x. 1 root root 1082 Jan 18 15:32 libhdf5_hl_cpp.la
lrwxrwxrwx. 1 root root 25 Jan 18 15:32 libhdf5_hl_cpp.so -> libhdf5_hl_cpp.so.200.1.0
lrwxrwxrwx. 1 root root 25 Jan 18 15:32 libhdf5_hl_cpp.so.200 -> libhdf5_hl_cpp.so.200.1.0
-rwxr-xr-x. 1 root root 19192 Jan 18 15:32 libhdf5_hl_cpp.so.200.1.0
lrwxrwxrwx. 1 root root 19 Jan 18 15:32 libhdf5_hl_fortran.a -> libhdf5hl_fortran.a
-rw-r–r--. 1 root root 250566 Jan 18 15:32 libhdf5hl_fortran.a
-rwxr-xr-x. 1 root root 1107 Jan 18 15:32 libhdf5hl_fortran.la
lrwxrwxrwx. 1 root root 20 Jan 18 15:32 libhdf5_hl_fortran.so -> libhdf5hl_fortran.so
lrwxrwxrwx. 1 root root 28 Jan 18 15:32 libhdf5hl_fortran.so -> libhdf5hl_fortran.so.200.0.2
lrwxrwxrwx. 1 root root 28 Jan 18 15:32 libhdf5hl_fortran.so.200 -> libhdf5hl_fortran.so.200.0.2
-rwxr-xr-x. 1 root root 217072 Jan 18 15:32 libhdf5hl_fortran.so.200.0.2
-rwxr-xr-x. 1 root root 994 Jan 18 15:32 libhdf5_hl.la
lrwxrwxrwx. 1 root root 21 Jan 18 15:32 libhdf5_hl.so -> libhdf5_hl.so.200.1.0
lrwxrwxrwx. 1 root root 21 Jan 18 15:32 libhdf5_hl.so.200 -> libhdf5_hl.so.200.1.0
-rwxr-xr-x. 1 root root 155640 Jan 18 15:32 libhdf5_hl.so.200.1.0
-rwxr-xr-x. 1 root root 942 Jan 18 15:31 libhdf5.la
-rw-r–r--. 1 root root 4307 Jan 18 15:31 libhdf5.settings
lrwxrwxrwx. 1 root root 18 Jan 18 15:31 libhdf5.so -> libhdf5.so.200.2.0
lrwxrwxrwx. 1 root root 18 Jan 18 15:31 libhdf5.so.200 -> libhdf5.so.200.2.0
-rwxr-xr-x. 1 root root 5087776 Jan 18 15:31 libhdf5.so.200.2.0
(base) [sherifyehia@192 /]$
How to fix that
Thanks all