[FLASH-BUGS] Intel64 HDF5 compile problem

Chris Daley cdaley at flash.uchicago.edu
Thu Jan 27 16:31:47 CST 2011


Hi Matt,

This is because FLASH depends on HDF5 v1.6 API bindings.  You can use
these bindings with your current version of HDF5 by adding
H5_USE_16_API macro definition to CFLAGS_HDF5 in your Makefile.h, i.e.

CFLAGS_HDF5 = -I${HDF5_PATH}/include -DH5_USE_16_API

Chris

Matthew Shannon wrote:
> Hello,
> 
> I am having a problem when trying to compile my Flash code. I am using
> HDF5-1.8.4, openmpi-1.3.4 on an Intel64 Fedora 13 system. I am using the
> latest Flash 3.3 code. The terminal output showing the error is shown below.
> 
> gcc -I/rpod2/opt/hdf5-1.8.4/include -I/rpod2/opt/openmpi-1.3.4/include -c
> -O2 -D_LARGEFILE64_SOURCE -g -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1
> -DN_DIM=2 io_h5_attribute.c
> io_h5_attribute.c: In function ‘io_h5_attribute_create’:
> io_h5_attribute.c:48: error: too few arguments to function ‘H5Dopen2’
> io_h5_attribute.c:55: error: too few arguments to function ‘H5Acreate2’
> io_h5_attribute.c: In function ‘io_h5_attribute_write’:
> io_h5_attribute.c:101: error: too few arguments to function ‘H5Dopen2’
> gmake: *** [io_h5_attribute.o] Error 1
> 
> 
> I am new at this, so please let me know if I should include other
> information. Thanks!
> 
> Matt



More information about the flash-bugs mailing list