delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/13/17:16:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <32971161.post@talk.nabble.com>
Date: Tue, 13 Dec 2011 14:16:09 -0800 (PST)
From: Stitchz <jsamaral AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: fortran open mpi - getting mpif77 and mpif90 to work
In-Reply-To: <4EE767D9.6070101@aol.com>
MIME-Version: 1.0
References: <32966392 DOT post AT talk DOT nabble DOT com> <4EE767D9 DOT 6070101 AT aol DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

This is what I get on a fresh, default install of cygwin:

$ mpif77

-------
The Open MPI wrapper compiler was unable to find the specific compiler
ifort.exe in your PATH.

Note that this compiler was either specified at configure time or in
one of several possible environment variables.
-------

So for some reason writing mpif77 on the command line does not result on 
a "bash: command not found" error. For some reason the command is
referenced,
even though it doesn't work out of the box.

I installed cyg-apt in the vain hope that it would be able to download open
mpi
or mpich2, but no such luck.


Tim Prince-4 wrote:
> 
> On 12/13/2011 8:41 AM, Stitchz wrote:
>>
>> Is it possible to have a mpif90 command (mpi fortran 90 compiler) working
>> under cygwin? I've tried to download several packages (open mpi, mpich2,
>> ...) but the configure scripts always fail.
> OpenMPI list indicated recently that cygwin support is a work in 
> progress. I recall it depending on mingw cross compilation, but I may be 
> wrong. mpich2 is pre-packaged, and works in a Visual Studio framework, 
> as does current OpenMPI.
>>
>> Since a fresh install of cygwin includes the mpif77 command (even though
>> it
>> just points to a missing ifort.exe in the path), should mean that it
>> SHOULD
>> be able to work...
>>
>>
> This doesn't make sense, nor to I see any evidence of it.  When ifort is 
> supported, it's by an mpiifort wrapper, so as to avoid confusion with 
> gfortran.  This would be a cross compilation, not using cygwin 
> facilities, and would not be supported specifically by anyone, as far as 
> I know.
> 
> -- 
> Tim Prince
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/fortran-open-mpi---getting-mpif77-and-mpif90-to-work-tp32966392p32971161.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019