<div>Use mpif90 -show or mpif90 -echo to see what mpif90 is doing.</div>
<div><br><br> </div>
<div class="gmail_quote">On Mon, May 7, 2012 at 8:13 PM, Pavan Balaji <span dir="ltr">&lt;<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="im"><br>On 05/07/2012 01:21 AM, <a href="mailto:Erhan.Erdogan@ankara.edu.tr" target="_blank">Erhan.Erdogan@ankara.edu.tr</a> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">I tried to compile my code using &#39;mpif90&#39; command. It gives the same error<br>message: &#39; Can&#39;t open the included file &#39;mpif.h&#39;. How can I change the<br>
include path? Did I install the mpich2 to wrong directory?<br>/home/jmg/mpich2-install/<u></u>include/<br></blockquote><br></div>You should use mpif90 from wherever you installed mpich2.  In this case from /home/jmg/mpich2-install/bin<span class="HOEnZb"><font color="#888888"><br>
<br> -- Pavan</font></span> 
<div class="HOEnZb">
<div class="h5"><br><br>-- <br>Pavan Balaji<br><a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>______________________________<u></u>_________________<br>mpich-discuss mailing list     <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
To manage subscription options or unsubscribe:<br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/<u></u>mailman/listinfo/mpich-discuss</a><br></div></div></blockquote>
</div><br>