[FLASH-USERS] compiling issue--error: too few arguments to function ‘H5Dopen2’

Justin Parsons justin-parsons at uiowa.edu
Fri Feb 6 16:57:30 EST 2009


Hi Again,

Just as a note, the flag is:

--with-default-api-version=v16

Cheers
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
Justin Parsons
http://jussn.beevomit.org
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-


On Fri, Feb 6, 2009 at 3:55 PM, Justin Parsons <jussn.p at gmail.com> wrote:

> Hi Again,
>
> Just as a note, the flag is:
>
>  --with-default-api=v16
>
> it's a bit hidden in the documentation.
>
> Cheers
> :-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
> Justin Parsons
> http://jussn.beevomit.org
> :-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
>
>
> On Fri, Feb 6, 2009 at 2:49 PM, Nathan Hearn <nhearn at ucar.edu> wrote:
>
>> Hi Ken,
>>
>>   Is it possible that you are using HDF5 1.8?  Unless it was compiled
>> with the HDF5 1.6.x compatibility flag, 1.8 changes some of the
>> function interfaces in incompatible ways.
>>
>>
>> - Nathan
>>
>>
>> --
>> Nathan C. Hearn
>> nhearn at ucar.edu
>>
>> Project Scientist
>> Computational & Information Systems Laboratory
>> National Center for Atmospheric Research
>>
>>
>> 2009/2/6 Ken Chen <ken at asiaa.sinica.edu.tw>:
>> > Hi all:
>> > I am installing the flash code in our machine and got a problem in
>> compiling flash code.
>> > The compiling seemed to be smooth (for all fortran part ) until meeting
>>  gcc .The error
>> > is following:
>> >
>> > gcc -I/home/ken/flash2/include  -c -O2 -I/usr/include/openmpi/1.2.4-gcc
>> > -I/usr/include/openmpi/1.2.4-gcc/64  -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8
>> -DNZB=1 -DN_DIM=2
>> > io_h5read_bflags.c
>> > io_h5read_bflags.c: In function 'io_h5read_bflags_':
>> > io_h5read_bflags.c:76: error: too few arguments to function 'H5Dopen2'
>> > make: *** [io_h5read_bflags.o] Error 1
>> >
>> > At the beginning, I think I may miss some include or lib files.  Then I
>> tried to include
>> > the possible header files, but I can't still kick out this problem.  Or
>> the problem is
>> > in HDF5.
>> > Did I miss some things here? I posted part of Makefile.h and put the
>> ????? in the
>> > question part.
>> > It is very appreicated  for any comments.
>> >
>> > cheers;
>> >
>> > Ken
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20090206/4e1eebfc/attachment.htm>


More information about the flash-users mailing list