Compling Flash on hdf5-1.8.4-patch1

Hi,

I tried to run Flash benchmark using hdf5-1.8.4-patch1 and had the following
error messages. What do I have to do?
Thank you in advance.

Shawn

[seokim/io/benchmark/FLASH/hdf5 24 ] gmake -f Makefile.linux
flash_benchmark_io
mpicc -c -I /home/mdl/seokim/io/HDF5/install/include/ -DTFLOPS -DN_DIM=3
h5_parallel_write.c
h5_parallel_write.c: In function ‘h5_write_header_info_’:
h5_parallel_write.c:75: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c:103: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c:177: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c:209: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_lrefine_’:
h5_parallel_write.c:247: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_nodetype_’:
h5_parallel_write.c:298: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_gid_’:
h5_parallel_write.c:349: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_coord_’:
h5_parallel_write.c:411: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_size_’:
h5_parallel_write.c:487: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_bnd_box_’:
h5_parallel_write.c:563: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_bnd_box_min_’:
h5_parallel_write.c:643: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_bnd_box_max_’:
h5_parallel_write.c:721: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_unknowns_’:
h5_parallel_write.c:855: error: too few arguments to function ‘H5Dcreate2’
gmake: *** [h5_parallel_write.o] Error 1

Hi,

I tried to run Flash benchmark using hdf5-1.8.4-patch1 and had the following
error messages. What do I have to do?
Thank you in advance.

FLASH's HDF5 calls are still the old 1.6 style, so you have to enable
the backwards compatible API with "-DH5_USE_16_API" in your CFLAGS

==rob

···

On Mon, Jun 14, 2010 at 04:47:21PM -0400, Shawn Kim wrote:

Shawn

[seokim/io/benchmark/FLASH/hdf5 24 ] gmake -f Makefile.linux
flash_benchmark_io
mpicc -c -I /home/mdl/seokim/io/HDF5/install/include/ -DTFLOPS -DN_DIM=3
h5_parallel_write.c
h5_parallel_write.c: In function ‘h5_write_header_info_’:
h5_parallel_write.c:75: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c:103: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c:177: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c:209: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_lrefine_’:
h5_parallel_write.c:247: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_nodetype_’:
h5_parallel_write.c:298: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_gid_’:
h5_parallel_write.c:349: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_coord_’:
h5_parallel_write.c:411: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_size_’:
h5_parallel_write.c:487: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_bnd_box_’:
h5_parallel_write.c:563: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_bnd_box_min_’:
h5_parallel_write.c:643: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_bnd_box_max_’:
h5_parallel_write.c:721: error: too few arguments to function ‘H5Dcreate2’
h5_parallel_write.c: In function ‘h5_write_unknowns_’:
h5_parallel_write.c:855: error: too few arguments to function ‘H5Dcreate2’
gmake: *** [h5_parallel_write.o] Error 1

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA