Hello<br><br>I ran into a similar problem with HDF5. In order to get everything to compile I had to downgrade my gcc from 4.3 to 4.2.<br> <br>Cheers<br clear="all">:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-<br>
Justin Parsons<br><a href="http://jussn.beevomit.org">http://jussn.beevomit.org</a><br>:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-<br>
<br><br><div class="gmail_quote">2009/2/6 Ken Chen <span dir="ltr"><<a href="mailto:ken@asiaa.sinica.edu.tw">ken@asiaa.sinica.edu.tw</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all:<br>
I am installing the flash code in our machine and got a problem in compiling flash code.<br>
The compiling seemed to be smooth (for all fortran part ) until meeting gcc .The error<br>
is following:<br>
<br>
gcc -I/home/ken/flash2/include -c -O2 -I/usr/include/openmpi/1.2.4-gcc<br>
-I/usr/include/openmpi/1.2.4-gcc/64 -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2<br>
io_h5read_bflags.c<br>
io_h5read_bflags.c: In function 'io_h5read_bflags_':<br>
io_h5read_bflags.c:76: error: too few arguments to function 'H5Dopen2'<br>
make: *** [io_h5read_bflags.o] Error 1<br>
<br>
At the beginning, I think I may miss some include or lib files. Then I tried to include<br>
the possible header files, but I can't still kick out this problem. Or the problem is<br>
in HDF5.<br>
Did I miss some things here? I posted part of Makefile.h and put the ????? in the<br>
question part.<br>
It is very appreicated for any comments.<br>
<br>
cheers;<br>
<br>
Ken<br>
<br>
<br>
<br>
<br>
<br>
-------------------------------------------------------------------------<br>
#FFLAGS_OPT = -c --o2 --tp4 -CcdRR8<br>
FFLAGS_OPT = -c -o2 -I/usr/include/openmpi/1.2.4-gcc -I/usr/include/openmpi/1.2.4-gcc/64<br>
FFLAGS_DEBUG = -c -g --trace --trap --chk[aes] -CcdRR8<br>
FFLAGS_TEST = -c -CcdRR8<br>
<br>
FFLAGS_PAPI = -I$(PAPI_PATH)/include<br>
<br>
F90FLAGS =<br>
<br>
#CFLAGS = -c -O3 -tpp7 -march=pentium4 -mcpu=pentium4 -ip -unroll \<br>
# -D_LARGEFILE64_SOURCE<br>
<br>
CFLAGS_OPT = -c -O2 -I/usr/include/openmpi/1.2.4-gcc -I/usr/include/openmpi/1.2.4-gcc/64<br>
<br>
# -I/usr/include/openmpi/1.2.4-gcc/64<br>
#CFLAGS_OPT = -c -O2<br>
<br>
#CFLAGS_DEBUG = -I$(MPIpath)/include -c -g<br>
#CFLAGS_TEST = -I$(MPIpath)/include -c<br>
<br>
<br>
?????<br>
CFLAGS_HDF5 = -I/home/ken/flash2/include<br>
#-I/home/ken/flash2/HDF/include<br>
# -I/home/ken/flash2/HDF5/szip-2.1/szip/include<br>
?????<br>
<br>
<br>
#CFLAGS_NCMPI = -I$(NCMPI_PATH)/include/:)<br>
<br>
#--------------------------------------------<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br>