* OpenMPI installation bug: /usr/bin/mpif90 links to non-existent target
@ 2015-04-30 1:32 Mark Hadfield
2015-04-30 6:45 ` Marco Atzeri
0 siblings, 1 reply; 2+ messages in thread
From: Mark Hadfield @ 2015-04-30 1:32 UTC (permalink / raw)
To: Cygwin
I have the current versions of openmpi and libopenmpi installed in
Cygwin-64. The mpif90 command (MPI wrapper for Gfortran) does not
execute, even though /usr/bin/mpif90 exists. The problem is that
/usr/bin/mpif90 is a symbolic link to /usr/bin/mpifort.exe, which does
not exist. However /usr/bin/mpifort does exist (and is itself a link
to /usr/bin/opal_wrapper.exe). I have cured this by changing the
target of /usr/bin/mpif90:
$ ln -sf /usr/bin/mpifort /usr/bin/mpif90
Mark Hadfield
51 Volga St
Wellington 6023, NZ
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: OpenMPI installation bug: /usr/bin/mpif90 links to non-existent target
2015-04-30 1:32 OpenMPI installation bug: /usr/bin/mpif90 links to non-existent target Mark Hadfield
@ 2015-04-30 6:45 ` Marco Atzeri
0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2015-04-30 6:45 UTC (permalink / raw)
To: cygwin
On 4/30/2015 3:32 AM, Mark Hadfield wrote:
> I have the current versions of openmpi and libopenmpi installed in
> Cygwin-64. The mpif90 command (MPI wrapper for Gfortran) does not
> execute, even though /usr/bin/mpif90 exists. The problem is that
> /usr/bin/mpif90 is a symbolic link to /usr/bin/mpifort.exe, which does
> not exist. However /usr/bin/mpifort does exist (and is itself a link
> to /usr/bin/opal_wrapper.exe). I have cured this by changing the
> target of /usr/bin/mpif90:
>
> $ ln -sf /usr/bin/mpifort /usr/bin/mpif90
>
> Mark Hadfield
> 51 Volga St
> Wellington 6023, NZ
>
Yes, I know.
you can also use
ln -sf usr/bin/opal_wrapper.exe /usr/bin/mpif90
ln -sf usr/bin/opal_wrapper.exe /usr/bin/mpif77
It is due to the interation of openmpi double link
and cygport post-install rename of links.
1.8.5 will not have the issue, as I proposed a patch upstream
https://github.com/open-mpi/ompi-release/commit/1147ddee73e84f80e27799e77391fc74033a6391
Regards
Marco
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-30 6:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30 1:32 OpenMPI installation bug: /usr/bin/mpif90 links to non-existent target Mark Hadfield
2015-04-30 6:45 ` Marco Atzeri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).