delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/10/01/15:33:14

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:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=P3EWJLxZhoXiAi2wy9UiCXzaXd6Rm
aIUlTHhbISL3LmPNU40703NCdF6J3WJa4eno8BY/iTlv+47L89sp83rzWVQABFsN
aVNASx/nmcdej5pDYpc2ZxujlisQTN/H841srLlOEF78dNQDRSFVSubnNL3aDZEJ
Kf1dXJR1Nm0KhQ=
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:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=zuI4LNVT1StgmNzDl8Hs218SEWE=; b=f0T
VvZrf/hwNbbVs9gjt+Co5WtZOaAOn9SRDb4/fNB4lWqhemSfmmPNodm0s1Mc0LWl
qlOby/FoRgSlhFl7jRphVhigAlaQBAcOS0RbAo4P/Iv7XuC91wr+u2Eh5yzKo00b
yCJBYsshQ0QjgJue7EOVYfatSOVb6AF2Q0m3jvLg=
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-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL autolearn=no version=3.3.1 spammy=Download, rectify, H*c:alternative, yourself
X-HELO: mail-oi1-f180.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=VY87x0yBTX+QKkyqoQUJGTsdnMBR7LqG5/ouaCQUBYE=; b=tejYgUNA4eRAirdyrLlWVTeDC6M/o/BlWkSFZR4OCtZjf5+vlNnO6YGhTjMhfGVIwt dqLpsmeeVFuZYPObq71F+HnXK8o0mEeDwrYuzxykTkVcPNG/IEFM+yIeSxkAiXNcCdfV FK0yRauGvcMc+Z60AuxTOacFinNqu34OZ/qz/t0hFc8jerHnCmpeRDA2cBsukbqRcSUF vycBS931MFNYIt7tamI1iW7yhZaO56aPRNmA28aLLYdSP1GazWwFxmUt9scTVfr2HueO 3FzcMtj6ZWZoX4y6/zR5ggX6mT1cq6ve+87LBkLHYWaDUlK3GehfE+zFYXhPazcYs3hp Y37Q==
MIME-Version: 1.0
From: Nicholas Brunk <nbrunk AT iu DOT edu>
Date: Tue, 1 Oct 2019 15:32:10 -0400
Message-ID: <CACLbYqK1SQLxWxDB1CU73hDGM=PTRn+t-NO+5GgdJSNje8D8zg@mail.gmail.com>
Subject: OpenMPI Download and CMake Compilation Errors with C++
To: cygwin AT cygwin DOT com

 I am trying to use Cygwin with hybrid OMP/MPI parallelization, which
worked previously with OpenMP version 1.10.7-1.  However, upon updating
this in Cygwin, the removal of the C++ compiler functionality with OMP 3+
(as reported here <https://sourceware.org/ml/cygwin/2018-09/msg00180.html>)
has caused problems.

I have tried many steps to rectify this without success, with my IDE
(CLion) always reporting during the CMake process that it "Could not find
MPI_CXX (missing:  MPI_CXX_WORKS)" and "Could not find MPI (missing:
MPI_CXX_FOUND)".  [My cygcheck file is over 1MB and the mailer daemon for
the listserver doesn't allow it to be attached.]

First, I tried simply reverting the update to the version of openmpi in
which the C++ compiler functionality was not yet deprecated, listed as
"openmpi-1.10.7-1" in the Cygwin installer.  However, regardless of mirror,
the Cygwin installer reports "The following package had download errors."
So there seems to be a download bug preventing users from installing the
listed previous version of the OpenMPI package I was using previously.
While OpenMP version 1.10.7 can be downloaded directly from the OMP website
here <https://www.open-mpi.org/software/ompi/v1.10/>, I do not know how to
install it properly into Cygwin or otherwise make my IDE (CLion) work with
the two.

Trying to get any of the new versions of openmpi (that may be downloaded
via Cygwin) working also had problems.  I see here
<https://www.open-mpi.org/software/ompi/v1.10/> others reporting this
issue, and a support person stated one can "reinstate the mpicxx wrapper
yourself," but I have no idea what this means (I'm just a physicist).  I
then saw the post here
<https://sourceware.org/ml/cygwin/2018-09/msg00216.html> stating a certain
(available) version was "reverting the removal of the C++ compiler
invocation," but installing that version does not change the errors
reported at all.  I've also seen people saying (e.g. here
<https://sourceware.org/ml/cygwin/2018-08/msg00363.html>) that
configuration of OpenMP can be done in such a way as to restore
functionality.  However, I have no idea how to actually do this within
either Cygwin or my IDE.

Can either 1) the ability to successfully download and install the older
listed version of OpenMP, be restored, or 2) a clear set of instructions
(or CMake script) that enables the new version of OpenMPI to compile with a
C++ project be provided?

Thank you so much,

Nicholas

--
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