[mpich-discuss] Setting the mpi include path

Ju JiaJia jujj603 at gmail.com
Mon May 7 08:00:43 CDT 2012


Use mpif90 -show or mpif90 -echo to see what mpif90 is doing.



On Mon, May 7, 2012 at 8:13 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:

>
> On 05/07/2012 01:21 AM, Erhan.Erdogan at ankara.edu.tr wrote:
>
>> I tried to compile my code using 'mpif90' command. It gives the same error
>> message: ' Can't open the included file 'mpif.h'. How can I change the
>> include path? Did I install the mpich2 to wrong directory?
>> /home/jmg/mpich2-install/**include/
>>
>
> You should use mpif90 from wherever you installed mpich2.  In this case
> from /home/jmg/mpich2-install/bin
>
>  -- Pavan
>
>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
> ______________________________**_________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/**mailman/listinfo/mpich-discuss<https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120507/449ddd8f/attachment.htm>


More information about the mpich-discuss mailing list