From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31879 invoked by alias); 29 Aug 2018 11:16:12 -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 31665 invoked by uid 89); 29 Aug 2018 11:15:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=UD:blogs.cisco.com, 28082018, thempicbindingswhathappenedandwhy, sk:the-mpi X-HELO: out1-smtp.messagingengine.com Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 29 Aug 2018 11:15:53 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 68EB421B4F for ; Wed, 29 Aug 2018 07:15:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 29 Aug 2018 07:15:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=7HeAZt l2XyC+foppMoC1O2u1WYcpDLMkK2ErDjA1keI=; b=iaFwNCEFgkNSn3LtN46AqJ EmWPPB3uFFjbwniadILsLoREzZaKVmNPbhu/h+GALZlGGf1vecdpgbIJ6uUa9oBp verx8wFAIHL/VVgHc31wtsVICbHFRuhEkn20ee1iZt/AuDoWHGw506aDJc/REx2C T3ohV4w88LMKmskVN1sBrHxOXo4hDsnqWnYsvboI9DONqpVGMW+T5VUW3pXn+qV2 Nnp0MScKinkU/joYQ+MGQgXYcNk6FdY9XPtfvBfYqAv7QYIf+5csWozZr0kdG8V9 eaYYBbAtp13WzOzWL+L8Mmoo61GMnVd9X1/Y8ZRDJwZl0VM4IIw5byolyr+Ph3vg == Received: from [192.168.1.102] (host86-166-190-0.range86-166.btcentralplus.com [86.166.190.0]) by mail.messagingengine.com (Postfix) with ESMTPA id C45F3102A1 for ; Wed, 29 Aug 2018 07:15:35 -0400 (EDT) Subject: Re: libmpi_cxx.dll.a missing To: The Cygwin Mailing List References: From: Jon Turney Message-ID: <08d4e3d4-3175-aabb-376f-09bc5b51ae97@dronecode.org.uk> Date: Wed, 29 Aug 2018 12:26:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-08/txt/msg00367.txt.bz2 On 28/08/2018 12:12, Marco Atzeri wrote: > Am 28.08.2018 um 11:24 schrieb Antonio Pio Rinaldi: >> Hello, >> >> while trying to compile a code with cmake (GNU compiler 7.4 and cmake >> 3.6, latest cygwin), I got an error regarding mpicxx not being able to >> locate the library -lmpi_cxx. >> This was kind of weird, as I had installed the same code in another >> machine some time ago (with GNU compiler 6.4 and cmake 3.3, cygwin >> version 2.8) and did not have this issue. >> >> Then by navigating to the cygwin lib folder, I noticed that the file >> libmpi_cxx.dll.a was missing in the latest version (although the >> package Libs/libopenmpicxx1 seems to be installed). >> >> After copying the library file from the previous version I am able to >> correctly install my code. >> >> I am not sure whether this is a bug, or if I have to set up something >> else to let cygwin install the mpicxx library. >> >> Regards, >> Antonio Pio Rinaldi > > The C++ interface was removed on the upstream version of OpenMPI. > > https://blogs.cisco.com/performance/the-mpi-c-bindings-what-happened-and-why > > The suggested solution is to use the C interface I believe OpenMPI now has a configuration option, --enable-mpi-cxx, which enables these deprecated interfaces to be built. I was going to ask you if not using that was a deliberate choice, since this also breaks a meson test case. -- 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