[mpich-discuss] mpif.h
fereshteh komijani
fereshtehkomijani at gmail.com
Sat Sep 13 01:24:28 CDT 2014
gfortran -I/home/fkomijani/program_install/mpich-3.0.4/include
-I/home/fkomijani/program_install/mpich-3.0.4/include
-L/home/fkomijani/program_install/mpich-3.0.4/lib -lmpichf90 -lmpich -lopa
-lmpl -lrt -lpthread
On Sat, Sep 13, 2014 at 10:52 AM, Kenneth Raffenetti <raffenet at mcs.anl.gov>
wrote:
> What is the output from 'mpif90 -show'?
>
> On 09/13/2014 03:19 PM, fereshteh komijani wrote:
>
>> dear Kenneth Raffenetti
>> i am using mpif90 compiler.
>> if it is, why i have got that error?
>>
>> On Sat, Sep 13, 2014 at 10:47 AM, Kenneth Raffenetti
>> <raffenet at mcs.anl.gov <mailto:raffenet at mcs.anl.gov>> wrote:
>>
>> Are you using the mpif77 or mpif90 compiler wrappers to build your
>> program? They will automatically add the location of mpif.h to your
>> include path.
>>
>> On 09/13/2014 02:56 PM, fereshteh komijani wrote:
>>
>> Dear friends
>>
>> recently I have installed mpich 3.0.4 in my system (Ubuntu).
>>
>> After compiling my model (coawst) it gives me following error :
>>
>> mod_parallel.f90:17: Error: Can't open included file 'mpif.h'
>>
>> coaws's developer tell me :
>>
>> *check your environment and see if the location of mpif.h is in
>> your
>> INCLUDE list*.
>>
>> But I don't know what is its mean? Where and how I can do that?
>> Does
>> environment mean .bashrc?
>>
>> many thanks for any reply
>>
>> fereshteh
>>
>>
>>
>> --
>> ***Angel***
>> *__*
>>
>>
>> _________________________________________________
>> discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/__mailman/listinfo/discuss
>> <https://lists.mpich.org/mailman/listinfo/discuss>
>>
>> _________________________________________________
>> discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/__mailman/listinfo/discuss
>> <https://lists.mpich.org/mailman/listinfo/discuss>
>>
>>
>>
>>
>> --
>> ***Angel***
>> *__*
>>
>>
>> _______________________________________________
>> discuss mailing list discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
--
***Angel***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140913/71f69b27/attachment.html>
More information about the discuss
mailing list