<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
This is the MPI environment setting issue. When you install it, you may run its tests to make sure the proper installation. One simple way for your issue is to copy the mpif.h to object folder. It may solve the issue.<br>
<br>
<div dir="ltr">Thanks,
<div>Xingfu</div>
</div>
<div dir="ltr"><br>
<blockquote type="cite">On Jun 1, 2020, at 8:17 AM, Kurt Williams <kurt.williams@research.uwa.edu.au> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf --> <style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello all,</div>
<div> </div>
<div>Thank you in advance for your assistance – and apologies in if this has been answered before.</div>
<div> </div>
<div>I’ve been having trouble configuring FLASH for my first use. I’m using the latest (stable) Fedora build and have installed mpich, hdf5, NetCDF and the GCC using the yum installer.</div>
<div> </div>
<div>I have attempted to run the Sedov code as described in the documentation, but am having trouble when trying to make it. Apparently I’m missing a mpif.h file. Specifically I am getting the error:</div>
<div><i>$ make</i></div>
<div><i>rm -f reorder.sh</i></div>
<div><i>/usr/lib64/mpich/</i><i>gfortran</i><i> -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8 -Wuninitialized -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 local_tree.F90</i></div>
<div><i>local_tree.F90:185: Error: Can't open included file 'mpif.h'</i></div>
<div><i>make: *** [Makefile:116: local_tree.mod] Error 1</i></div>
<div><font face="Times New Roman"> </font></div>
<div>Trying to use “rpm –ql mpich” to find all the mpi files has turned up nothing referencing mpif.h or mpif90, and swapping gfortran for mpif90 in the makefile doesn’t seem to fix it, either.<br>
<br>
I have attached my makefile as a txt, in case it could shed light on the issue.<br>
<br>
If anyone has any advice, I’d be extremely appreciative.<br>
<br>
Thank you, <br>
Kurt</div>
<div><font face="Times New Roman"> </font></div>
<div><font face="Times New Roman"> </font></div>
<div><font face="Times New Roman"></font></div>
<div><font face="Times New Roman"> </font></div>
</span></font>
<div><makefile.txt></div>
</div>
</blockquote>
</body>
</html>