[FLASH-USERS] compiling issue--error: too few arguments to function [WINDOWS-1252?=?BIG5?Q?]=A1j5Dopen2?=? size=
Ken Chen
ken at asiaa.sinica.edu.tw
Mon Feb 9 18:56:28 EST 2009
Hi Nathan and all:
Very appreciate for your comments. This time, I tried to include the properly location
of the HDF5 1.6 this time. Because in our machine, we had installed the HDF 1.8 before
I installed the Flash in my directory. However another error popped out, could you
take a look at it? Thanks for all the comments:
---------------------------------------------------------------------------
compiling seems smooth:
gfortran -c -o2 -I/usr/include/openmpi/1.2.4-gcc -I/usr/include/openmpi/1.2.4-gcc/64
-o -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 Eos_guardCells.F90gfortran -c -o2
-I/usr/include/openmpi/1.2.4-gcc -I/usr/include/openmpi/1.2.4-gcc/64 -o
-DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 Eos_init.F90
until:
fortran: ut_convertToMemoryOffset.o: No such file or directory
gfortran: ut_fndpos.o: No such file or directory
gfortran: ut_hunt.o: No such file or directory
gfortran: ut_interpolationInterface.o: No such file or directory
gfortran: ut_polint.o: No such file or directory
gfortran: ut_quadraticInterpol.o: No such file or directory
gfortran: workspace.o: No such file or directory
............tons of No such file or directory
--------------------------------------------
Did I do any thing wrong hhere? or the problem is I am using gcc and gfortran. I also
attached my Makefile.h, if you want to take a look at it . Thanks a lot~
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 18:00:11 -0700
Subject: Re: [FLASH-USERS] compiling issue--error: too few arguments to function
[WINDOWS-1252?]】5Dopen2? size=
> Hi Ken,
>
> As I understand it, H5Dopen2 (versus the usual H5Dopen command)
> was introduced with HDF5 1.8 as part of the new interface. (The old
> interface is now called H5Dopen1.) This suggests that the compiler is
> using the header files from HDF5 1.8. The gcc call that you reported,
>
> 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
>
> does not appear to have a -I option for the HDF5 headers; if so, the
> compiler must be using another method to find them. (Is it possible
> that 1.8 is installed in a default location, such as
> /usr/local/include and /usr/local/lib?) Do you know what versions of
> HDF5 are installed on this platform, and where they are located? You
> may need to explicitly tell the compiler (through the HDF5 settings in
> Makefile.h) where to find the correct files.
>
> I don't think this problem is directly related to the compiler,
> other than the compiler finding the headers for version 1.8 before it
> finds the ones for 1.6. Could you provide a copy of your Makefile.h?
>
> - Nathan
>
> 2009/2/6 Ken Chen <ken at asiaa.sinica.edu.tw>:
> > 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
------- End of Original Message -------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.h
Type: text/x-chdr
Size: 4748 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20090209/4c79f68d/attachment-0001.bin>
More information about the flash-users
mailing list