Re: HDF5

From: Seyit Hocuk <seyit_at_astro.rug.nl>
Date: Tue, 27 Nov 2007 12:43:30 +0100

Brilliant,

It looks like it is working.
Thanks Volker,
and also thanks to Ben Fitzpatrick, however I had done that already,
thanks for the help though.

Greetings,
Seyit


Volker Springel wrote:
> Seyit Hocuk wrote:
>
>> Hi to the mailing list,
>>
>> This is my first post here. I want the outputfiles (snapshots) in HDF5
>> format so I can use the program VISIT to open them, however simply
>> changing the makefile to in clude HDF5 (OPT += -DHAVE_HDF5) does not
>> work. I do have (the correct I believe) HDF5 installed and included them
>> in the makefile.
>>
>> HDF5INCL = -I/usr/local/include
>> HDF5LIB = -L/usr/local/lib
>> The error messages I get when making the makefile are:
>>
>> io.o(.text+0x8db): In function `write_header_attributes_in_hdf5' :
>> : undefined reference to -lots of files here-
>> io.o(.text+0x161b): In function `write_file':
>> : undefined reference to -lots of files here-
>> read_ic.o(.text+0x2e8): In function `read_header_attributes_in_hdf5':
>> : undefined reference to -lots of files here-
>> read_ic.o(.text+0xf91): In function `read_file':
>> : undefined reference to -lots of files here-
>>
>> I think the solution must be very simple, however I have no clue what it
>> is.
>>
>>
>
> It looks like you have not specified the actual HDF5 library in the link
> step. Try this:
>
> HDF5LIB = -L/usr/local/lib -lhdf5
>
> Volker
>
>
>
>
>
>
>> Thanks,
>> Seyit
>>
>>
>>
>>
>> -----------------------------------------------------------
>>
>> If you wish to unsubscribe from this mailing, send mail to
>> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
>> A web-archive of this mailing list is available here:
>> http://www.mpa-garching.mpg.de/gadget/gadget-list
>>
>
>
>
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list
>
Received on 2007-11-27 12:43:30

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:30 CET