[FLASH-USERS] compilation problems with FLASH4.2.1
Cristian Giovanny Bernal
bernalcg at astro.unam.mx
Wed Jun 11 16:15:32 EDT 2014
Hi Flash-developers,
I'm trying to install FLASH4.2.1 in a cluster, but I'm having trouble
compiling. I thinkthe error ir related with HDF5.
The machine OS:
GNU/Linux (Debian)
GCC 4.3.2-1.1 / mpich 1.2.7
HDF5:
hdf5-1.8.10-linux-x86_64-static
hdf5-1.8.13-linux-x86_64-shared
the error is:
/usr/bin/ld: skipping incompatible /opt/hdf5-1.8.10/lib/libhdf5.a when
searching for -lhdf5
Now, when we try to compile with an earlier version of HDF5:
libhdf5-mpich-1.6.6-0
libhdf5-serial-1.6.6-0
the error is:
$ make
rm -f reorder.sh
/usr/bin/mpif90 -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8
-Wuninitialized -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2
gr_xyzToBlock.F90
gr_xyzToBlock.F90: In function ‘gr_xyztoblock’:
gr_xyzToBlock.F90:54: warning: ‘proc’ is used uninitialized in this function
gr_xyzToBlock.F90:55: warning: ‘blk’ is used uninitialized in this function
/usr/bin/mpicc -I/usr/lib/include -DH5_USE_16_API -ggdb -c -O2
-Wuninitialized -D_FORTIFY_SOURCE=2 -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8
-DNZB=1 -DN_DIM=2 io_attribute.c
In file included from io_h5_attribute.h:7,
from io_attribute.h:13,
from io_attribute.c:1:
io_h5_type.h:7:18: error: hdf5.h: Arquivo ou diretório não encontrado
In file included from io_h5_attribute.h:7,
from io_attribute.h:13,
from io_attribute.c:1:
io_h5_type.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘io_h5_type_hid_primitive’
io_h5_type.h:11: error: expected ‘;’, ‘,’ or ‘)’ before ‘hType’
io_h5_type.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘io_h5_type_create_string’
io_h5_type.h:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘hType’
make: ** [io_attribute.o] Erro 1
Has anyone had the same problem? Any idea how to fix this?
thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20140611/4d34d7d4/attachment.htm>
More information about the flash-users
mailing list