[Hdf-forum] compiling hdf5 on OS/X

Scot Breitenfeld brtnfld at hdfgroup.org
Thu Aug 28 14:44:41 CDT 2014


I’m not sure then why it’s having problems with the intel compiler since the compiler does support KIND=16. You should have no problems compiling fortran/src/H5fortran_detect.f90, which you can check: ifort H5fortran_detect.f90

Scot

On Aug 28, 2014, at 2:01 PM, Dave Lane <dlane at ap.stmarys.ca<mailto:dlane at ap.stmarys.ca>> wrote:

Scot,

I was able to build it in gfortran after installing gcc 4.9. Regarding ifort: below is the output from the program that you sent:

skolio:~ dlane$ ifort -v
ifort version 13.0.2
skolio:~ dlane$ ifort testkind.f90 -o testkind
skolio:~ dlane$ ./testkind
           4           1
           4           2
           4           3
           4           4
           4           5
           4           6
           8           7
           8           8
           8           9
           8          10
           8          11
           8          12
           8          13
           8          14
           8          15
          16          16
          16          17
          16          18
          16          19
          16          20
          16          21
          16          22
          16          23
          16          24
          16          25
          16          26
          16          27
          16          28
          16          29
          16          30
          16          31
          16          32
          16          33
          -1          34
           4           8          16           0           0           0
           0           0           0           0
skolio:~ dlane$

--- Dave

On 28/08/2014 1:49 PM, Scot Breitenfeld wrote:
My bug report to gcc.gnu deals with this issue:

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

In summary, there is a mismatch of the LD_LIBRARY_PATH and the gcc version used to compile the code on your OS.

The issue with the intel compiler is new, what is the output from the attached program using the intel compiler. Also use FC instead of F77 to set the fortran compiler.

Scot





_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum at lists.hdfgroup.org<mailto:Hdf-forum at lists.hdfgroup.org>
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum at lists.hdfgroup.org<mailto:Hdf-forum at lists.hdfgroup.org>
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/attachments/20140828/eac3a4a7/attachment.html>


More information about the Hdf-forum mailing list