This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OpenMPI installation bug: /usr/bin/mpif90 links to non-existent target


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]