[FLASH-USERS] HDF5 Compile Crash

David Vartanyan dvartany at berkeley.edu
Fri Oct 1 16:19:54 EDT 2021


Dear Flash users,

I'm a new user trying to run the sedov test run. I'm using Flash 6.4.2 with
HDF5 version 1.12.1

In my Makefile.h and in both my F90flags and and CFLAGS_HDF5, I include
" -DH5_USE_16_API".

Running ./setup Sedov -auto and then compiling, I get the following error:

-----
/usr/local/mpi/bin/mpicc -I /usr/local/hdf5/include -DH5_USE_16_API -O3  -c
-DDarwin -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 -DDarwin
io_attribute.c
io_attribute.c:66:5: error: implicit declaration of function
'Driver_abortFlashC' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
    Driver_abortFlashC("[io_attribute_create]: Unknown I/O");
    ^
io_attribute.c:113:5: error: implicit declaration of function
'Driver_abortFlashC' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
    Driver_abortFlashC("[io_attribute_write]: Unknown I/O");
    ^
2 errors generated.
-----

When running instead ./setup Sedov -auto +noio

the compilation proceeds with no issue. I also had this problem for HDF5
1.10.5. I tried also Flash 4.5 with the HDF5 patch, all to no avail. I had
the same IO errors throughout.

All help would be appreciated.

Thank you,
David

-- 
David Vartanyan, PhD
TAC Fellow, UC Berkeley
My website <https://vartanyandavid7.wixsite.com/dvyan>
<http://goog_90037325>
https://astro.berkeley.edu/people/david-vartanyan/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20211001/c9a1a887/attachment.htm>


More information about the flash-users mailing list