unresolved external symbol _H5PGET_DXPL_MPIO_C

Hi,

As I needed hdf5 parallel/fortran support on windows (I needed it for our parallel driver), I got a strange error at compile time:
Error 53 error LNK2019: unresolved external symbol _H5PGET_DXPL_MPIO_C referenced in function _H5FDMPIO_mp_H5PGET_DXPL_MPIO_F H5FDmpioff.obj
Error 54 fatal error LNK1120: 1 unresolved externals C:\Projects\hdf5-vfd\bin\RelWithDebInfo\hdf5_fortrandll.dll

It appears that somehow a typo was inserted in the file fortran/src/H5f90proto.h line 974
H5_FCDLL int_f nh5pget_dxpl_mpio_rc(hid_t_f *prp_id, int_f* data_xfer_mode);
                                 ^
which should be
H5_FCDLL int_f nh5pget_dxpl_mpio_c(hid_t_f *prp_id, int_f* data_xfer_mode);

This apparently fixed my build. Just had a quick look, it's still present in the svn trunk.

Jerome

···

--
Jérôme Soumagne
Scientific Computing Research Group
CSCS, Swiss National Supercomputing Centre
Galleria 2, Via Cantonale | Tel: +41 (0)91 610 8258
CH-6928 Manno, Switzerland | Fax: +41 (0)91 610 8282

Hi Jerome,

You are right. Thank you for reporting it.
It will be fixed in the next release.

-Albert Cheng

···

On 6/29/2011 6:58 PM, Soumagne Jerome wrote:

Hi,

As I needed hdf5 parallel/fortran support on windows (I needed it for our parallel driver), I got a strange error at compile time:

Error 53 error LNK2019: unresolved external symbol _H5PGET_DXPL_MPIO_C referenced in function _H5FDMPIO_mp_H5PGET_DXPL_MPIO_F H5FDmpioff.obj

Error 54 fatal error LNK1120: 1 unresolved externals C:\Projects\hdf5-vfd\bin\RelWithDebInfo\hdf5_fortrandll.dll

It appears that somehow a typo was inserted in the file fortran/src/H5f90proto.h line 974

H5_FCDLL int_f nh5pget_dxpl_mpio_rc(hid_t_f *prp_id, int_f* data_xfer_mode);

                                 ^

which should be

H5_FCDLL int_f nh5pget_dxpl_mpio_c(hid_t_f *prp_id, int_f* data_xfer_mode);

This apparently fixed my build. Just had a quick look, it's still present in the svn trunk.

Jerome

--

J�r�me Soumagne

Scientific Computing Research Group

CSCS, Swiss National Supercomputing Centre

Galleria 2, Via Cantonale | Tel: +41 (0)91 610 8258

CH-6928 Manno, Switzerland | Fax: +41 (0)91 610 8282

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org