delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/30/02:45:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=h+kOynQDEuCvFLpdrsBpF3iLuahiCNt+YNhWqmStamU
mGcpiHQU8N0XZV15oMHZmKWd2L84xZ4EDH5ZXB3m/uwF5OUwY/WD5JSQGcAjf6I+
m6+467kX8RpoejDs0GI97HLdY0YzCmew4JsR+bTCaPyq4oHF5J95sw3gHu1lAXf8
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=E1Amqrsb7a+nBgmVlS/5NX8+ztg=; b=UAYa79HeHq3kL2k6p
f46v9i+UacPMkyA5uQ+RduCYMEJ4rEIJUp2w2Jtbt/HkC2ipwPdqh8U3eKGvatqj
c75xxWgPPuf7rqcB0l3jbXozEb2ohb9IMLd50yMEmwzfo3XEWECMruHhx8AM/PrB
oDQ87RueiwoeflyvGqPtnguS1E=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f179.google.com
X-Received: by 10.194.90.15 with SMTP id bs15mr5002626wjb.22.1430376317970; Wed, 29 Apr 2015 23:45:17 -0700 (PDT)
Message-ID: <5541CF70.70204@gmail.com>
Date: Thu, 30 Apr 2015 08:45:04 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: OpenMPI installation bug: /usr/bin/mpif90 links to non-existent target
References: <CALLo=nrDwOb8sezZoq_TjZ_kQocNFat+wmjtfUpYG6TMsDph2Q AT mail DOT gmail DOT com>
In-Reply-To: <CALLo=nrDwOb8sezZoq_TjZ_kQocNFat+wmjtfUpYG6TMsDph2Q@mail.gmail.com>
X-IsSubscribed: yes

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

- Raw text -


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