>From [email protected] Mon Dec  5 17:45:58 2016
>
>Is the HDF5 library you are linking to compiled *for* parallel? It *has* to=
> have been configured with --enable-parallel *and* also linked with MPI.

Thanks. I think you are right.
On linux there's some misconfig in modules:

 module show libraries/intel_builds/hdf5-1.8.12-par
-------------------------------------------------------------------
/cm/shared/modulefiles/libraries/intel_builds/hdf5-1.8.12-par:

module-whatis    adds HDF5-1.8.12 Parallel build to your environment variables 
module           add intel-cluster-studio/compiler/64/13.1/117 
openmpi/intel/64/1.6.5 
append-path      PATH /cm/shared/libraries/intel_build/hdf5-1.8.12-par/bin 
append-path      LD_LIBRARY_PATH /cm/shared/libraries/intel_build/netcdf-4/lib 

The lib path is wrong. Because I was loading both
hdf5 and netcdf modules I haven't noticed this before.
I'll ask the sysadmin to fix.
The correct path does have static libs with these symbols:

1$ for file in `ls libhdf5*.a`; do nm $file |grep dxpl_mpio_f; done
0000000000000040 T h5fdmpio_mp_h5pget_dxpl_mpio_f_
0000000000000030 T h5fdmpio_mp_h5pset_dxpl_mpio_f_

On FreeBSD the default HDF5 port build does not include the parallel
options. I tried just now and got:

configure: error: --enable-cxx and --enable-parallel flags are incompatible.
Use --enable-unsupported to override this error.

I'll ask the FreeBSD HDF5 port maintainer about
the correct set of flags.

Many 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