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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=aYiE5clUgzYukktE unYJ+bUx+P5EOtlBxFctffexTnhg5fjP0yKw1RcnVnJYqUEfKa5J1noKjVOMM6dx UEKS/YEUnjSfPoo3WF5f3Ogc+O/g2tZAFgBuHSjfMZtCdxkuSlAJ5McxntE1kBUk qaZZLXsxTqOfTN5BTAk7KFBkKQY= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=AS37+bvbiluctMaAusrTrI BxryM=; b=EWHU85oLaizbd/Dswd8ohnBjC4MpZrDvPgcPnJfiwgy3C+PP//7xXO jTlGRda3h4v2NruyBzmVEf4z8rEAmG4pTCJ2N2+Np5bVT4MZnwohTiT8jrIXQ/hp oE2u6WkkjIe+JcNKjbC3pa1VhRXaWVWcQ3P1CPoEERR7Y6YtRIwJw= 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-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 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 == 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:15:33 +0100 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 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