From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36151 invoked by alias); 30 Apr 2015 06:45:23 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 36143 invoked by uid 89); 30 Apr 2015 06:45:22 -0000 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 Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com) (209.85.212.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 30 Apr 2015 06:45:21 +0000 Received: by wicmx19 with SMTP id mx19so5576137wic.1 for ; Wed, 29 Apr 2015 23:45:18 -0700 (PDT) X-Received: by 10.194.90.15 with SMTP id bs15mr5002626wjb.22.1430376317970; Wed, 29 Apr 2015 23:45:17 -0700 (PDT) Received: from [192.168.0.5] ([151.60.140.99]) by mx.google.com with ESMTPSA id v3sm955130wix.8.2015.04.29.23.45.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2015 23:45:17 -0700 (PDT) Message-ID: <5541CF70.70204@gmail.com> Date: Thu, 30 Apr 2015 06:45:00 -0000 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@cygwin.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 X-SW-Source: 2015-04/txt/msg00641.txt.bz2 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