[CIG-SHORT] hdf5 issue while compiling

Matthew Knepley knepley at mcs.anl.gov
Tue Nov 4 13:41:15 PST 2014


On Tue, Nov 4, 2014 at 2:45 PM, Romain Jolivet <rjolivet at caltech.edu> wrote:

> Dear Brad et al.,
>
> I compiled pylith using the installer on an iMac (brand new), running Mac
> os X 10.9 (not Yosemite, Mavericks).
> As things were not going that smoothly, I decided to enable every options
> available with the installer, but not gcc (I have gcc4.9 from macports).
>
> When compiling hdf5, it stops, saying:
>
> ../../../hdf5-1.8.11/tools/lib/h5tools_dump.c:635:9: error: expected
> expression before '/' token
>          //HGOTO_ERROR(dimension_break, H5E_tools_min_id_g, "Could not
> allocate buffer for ptdata”);
>

It looks like they used a C99 comment, but your compiler does not like it.
Delete the line and try again is the
easiest option.

  Thanks,

     Matt


> The compiler used is mpicc (given what the Makefile says) that has been
> compiled using the pylith installer.
>
> Any idea?
> Cheers,
> Romain
>
>
> —————————————————————————————————————
> —————————————————————————————————————
> Romain Jolivet
> Postdoctoral Fellow
>
> University of Cambridge
> Department of Earth Sciences
> Bullard Labs
> Madingley Rise
> Madingley Road
> Cambridge CB3 0EZ
> United Kingdom
>
> email: rpj29 at cam.ac.uk
> Phone: +44 1223 748 938
> Mobile: +44 7596 703 148
>
> France: +33 6 52 91 76 39
> US: +1 (626) 560 6356
> —————————————————————————————————————
> —————————————————————————————————————
>
>
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141104/8490d979/attachment.html>


More information about the CIG-SHORT mailing list