<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Peter,<br>
<br>
And if you setup FLASH with the flag --portable you should have all
the files, including Makefile.h, in your object directory. You can
set your object directory yourself with the flag
--object=whateveryouchoose.<br>
<br>
Best,<br>
Seyit<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 10/10/17 16:50, Ryan Farber wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAF9W8=0ZHj3F4F55GDYs4+MicyDiSTuLSnwbdhqvdD-zqb9+CA@mail.gmail.com">
<div dir="ltr">Hi Peter,
<div><br>
</div>
<div>I believe Mark was referring to Makefile.h in the sites
directory. Unless you are on a system known by FLASH, the
relevant Makefile.h should be located at</div>
<div><br>
</div>
<div>/PATH_TO_FLASH/sites/Prototype<wbr>s/Linux/Makefile.h</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Best,<br clear="all">
<div>
<div
class="m_-4894139884852167578m_-664563488632620907gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">--------
<div>Ryan</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Tue, Oct 10, 2017 at 7:47 AM,
Peter Woitke <span dir="ltr"><<a
href="mailto:pw31@st-andrews.ac.uk" target="_blank"
moz-do-not-send="true">pw31@st-andrews.ac.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div
id="m_-4894139884852167578m_-664563488632620907m_3595005675077883806divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif"
dir="ltr">
<p>Hi Mark,</p>
<p><br>
</p>
<p>thanks for that. However, I cannot find any
Makefile.h, not before nor after ./configure
--prefix=/home/star/pw31/softw<wbr>are/hdf5
--enable-fortran --enable-parallel.</p>
All I see is a Makefile.in and a Makefile, but none of
them have entries as you listed.
<p>Any idea?</p>
<p><br>
</p>
<p> Peter<br>
</p>
<p><br>
</p>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div
id="m_-4894139884852167578m_-664563488632620907m_3595005675077883806divRplyFwdMsg"
dir="ltr"><font style="font-size:11pt"
color="#000000" face="Calibri, sans-serif"><b>From:</b>
Mark Richardson <<a
href="mailto:mark.richardson.work@gmail.com"
target="_blank" moz-do-not-send="true">mark.richardson.work@gmail.co<wbr>m</a>><br>
<b>Sent:</b> 10 October 2017 15:38<br>
<b>To:</b> Peter Woitke<br>
<b>Cc:</b> flash-users<br>
<b>Subject:</b> Re: [FLASH-USERS] first model:
hdf5 error</font>
<div> </div>
</div>
<div>
<div
class="m_-4894139884852167578m_-664563488632620907h5">
<div>
<div dir="ltr">Hi Peter,
<div><br>
</div>
<div> 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> F90FLAGS</div>
<div> CFLAGS_HDF5</div>
<div> </div>
<div>Perhaps that will solve your problem,</div>
<div> -Mark</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 10 October 2017
at 10:33, Peter Woitke <span dir="ltr">
<<a
href="mailto:pw31@st-andrews.ac.uk"
target="_blank" moz-do-not-send="true">pw31@st-andrews.ac.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
Hi there,<br>
<br>
I just downloaded and compiled mpich,
hdf5 and flash, and I am getting
run-time error ...<br>
<br>
HDF5-DIAG: Error detected in HDF5
(1.10.1) MPI-process 0:<br>
#000: H5Ddeprec.c line 128 in
H5Dcreate1(): not a location ID<br>
major: Invalid arguments to routine<br>
minor: Inappropriate type<br>
#001: H5Gloc.c line 251 in H5G_loc():
invalid object ID<br>
major: Invalid arguments to routine<br>
minor: Bad value<br>
flash4: io_h5create_dataset.c:57:
io_h5create_dataset: Assertion `dataset
<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
= 0'<br>
</blockquote>
<br>
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>
ugo+rw permissions.<br>
<br>
I read in another FLASH-USER entry that
one should try<br>
<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
./setup -auto Sedov +ug<br>
</blockquote>
<br>
This results in another run-time error
...<br>
<br>
[Driver_init] Must set runtime
parameters iProcs, jProcs, kProcs, and
meshCopyCount so that
iProcs*jProcs*kProcs*meshCopyC<wbr>ount
equals number of processors<br>
Calling MPI_Abort() for immediate
shutdown!<br>
<br>
Thank you for your help,<br>
<br>
Peter Woitke<br>
<br>
<br>
------------------------------<wbr>----------------------------<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
cd ~/software/hdf5-1.10.1<br>
setenv CC mpicc<br>
setenv CXX mpicxx<br>
setenv FC mpif90<br>
./configure --help<br>
./configure
--prefix=/home/star/pw31/softw<wbr>are/hdf5<br>
</blockquote>
--enable-fortran
--enable-parallel<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
make<br>
make check<br>
make install<br>
make check-install<br>
</blockquote>
add /home/star/pw31/software/hdf5/<wbr>lib
to LD_LIBRARY_PATH
------------------------------<wbr>----------------------------<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
cd ~/flash4.4/sites<br>
mkdir prodimo<br>
cp Prototypes/Linux/<a
href="http://Makefile.h.in"
target="_blank"
moz-do-not-send="true">Makefile.h.in</a><wbr>tel
prodimo/Makefile.h<br>
cd prodimo<br>
emacs Makefile.h ...<br>
cd ~/flash4.4<br>
./setup -auto Sedov cd object<br>
make<br>
</blockquote>
SUCCESS<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
mkdir ../runSedov<br>
cd ../runSedov<br>
cp ../source/Simulation/Simulatio<wbr>nMain/SedovChamber/flash.par
.<br>
mpirun -np 7 ../object/flash4<br>
</blockquote>
------------------------------<wbr>----------------------------<br>
<br>
<br>
<br>
Dr. Peter Woitke<br>
St Andrews University<br>
School of Physics & Astronomy<br>
top floor, room 306<br>
North Haugh<br>
KY16 9SS<br>
St Andrews, UK<br>
Tel: <a
href="tel:%28%2B44%29%201334%2046%201681"
value="+441334461681" target="_blank"
moz-do-not-send="true">
(+44) 1334 46 1681</a><br>
Fax: <a
href="tel:%28%2B44%29%201334%2046%203104"
value="+441334463104" target="_blank"
moz-do-not-send="true">
(+44) 1334 46 3104</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div
class="m_-4894139884852167578m_-664563488632620907m_3595005675077883806gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><br>
<span
style="font-size:12.8px">Mark
Richardson</span><br
style="font-size:12.8px">
<div
style="font-size:small"><span
style="font-size:12.8px">MAT Postdoctoral Fellow</span>
<div
style="font-size:12.8px">Department
of Astrophysics</div>
<div><span
style="font-size:12.8px">American
Museum of Natural
History</span>
<div
style="font-size:12.8px"><a
href="mailto:Mark.Richardson.Work@gmail.com"
style="color:rgb(17,85,204)"
target="_blank"
moz-do-not-send="true">Mark.Richardson.Work@gmail.com</a></div>
<div><a
href="https://sites.google.com/site/marklarichardson/"
style="color:rgb(17,85,204)" target="_blank" moz-do-not-send="true">My
Website</a><br>
<div
style="font-size:12.8px"><a
href="tel:%28212%29%20496-3432" value="+12124963432" target="_blank"
moz-do-not-send="true">212
496 3432</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dr. Seyit Hocuk
Post-doctoral researcher
Center for Astrochemical Studies (CAS)
Max-Planck-Institute for Extraterrestrial physics (MPE)
Giessenbachstrasse 1, 85748 Garching bei Munchen
Phone: +49-8930000-3012 | Fax: +49-8930000-3569
Web : <a class="moz-txt-link-abbreviated" href="http://www.mpe.mpg.de/~seyit">www.mpe.mpg.de/~seyit</a></pre>
</body>
</html>