<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">HI Peter,<div class=""><br class=""></div><div class="">The Makefile.h is in your FLASH object directory itself, not HDF5. </div><div class=""><br class=""></div><div class="">John</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 10, 2017, at 10:47 AM, Peter Woitke <<a href="mailto:pw31@st-andrews.ac.uk" class="">pw31@st-andrews.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi Mark,</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">thanks for that. However, I cannot find any Makefile.h, not before nor after ./configure --prefix=/home/star/pw31/software/hdf5 --enable-fortran --enable-parallel.</div>All I see is a Makefile.in and a Makefile, but none of them have entries as you listed.<div style="margin-top: 0px; margin-bottom: 0px;" class="">Any idea?</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""> Peter<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="" class=""><hr tabindex="-1" style="display: inline-block; width: 1210.296875px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Mark Richardson <<a href="mailto:mark.richardson.work@gmail.com" class="">mark.richardson.work@gmail.com</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>10 October 2017 15:38<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Peter Woitke<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>flash-users<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [FLASH-USERS] first model: hdf5 error</font><div class=""> </div></div><div class=""><div dir="ltr" class="">Hi Peter,<div class=""><br class=""></div><div class=""> it might be because you haven't flagged HDF5 to use the version 1.6 setup. In my Makefile.h I add DH5_USE_16_API to the following definitions:</div><div class=""> F90FLAGS</div><div class=""> CFLAGS_HDF5</div><div class=""> </div><div class="">Perhaps that will solve your problem,</div><div class=""> -Mark</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 10 October 2017 at 10:33, Peter Woitke<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:pw31@st-andrews.ac.uk" target="_blank" class="">pw31@st-andrews.ac.uk</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">Hi there,<br class=""><br class="">I just downloaded and compiled mpich, hdf5 and flash, and I am getting run-time error ...<br class=""><br class="">HDF5-DIAG: Error detected in HDF5 (1.10.1) MPI-process 0:<br class=""> #000: H5Ddeprec.c line 128 in H5Dcreate1(): not a location ID<br class=""> major: Invalid arguments to routine<br class=""> minor: Inappropriate type<br class=""> #001: H5Gloc.c line 251 in H5G_loc(): invalid object ID<br class=""> major: Invalid arguments to routine<br class=""> minor: Bad value<br class="">flash4: io_h5create_dataset.c:57: io_h5create_dataset: Assertion `dataset<span class="Apple-converted-space"> </span><br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">= 0'<br class=""></blockquote><br class="">I have tested my mpich and hdf5 installations and they have passed all tests. I am listing my installation commands below. Maybe "enable-parallel" is not a good idea? My runSedov directory has<br class="">ugo+rw permissions.<br class=""><br class="">I read in another FLASH-USER entry that one should try<br class=""><br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">./setup -auto Sedov +ug<br class=""></blockquote><br class="">This results in another run-time error ...<br class=""><br class="">[Driver_init] Must set runtime parameters iProcs, jProcs, kProcs, and meshCopyCount so that iProcs*jProcs*kProcs*meshCopyC<wbr class="">ount equals number of processors<br class="">Calling MPI_Abort() for immediate shutdown!<br class=""><br class="">Thank you for your help,<br class=""><br class=""> Peter Woitke<br class=""><br class=""><br class="">------------------------------<wbr class="">----------------------------<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">cd ~/software/hdf5-1.10.1<br class="">setenv CC mpicc<br class="">setenv CXX mpicxx<br class="">setenv FC mpif90<br class="">./configure --help<br class="">./configure --prefix=/home/star/pw31/softw<wbr class="">are/hdf5<br class=""></blockquote> --enable-fortran --enable-parallel<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">make<br class="">make check<br class="">make install<br class="">make check-install<br class=""></blockquote>add /home/star/pw31/software/hdf5/<wbr class="">lib to LD_LIBRARY_PATH ------------------------------<wbr class="">----------------------------<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">cd ~/flash4.4/sites<br class="">mkdir prodimo<br class="">cp Prototypes/Linux/<a href="http://makefile.h.in/" class="">Makefile.h.in</a><wbr class="">tel prodimo/Makefile.h<br class="">cd prodimo<br class="">emacs Makefile.h ...<br class="">cd ~/flash4.4<br class="">./setup -auto Sedov cd object<br class="">make<br class=""></blockquote>SUCCESS<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">mkdir ../runSedov<br class="">cd ../runSedov<br class="">cp ../source/Simulation/Simulatio<wbr class="">nMain/SedovChamber/flash.par .<br class="">mpirun -np 7 ../object/flash4<br class=""></blockquote>------------------------------<wbr class="">----------------------------<br class=""><br class=""><br class=""><br class="">Dr. Peter Woitke<br class="">St Andrews University<br class="">School of Physics & Astronomy<br class="">top floor, room 306<br class="">North Haugh<br class="">KY16 9SS<br class="">St Andrews, UK<br class="">Tel:<span class="Apple-converted-space"> </span><a href="tel:%28%2B44%29%201334%2046%201681" value="+441334461681" target="_blank" class="">(+44) 1334 46 1681</a><br class="">Fax:<span class="Apple-converted-space"> </span><a href="tel:%28%2B44%29%201334%2046%203104" value="+441334463104" target="_blank" class="">(+44) 1334 46 3104</a><br class=""><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""><span style="font-size: 12.8px;" class="">Mark Richardson</span><br style="font-size: 12.8px;" class=""><div style="font-size: small;" class=""><span style="font-size: 12.8px;" class="">MAT Postdoctoral Fellow</span><div style="font-size: 12.8px;" class="">Department of Astrophysics</div><div class=""><span style="font-size: 12.8px;" class="">American Museum of Natural History</span><div style="font-size: 12.8px;" class=""><a href="mailto:Mark.Richardson.Work@gmail.com" target="_blank" style="color: rgb(17, 85, 204);" class="">Mark.Richardson.Work@gmail.com</a></div><div class=""><a href="https://sites.google.com/site/marklarichardson/" target="_blank" style="color: rgb(17, 85, 204);" class="">My Website</a><br class=""><div style="font-size: 12.8px;" class="">212 496 3432</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>