[FLASH-USERS] compiling issue--error: too few arguments to function [WINDOWS-1252?=?BIG5?Q?]=91H5Dopen2?=? size=

Ken Chen ken at asiaa.sinica.edu.tw
Fri Feb 6 18:07:57 EST 2009


Hi Nathan and all:
Thanks~~ I tried HDF 1.8 and 1.6 but it seemed that I got the same error problem. I am 
just wondering what HDF5 flag and HDF5 lib I should use. Or it is related the compiler 
issues?? Thanks for any comments.

cheers;

Ken


---------- Original Message -----------
From: Nathan Hearn <nhearn at ucar.edu>
To: Ken Chen <ken at asiaa.sinica.edu.tw>
Cc: flash-users at flash.uchicago.edu
Sent: Fri, 6 Feb 2009 13:31:06 -0700
Subject: Re: [FLASH-USERS] compiling issue--error: too few arguments to function 
[WINDOWS-1252?]‘H5Dopen2?
> 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
------- End of Original Message -------




More information about the flash-users mailing list