<div dir="ltr"><div>Hi Flash-<span>developers,</span></div><div><span></span><br></div><div><span><span><span>I'm</span> <span>trying to install</span> <span>FLASH4.2.1</span> <span>in a cluster,</span> <span>but I'm having</span> <span>trouble compiling</span><span>.</span> <span>I</span> <span>thinkthe error ir related </span><span>with</span> <span>HDF5</span><span>.</span></span></span></div>
<div><span><span><span></span></span></span><br></div><div><span><span><span>The machine OS:</span></span></span></div><div><span><span><span><p>GNU/Linux (Debian)</p><p>GCC 4.3.2-1.1 / mpich 1.2.7</p><p>HDF5:</p><p>hdf5-1.8.10-linux-x86_64-static</p>
<p>hdf5-1.8.13-linux-x86_64-shared</p><p>the error is:</p><p>/usr/bin/ld: skipping incompatible /opt/hdf5-1.8.10/lib/libhdf5.a when searching for -lhdf5</p><p><span></span><br></p><p><span>Now, when</span> <span>we try to</span> <span>compile with</span> <span>an earlier version of</span> <span>HDF5: </span></p>
<span><p>libhdf5-mpich-1.6.6-0</p><p>libhdf5-serial-1.6.6-0</p></span><p>the error is:</p><p>$ make<br>rm -f reorder.sh<br>/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<br>
gr_xyzToBlock.F90: In function ‘gr_xyztoblock’:<br>gr_xyzToBlock.F90:54: warning: ‘proc’ is used uninitialized in this function<br>gr_xyzToBlock.F90:55: warning: ‘blk’ is used uninitialized in this function<br>/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<br>
In file included from io_h5_attribute.h:7,<br>                 from io_attribute.h:13,<br>                 from io_attribute.c:1:<br>io_h5_type.h:7:18: error: hdf5.h: Arquivo ou diretório não encontrado<br>In file included from io_h5_attribute.h:7,<br>
                 from io_attribute.h:13,<br>                 from io_attribute.c:1:<br>io_h5_type.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘io_h5_type_hid_primitive’<br>io_h5_type.h:11: error: expected ‘;’, ‘,’ or ‘)’ before ‘hType’<br>
io_h5_type.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘io_h5_type_create_string’<br>io_h5_type.h:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘hType’<br>make: ** [io_attribute.o] Erro 1</p><p></p></span></span></span></div>
<div><span><span><span></span></span></span><br></div><div><span><span><span><span>Has anyone had</span> <span>the same problem?</span> <span>Any idea</span> <span>how to fix this</span><span>?</span> <br><span></span></span></span></span></div>
<div><span><span><span><span></span></span></span></span><br></div><div><span><span><span><span>thank you very much</span></span></span></span></div></div>