Error: There is no specific subroutine for the generic 'h5dwrite_f' at (1) tH5T.f90:510.73:

Dear all,

I have been trying quite a few different version of HDF5 and gfortran but
keep getting the same error. I have read posts from the internet where it
said to enable 2003 Fortran in compiling HDF5 which I did and to enable -r8
(in gfortran: -fdefault-real-8 -fdefault-double-8) but I still get the same
error during one of the test:
  FC fortranlib_test-tH5T.o
tH5T.f90:270.91:

te_f(dset_id, dt3_id, double_member, data_dims, error, xfer_prp = plist_id)

1
Error: There is no specific subroutine for the generic 'h5dwrite_f' at (1)
tH5T.f90:510.73:

     CALL h5dread_f(dset_id, dt3_id, double_member_out, data_dims, error)
                                                                         1
Error: There is no specific subroutine for the generic 'h5dread_f' at (1)
make[2]: *** [fortranlib_test-tH5T.o] Error 1

I tried to keep going but then my application hits the same error too...
Ideally I would want to make it work with gfortran 4.7.0 and HDF5 1.8.9

Does anyone has an idea on how to fix this?
Thanks a lot,
Eve-Marie

NB: I also have a separate version of gfortran in my home directory (as
opposed to an old one in the usual /usr/bin/gfortran) and for the HDF5
installation to look for the correct library files (specifically
libquadmath) I not only had to add FCLIBS=xxx before ./configure but also
go in Makefile.in in fortran/src and add FCLIBS to LIBS... sounds like a
lil bug to me.. :wink: just FYI.. :wink:

--

Eve-Marie Devaliere, MS
Science Software Engineer
OMPS Limb Profiler Research to Operations
ERT, Inc Contractor to NOAA/NESDIS/STAR
Phone: (301) 763-8172 x215
Fax: (301) 763-8149
Address: World Weather Building
        Room #808
        5200 Auth Rd
        Camp Springs, MD 20746

The contents of this message are mine personally and do not necessarily
reflect any position of NOAA

···

--

Eve-Marie Devaliere, MS
Science Software Engineer
OMPS Limb Profiler Research to Operations
ERT, Inc Contractor to NOAA/NESDIS/STAR
Phone: (301) 763-8172 x215
Fax: (301) 763-8149
Address: World Weather Building
        Room #808
        5200 Auth Rd
        Camp Springs, MD 20746

The contents of this message are mine personally and do not necessarily
reflect any position of NOAA

NB: I also have a separate version of gfortran in my home
directory (as opposed to an old one in the usual /usr/bin/gfortran)
and for the HDF5 installation to look for the correct library
files (specifically libquadmath) I not only had to add FCLIBS=xxx
before ./configure but also go in Makefile.in in fortran/src and

add

FCLIBS to LIBS... sounds like a lil bug to me.. :wink: just FYI.. :wink:

You need to make sure to specify the correct LD_LIBRARY_PATH to the
matching gcc version. You can see the discussion/resolution of the problem at:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48404

Scot

I also did that, it is still not taking it.. the problem is not that FCLIBS
is not recognized, it is that it is not set as part of LIBS in the
Makefile.in in fortran/src... :wink: so it is not even trying to read it in...
Thanks

···

On Tue, Jul 31, 2012 at 11:57 PM, <brtnfld@hdfgroup.org> wrote:

NB: I also have a separate version of gfortran in my home
directory (as opposed to an old one in the usual /usr/bin/gfortran)
and for the HDF5 installation to look for the correct library
files (specifically libquadmath) I not only had to add FCLIBS=xxx
before ./configure but also go in Makefile.in in fortran/src and

add

FCLIBS to LIBS... sounds like a lil bug to me.. :wink: just FYI.. :wink:

You need to make sure to specify the correct LD_LIBRARY_PATH to the
matching gcc version. You can see the discussion/resolution of the problem
at:

http://gcc.gnu.org/bugzilla/**show_bug.cgi?id=48404<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48404>

Scot

______________________________**_________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/**mailman/listinfo/hdf-forum_**hdfgroup.org<http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org>

--

Eve-Marie Devaliere, MS
Science Software Engineer
OMPS Limb Profiler Research to Operations
ERT, Inc Contractor to NOAA/NESDIS/STAR
Phone: (301) 763-8172 x215
Fax: (301) 763-8149
Address: World Weather Building
        Room #808
        5200 Auth Rd
        Camp Springs, MD 20746

The contents of this message are mine personally and do not necessarily
reflect any position of NOAA