From patchwork Thu Nov 2 15:37:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 55822 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 734A727BBE9; Thu, 2 Nov 2023 12:39:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0A8D127BBE2 for ; Thu, 2 Nov 2023 12:39:08 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyWxz-0003Pg-Vx; Thu, 02 Nov 2023 08:38:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyWxx-0003Nt-Ck for guix-patches@gnu.org; Thu, 02 Nov 2023 08:38:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qyWxx-0004xr-4U for guix-patches@gnu.org; Thu, 02 Nov 2023 08:38:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyWyU-0001jo-W2; Thu, 02 Nov 2023 08:39:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66896] [PATCH 3/5] gnu: elemental: Update to 0.87.7-0.6eb15a0. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, guix-patches@gnu.org Resent-Date: Thu, 02 Nov 2023 12:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66896@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Efraim Flashner , Eric Bavier X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier Received: via spool by 66896-submit@debbugs.gnu.org id=B66896.16989287376626 (code B ref 66896); Thu, 02 Nov 2023 12:39:02 +0000 Received: (at 66896) by debbugs.gnu.org; 2 Nov 2023 12:38:57 +0000 Received: from localhost ([127.0.0.1]:54133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyWyO-0001ij-Q2 for submit@debbugs.gnu.org; Thu, 02 Nov 2023 08:38:57 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:45415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyWyM-0001hx-49 for 66896@debbugs.gnu.org; Thu, 02 Nov 2023 08:38:54 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-32f87b1c725so576325f8f.3 for <66896@debbugs.gnu.org>; Thu, 02 Nov 2023 05:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698928693; x=1699533493; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/ADBhZHwiN6Fu7CmTZsL0LvWNMcy/HnsBs0KAGwQits=; b=LtxYhKvrekXGEMEqJq1NKh3MPCJdD+pmgwYF+5nE2+0lf5vjvQtlxpRCh2sGOPbOJW 9MtAfV61qx8x7aYbZPwuxUyUQpYu1Ynap5TifzoWGJTGNuizuoaAuarC6jkU+gJsqv3G I+x4t+GIpYj1dKEVbiPy7aunWPipeyqy0tWccVy5flZNz3LFnLOhL+tai+TEDdrQx7ni vc4loEhbB5gxM4GKCT4CNVAOBTnAtqL88otHmVYJ2ue7XLnSfda9KnXX/HQ1auAahm18 DNBokQrFNZd8trsY7Vr5c6iQbV+38YBtTqTfKgwRrmAm18kRt5PxQUx/veNkPm60WMrC WiRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698928693; x=1699533493; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/ADBhZHwiN6Fu7CmTZsL0LvWNMcy/HnsBs0KAGwQits=; b=aF2ywnGra1wf2vheqUX2TlD8S3dX0k7R6EIe1AuX0+IK2MZKSNZ5AON8WKtHvuf/M7 df3JTfKkhFDwAQJpCVCriQz6ntB25wUfD8rDqCpRQUNLhW+ETSpGpbnYYN/m4fggQJcM 2tJIWzrOV+fJ7Vsuia7FYJBSqZsC/Eeo5fpsaGBB5EhRPe+lUsXHaR+8IMRE/n0drZ5w rIpwODo0GpWJSsyym5CqGCqLdzqpNE/A+LfA+KLdKsRgUj7gYU2mdiB0SROw5zAhm77f XxJYNbFDPrpyyQ0QwePHS4VYiyIn1kNrNB9gYJuhSQRrtNq9eH+TeSROUUDkW6sVgnJO bHlA== X-Gm-Message-State: AOJu0Yy1guMG02n9K+aLOODIYaCrFH6aQSCzzcRwKnr0eIGsCS3szjob QRGCgbAlJIrxkxCXiVGgsdyRsU5uoUtS6Q== X-Google-Smtp-Source: AGHT+IEnMnhHLyc+mLOQhVB+m2mF73/xsdUXm3JFadE1petEeUEsSSAXAKw9H9JNsqXQStvZ1vALew== X-Received: by 2002:a05:6000:1882:b0:32f:7f78:e29c with SMTP id a2-20020a056000188200b0032f7f78e29cmr11755216wri.38.1698928693371; Thu, 02 Nov 2023 05:38:13 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id e12-20020adfe7cc000000b003143c9beeaesm2369671wrn.44.2023.11.02.05.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 05:38:12 -0700 (PDT) From: Sharlatan Hellseher Date: Thu, 2 Nov 2023 15:37:48 +0000 Message-ID: <96c3ec9b8fa156645d956d8ce893e0501175d42a.1698938938.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches The build of elemental is failed on GCC 7+: https://github.com/elemental/Elemental/issues/254 Fixed but not released yet in merge request: https://github.com/elemental/Elemental/pull/259 * gnu/packages/maths.scm (elemental): Update to 0.87.7-0.6eb15a0. Change-Id: I333f1de160489035f1a8875173abdd57c03ef777 --- gnu/packages/maths.scm | 109 +++++++++++++++++++++-------------------- 1 file changed, 57 insertions(+), 52 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index ed1708c77b..6b9725bdcc 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -7593,60 +7593,65 @@ (define-public elpa-openmpi (synopsis "Eigenvalue solvers for symmetric matrices (with MPI support)"))) (define-public elemental - (package - (name "elemental") - (version "0.87.7") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/elemental/Elemental") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1687xpjjzig27y2pnqv7hv09smpijyfdpz7qjgmcxf4shfajlfkc")))) - (build-system cmake-build-system) - (home-page "https://github.com/elemental/Elemental") - (native-inputs - (list gfortran)) - (inputs - `(("blas" ,openblas) - ("gfortran:lib" ,gfortran "lib") - ("gmp" ,gmp) - ("lapack" ,lapack) - ("metis" ,metis) - ("mpc" ,mpc) - ("mpfr" ,mpfr) - ("mpi" ,openmpi) - ("qd" ,qd))) - (arguments - `(#:build-type "Release" ;default RelWithDebInfo not supported - #:configure-flags `("-DEL_DISABLE_PARMETIS:BOOL=YES" - "-DEL_AVOID_COMPLEX_MPI:BOOL=NO" - "-DEL_CACHE_WARNINGS:BOOL=YES" - "-DEL_TESTS:BOOL=YES" - "-DCMAKE_INSTALL_LIBDIR=lib" - "-DGFORTRAN_LIB=gfortran") - #:phases (modify-phases %standard-phases - (add-before 'check 'mpi-setup - ,%openmpi-setup) - (add-before 'check 'setup-tests - (lambda _ - ;; Parallelism is done at the MPI layer. - (setenv "OMP_NUM_THREADS" "1") - #t)) - (add-after 'install 'remove-tests - (lambda* (#:key outputs #:allow-other-keys) - ;; Tests are installed, with no easy configuration - ;; switch to prevent this, so delete them. - (delete-file-recursively - (string-append (assoc-ref outputs "out") "/bin")) - #t))))) - (synopsis "Dense and sparse-direct linear algebra and optimization") - (description "Elemental is a modern C++ library for distributed-memory + ;; The build of 0.87.7 is failed for a long time due to new version of GCC. The + ;; latest commit has fixes. + ;; See https://github.com/elemental/Elemental/issues/254 + (let ((commit "6eb15a0da2a4998bf1cf971ae231b78e06d989d9") + (revision "0")) + (package + (name "elemental") + (version (git-version "0.87.7" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elemental/Elemental") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06xcs4ic60ndcf2hq19gr8yjwdsnphpcyhapab41rkw726z4lm7p")))) + (build-system cmake-build-system) + (home-page "https://github.com/elemental/Elemental") + (native-inputs + (list gfortran)) + (inputs + `(("blas" ,openblas) + ("gfortran:lib" ,gfortran "lib") + ("gmp" ,gmp) + ("lapack" ,lapack) + ("metis" ,metis) + ("mpc" ,mpc) + ("mpfr" ,mpfr) + ("mpi" ,openmpi) + ("qd" ,qd))) + (arguments + `(#:build-type "Release" ;default RelWithDebInfo not supported + #:configure-flags `("-DEL_DISABLE_PARMETIS:BOOL=YES" + "-DEL_AVOID_COMPLEX_MPI:BOOL=NO" + "-DEL_CACHE_WARNINGS:BOOL=YES" + "-DEL_TESTS:BOOL=YES" + "-DCMAKE_INSTALL_LIBDIR=lib" + "-DGFORTRAN_LIB=gfortran") + #:phases (modify-phases %standard-phases + (add-before 'check 'mpi-setup + ,%openmpi-setup) + (add-before 'check 'setup-tests + (lambda _ + ;; Parallelism is done at the MPI layer. + (setenv "OMP_NUM_THREADS" "1") + #t)) + (add-after 'install 'remove-tests + (lambda* (#:key outputs #:allow-other-keys) + ;; Tests are installed, with no easy configuration + ;; switch to prevent this, so delete them. + (delete-file-recursively + (string-append (assoc-ref outputs "out") "/bin")) + #t))))) + (synopsis "Dense and sparse-direct linear algebra and optimization") + (description "Elemental is a modern C++ library for distributed-memory dense and sparse-direct linear algebra, conic optimization, and lattice reduction.") - (license license:bsd-2))) + (license license:bsd-2)))) (define-public mcrl2 (package