<div dir="ltr">yes, /home/fkomijani/program_install/mpich-3.0.4/include contains mpih.f<br></div><div class="gmail_extra"><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 class=""><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 class="">
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 class="">
<<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 class="h5">
        <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 class=""><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 class=""><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 class="h5"><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 class="HOEnZb"><div class="h5">
______________________________<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>-- <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>