From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59782 invoked by alias); 1 Oct 2019 19:32:25 -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 59775 invoked by uid 89); 1 Oct 2019 19:32:24 -0000 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 Received: from mail-oi1-f180.google.com (HELO mail-oi1-f180.google.com) (209.85.167.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Oct 2019 19:32:23 +0000 Received: by mail-oi1-f180.google.com with SMTP id w65so2704466oiw.8 for ; Tue, 01 Oct 2019 12:32:23 -0700 (PDT) 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 Date: Tue, 01 Oct 2019 19:32:00 -0000 Message-ID: Subject: OpenMPI Download and CMake Compilation Errors with C++ To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-10/txt/msg00002.txt.bz2 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 ) 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 , 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 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 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 ) 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