<div dir="ltr">Hi Klaus,<div><br></div><div>I tried to build and run lasslab problem in FLASH4.5. The HDF5 version I used is 1.10.0-patch. I got the error as attached.</div><div><br></div><div>Thanks,</div><div>Yingchao</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 12, 2017 at 9:29 AM, Klaus Weide <span dir="ltr"><<a href="mailto:klaus@flash.uchicago.edu" target="_blank">klaus@flash.uchicago.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[ cross-posting response to flash-users ]<br>
<br>
On Tue, 12 Dec 2017, Dominik Derigs wrote:<br>
<br>
> Dear FLASH team,<br>
><br>
> the CHANGELOG states<br>
><br>
> > FLASH now works correctly with HDF5 versions 1.10.x.<br>
><br>
> I guessed that means that it should "just" work without having to use<br>
> -DH5_USE_16_API as compiler flag in my Makefile also with v1.8.16.<br>
<br>
Hi Dominik,<br>
<br>
The -DH5_USE_16_API is still necessary to compile FLASH against an HDF5<br>
library with version > 1.6.  (Unless one has an HDF5 library specifically<br>
built to default to the old API version - I assume not many users are<br>
in that situation.)<br>
<br>
And yes, that is still H5_USE_16_API, not H5_USE_18_API.<br>
<br>
What is new in FLASH 4.5, and what the line in RELEASE-NOTES is meant to<br>
convey, is that the same mechanism needed to compile FLASH against HDF5<br>
1.8.x now also works for 1.10.x.  Before this, i.e., with FLASH 4.4,<br>
it did not work for 1.10.x. This has come up on flash-users ca. October<br>
2017.<br>
<br>
Please let us know if you find any problems when you DO use H5_USE_16_API !<br>
<br>
> However, if I remove this flag, I'm still getting issues like<br>
><br>
> io_h5_attribute.c(48): error #165: too few arguments in function call<br>
>       dsetID = H5Dopen(hFileID, datasetName);<br>
><br>
> and so forth.<br>
<br>
Yes, that is as expected.<br>
<br>
> I looked into FLASH's user guide for the most recent version and haven't<br>
> found any details regarding this issue. Do I have to add another flag<br>
> somewhere or does the version of FLASH really works now only with HDF5<br>
> v1.10.x but not with v1.8.x?<br>
<br>
If you have a suggestion for improving the U.G. to make this clearer,<br>
please let me know!<br>
<br>
And to iterate, HDF5 v1.10.x should now be treated the same way as v1.8.x,<br>
as far as configuring FLASH is concerned.<br>
<span class="HOEnZb"><font color="#888888"><br>
Klaus</font></span></blockquote></div><br></div>