Hi, I'm new to HDF5 and to this list.

I have identical problem on 2 different platforms:

- linux, hdf5-1.8.12, Intel 16.0.2 compiler, Intel MPI 1.6.5
- FreeBSD 11.0-RELEASE-p2, mpich-3.2_2, hdf5-1.10.0_1, gcc6-6.2.0 compiler

I build a third party library
which includes several HDF5 routines.
On both systems at link time I get:

 undefined reference to `h5pset_fapl_mpio_f_'
 undefined reference to `h5pset_dxpl_mpio_f_'

On FreeBSD hdf5 port installs these static libs:

-rw-r--r--  1 root  wheel  7304706 Nov 30 17:34 libhdf5.a
-rw-r--r--  1 root  wheel   823562 Nov 30 17:34 libhdf5_cpp.a
-rw-r--r--  1 root  wheel   381772 Nov 30 17:34 libhdf5_fortran.a
-rw-r--r--  1 root  wheel   215264 Nov 30 17:34 libhdf5_hl.a
-rw-r--r--  1 root  wheel    14100 Nov 30 17:34 libhdf5_hl_cpp.a
-rw-r--r--  1 root  wheel   166530 Nov 30 17:34 libhdf5hl_fortran.a

On linux I see these libs:

-rw-r--r-- 1 root root 8305240 Jan 22  2014 libhdf5.a
-rw-r--r-- 1 root root  957780 Jan 22  2014 libhdf5_cpp.a
-rw-r--r-- 1 root root  427560 Jan 22  2014 libhdf5_fortran.a
-rw-r--r-- 1 root root  297166 Jan 22  2014 libhdf5_hl.a
-rw-r--r-- 1 root root    9022 Jan 22  2014 libhdf5_hl_cpp.a
-rw-r--r-- 1 root root  162250 Jan 22  2014 libhdf5hl_fortran.a

but the symbols are not there:

$ for file in `ls libhdf5*.a`; do nm $file |grep h5pset_fapl_mpio; done
$ for file in `ls libhdf5*.a`; do nm $file |grep h5pset_dxpl_mpio; done
$ 

Am I looking in the wrong place?
Wrong version?
Wrong installation?

Please advise

Thanks

Anton


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to