<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Joe, <br>
<br>
Try installing the mpich2 development package for your distribution<br>
(in Fedora it is named "mpich2-devel"). I am guessing that you have<br>
only installed the "mpich2" package because the MPI compiler wrapper<br>
scripts cannot find the MPI header files. Remove the mpi.h and
mpif.h<br>
from the FLASH object directory and re-run gmake.<br>
<br>
Chris<br>
<br>
On 12/31/2011 04:42 PM, Joe Hellmers wrote:
<blockquote cite="mid:002401ccc80d$90092430$b01b6c90$@com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">I'm just trying to get the Sedov example
working to begin with<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When trying to run gmake I get the error
below. Do I have the wrong version of gcc or gfortran?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Alternatively, is there a way to just turn
off MPI for now?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Note: In order to get this far I had to
copy the mpi.h and mpif.h into the object directory.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">rm -f reorder.sh<o:p></o:p></p>
<p class="MsoNormal">/usr/lib64/mpich2/bin/mpif90 -c
-DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2
io_c_interface.F90<o:p></o:p></p>
<p class="MsoNormal">if [ -w io_c_interface.mod -a -s
io_c_interface.mod -a \( io_c_interface.mod !=
io_c_interface.mod \) ] ;then ln -f io_c_interface.mod
io_c_interface.mod;fi<o:p></o:p></p>
<p class="MsoNormal">/usr/lib64/mpich2/bin/mpif90 -c
-DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2
Driver_abortFlash.F90<o:p></o:p></p>
<p class="MsoNormal">mpif.h:7.70:<o:p></o:p></p>
<p class="MsoNormal"> Included at Flash_mpi.h:1:<o:p></o:p></p>
<p class="MsoNormal"> Included at Driver_abortFlash.F90:34:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> subroutine MPI_AllReduceIntegerArray
(sendBuf, recvBuf, count, <o:p></o:p></p>
<p class="MsoNormal"> 1<o:p></o:p></p>
<p class="MsoNormal">Error: Invalid character in name at (1)<o:p></o:p></p>
<p class="MsoNormal">mpif.h:8.6:<o:p></o:p></p>
<p class="MsoNormal"> Included at Flash_mpi.h:1:<o:p></o:p></p>
<p class="MsoNormal"> Included at Driver_abortFlash.F90:34:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> & datatype ,reduceOp, mpiComm,
ierr)<o:p></o:p></p>
<p class="MsoNormal"> 1<o:p></o:p></p>
<p class="MsoNormal">Error: Invalid character in name at (1)<o:p></o:p></p>
<p class="MsoNormal">mpif.h:9.25:<o:p></o:p></p>
<p class="MsoNormal"> Included at Flash_mpi.h:1:<o:p></o:p></p>
<p class="MsoNormal"> Included at Driver_abortFlash.F90:34:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> INTEGER :: mpiComm<o:p></o:p></p>
<p class="MsoNormal"> 1<o:p></o:p></p>
<p class="MsoNormal">Error: Unexpected data declaration
statement in INTERFACE block at (1)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Joe Hellmers<o:p></o:p></p>
<p class="MsoNormal">SDSU<o:p></o:p></p>
<p class="MsoNormal">Dept of Computational Sciences <o:p></o:p></p>
<p class="MsoNormal">Graduate Student<o:p></o:p></p>
<p class="MsoNormal">Email: <a class="moz-txt-link-abbreviated" href="mailto:jhellmer@rohan.sdsu.edu">jhellmer@rohan.sdsu.edu</a><o:p></o:p></p>
<p class="MsoNormal">Phone: 619-368-1625<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
</body>
</html>