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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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