Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Basic question on compiling fortran with windows computer
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-01-06 18:16:30


Sorry -- I was offline for the MPI_Festivus(3) break, and just returned to the office today.

If you don't have the mpif90 or mpif77 executables in the same directory as the mpicc executable, then your installation did not build with Fortran support.

Check the output of "ompi_info -a", too -- that will indicate whether your OMPI installation expects to have Fortran support included or not.

On Dec 28, 2013, at 9:18 AM, Johanna Schauer <JohannaSchauer_at_[hidden]> wrote:

> Hi Jeff,
>
> thanks a lot for your response. When I use "mpif90" I get the same response as before ("'mpif90' is not recognized as an internal or external command, operable program or batch file.").
> Are there any settings I might need to adjust (path variables etc.) ?
>
> Thanks a lot and best wishes,
>
> Johanna
>
> Am 17.12.2013 21:32, schrieb Jeff Squyres (jsquyres):
>> In the OMPI 1.6 series, the Fortran wrapper compilers are named "mpif77" and "mpif90". They were consolidated down to "mpifort" starting with OMPI 1.7.
>>
>>
>> On Dec 17, 2013, at 2:18 PM, Johanna Schauer <JohannaSchauer_at_[hidden]> wrote:
>>
>>> Dear List,
>>>
>>> I have been looking for an answer everywhere, but I cannot find much on this topic.
>>> I have a fortran code that uses open mpi. Also, I have a windows 8 computer.
>>> I have gfortran installed on my computer and it compiles just fine by itself.
>>> Now, I have downloaded and installed Open MPI v.1.6.2-2 win 64.
>>> I have tried to compile my file with the command:
>>> mpifort -o test test.f90
>>> All I get back is the following message: "'mpifort' is not recognized as an internal or external command,
>>> operable program or batch file."
>>>
>>> I would be very thankful for any help.
>>> Best wishes,
>>> Johanna
>>> _______________________________________________
>>> users mailing list
>>> users_at_[hidden]
>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/