<div dir="ltr"><div>dear<br></div>with regard that there is mpih.f in /home/fkomijani/program_<div dir="ltr">install/mpich-3.0.4/include directory, why i get taht error?<br></div><div>is there any way to add mention address to bashrc (or some where else) to solve error?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 13, 2014 at 11:15 AM, fereshteh komijani <span dir="ltr"><<a href="mailto:fereshtehkomijani@gmail.com" target="_blank">fereshtehkomijani@gmail.com</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">yes, /home/fkomijani/program_install/mpich-3.0.4/include contains mpih.f<br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sat, Sep 13, 2014 at 11:07 AM, Kenneth Raffenetti <span dir="ltr"><<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you 'ls /home/fkomijani/program_<u></u>install/mpich-3.0.4/include' does it contain an mpif.h file? If not, your MPICH installation might be bad.<span><br>
<br>
On 09/13/2014 03:24 PM, fereshteh komijani wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
gfortran -I/home/fkomijani/program_<u></u>install/mpich-3.0.4/include<br>
-I/home/fkomijani/program_<u></u>install/mpich-3.0.4/include<br>
-L/home/fkomijani/program_<u></u>install/mpich-3.0.4/lib -lmpichf90 -lmpich<br>
-lopa -lmpl -lrt -lpthread<br>
<br>
<br>
On Sat, Sep 13, 2014 at 10:52 AM, Kenneth Raffenetti<br></span><span>
<<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>> wrote:<br>
<br>
What is the output from 'mpif90 -show'?<br>
<br>
On 09/13/2014 03:19 PM, fereshteh komijani wrote:<br>
<br>
dear Kenneth Raffenetti<br>
i am using mpif90 compiler.<br>
if it is, why i have got that error?<br>
<br>
On Sat, Sep 13, 2014 at 10:47 AM, Kenneth Raffenetti<br>
<<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>><br></span><div><div>
<mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a> <mailto:<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>>><u></u>> wrote:<br>
<br>
Are you using the mpif77 or mpif90 compiler wrappers to<br>
build your<br>
program? They will automatically add the location of mpif.h<br>
to your<br>
include path.<br>
<br>
On 09/13/2014 02:56 PM, fereshteh komijani wrote:<br>
<br>
Dear friends<br>
<br>
recently I have installed mpich 3.0.4 in my system<br>
(Ubuntu).<br>
<br>
After compiling my model (coawst) it gives me following<br>
error :<br>
<br>
mod_parallel.f90:17: Error: Can't open included file<br>
'mpif.h'<br>
<br>
coaws's developer tell me :<br>
<br>
*check your environment and see if the location of<br>
mpif.h is in your<br>
INCLUDE list*.<br>
<br>
But I don't know what is its mean? Where and how I can<br>
do that? Does<br>
environment mean .bashrc?<br>
<br>
many thanks for any reply<br>
<br>
fereshteh<br>
<br>
<br>
<br>
--<br>
***Angel***<br>
*__*<br>
<br>
<br></div></div>
______________________________<u></u>_____________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
<mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><span><br>
<mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
To manage subscription options or unsubscribe:<br></span>
<a href="https://lists.mpich.org/____mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/____<u></u>mailman/listinfo/discuss</a><br>
<<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a>><br>
<<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><br>
<<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a>>><br>
<br>
______________________________<u></u>_____________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
<mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><span><br>
<mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>>><br>
To manage subscription options or unsubscribe:<br></span>
<a href="https://lists.mpich.org/____mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/____<u></u>mailman/listinfo/discuss</a><br>
<<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a>><div><div><br>
<<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><br>
<<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a>>><br>
<br>
<br>
<br>
<br>
--<br>
***Angel***<br>
*__*<br>
<br>
<br>
______________________________<u></u>___________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><br>
<<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a>><br>
<br>
______________________________<u></u>___________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/__mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/__<u></u>mailman/listinfo/discuss</a><br>
<<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a>><br>
<br>
<br>
<br>
<br>
--<br>
***Angel***<br>
*__*<br>
<br>
<br>
______________________________<u></u>_________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
<br>
</div></div></blockquote><div><div>
______________________________<u></u>_________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div style="text-align:center"><font style="background-color:#cc33cc" size="4" color="#ffffff" face="comic sans ms,sans-serif"><strong>**Angel**</strong></font></div>
<div style="text-align:center"> </div>
<div style="text-align:center"><span><strong><u><font style="background-color:#3333ff" size="4" color="#ffff33" face="Arial Narrow"></font></u></strong></span> </div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div style="text-align:center"><font style="background-color:#cc33cc" color="#ffffff" size="4" face="comic sans ms,sans-serif"><strong>**Angel**</strong></font></div>
<div style="text-align:center"> </div>
<div style="text-align:center"><span><strong><u><font style="background-color:#3333ff" color="#ffff33" size="4" face="Arial Narrow"></font></u></strong></span> </div>
</div>