<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Qiong,</p>
<p><br>
</p>
<p>Thanks for your help. By checking mpif77, the location of mpif77 is:</p>
<p><br>
</p>
<p>/home/szhang009/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/openmpi-1.6.5/bin/mpif77</p>
<p><br>
</p>
<p>which is in the OpenFOAM file. So I copy and paste it to makenek but it does not work where it still says mpif77 compiler is non-functional. I also checked the dir /usr/bin and there also exists mpif77. So I change makenek to this address but it still returns
 the same error.</p>
<p><br>
</p>
<p>Thanks & Regards,</p>
<p>Simon<br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> nek5000-users-bounces@lists.mcs.anl.gov <nek5000-users-bounces@lists.mcs.anl.gov> on behalf of nek5000-users@lists.mcs.anl.gov <nek5000-users@lists.mcs.anl.gov><br>
<b>Sent:</b> Thursday, 15 January, 2015 6:33 PM<br>
<b>To:</b> nek5000-users@lists.mcs.anl.gov<br>
<b>Subject:</b> Re: [Nek5000-users] Compilation of nek5000 in ubuntu</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">Hi, Simon</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">     I met the similar problem as you before. What I did is :</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">           </div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">    1) check which and where mpif77 have been installed</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">         sth@sth:~$ which mpif77</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">         /usr/.../mpif77</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">     2) change this path to the makenek</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">         F77="/usr/.../mpif77"</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">     also you can include this path to you profile then you don't need to change makenek every time.</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">     hope it helps</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">Qiong</div>
</div>
</div>
</div>
</div>
</body>
</html>