From patchwork Fri Jul 12 11:47:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 66179 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 C1AC827BBE9; Fri, 12 Jul 2024 12:54:41 +0100 (BST) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 A678327BBEA for ; Fri, 12 Jul 2024 12:54:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSEqi-00021v-JF; Fri, 12 Jul 2024 07:54:04 -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 1sSEqg-0001vK-VJ for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:02 -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 1sSEqg-0002gO-Mu for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSEqg-0006pC-MM for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72062] [PATCH v2 1/5] gnu: Add openpmix. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Jul 2024 11:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72062 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72062@debbugs.gnu.org Cc: ludovic.courtes@inria.fr, Romain GARBAGE Received: via spool by 72062-submit@debbugs.gnu.org id=B72062.172078519426145 (code B ref 72062); Fri, 12 Jul 2024 11:54:02 +0000 Received: (at 72062) by debbugs.gnu.org; 12 Jul 2024 11:53:14 +0000 Received: from localhost ([127.0.0.1]:53391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEpt-0006nb-Gg for submit@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:14 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:40875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEpp-0006mn-Aw for 72062@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=crT74xfYN/yker4IvbpOuL6NoQm/P175aP7P34bLYOU=; b=qI1SCEymcdDMy2i6iSytwAz+h0Ec1JqJeyaF2niy/S5Nb/obd2eCzWXs zrt/v9XkxO/uGviezB4cQwS9QbN6c9JdhZnjMl1U8ULESedop+4vVSCue lhJSynbm6HquWzgcG+uE1Qx/AhDqoLzeeOp8Z/HK67KRFXEnQp3enaOiT 0=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,202,1716242400"; d="scan'208";a="175229865" Received: from 91-164-88-5.subs.proxad.net (HELO localhost.localdomain) ([91.164.88.5]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2024 13:53:03 +0200 From: Romain GARBAGE Date: Fri, 12 Jul 2024 13:47:02 +0200 Message-ID: <20240712115235.20217-2-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240712115235.20217-1-romain.garbage@inria.fr> References: <20240712115235.20217-1-romain.garbage@inria.fr> 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 * gnu/packages/parallel.scm (openpmix): New variable. Change-Id: Id23bc710c9b61ede0aebf7e2a18863fbe5fb8304 --- gnu/packages/parallel.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index a16a0d8689..4a57e85e6c 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2021 Stefan Reichör ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 David Elsing +;;; Copyright © 2024 Romain Garbage ;;; ;;; This file is part of GNU Guix. ;;; @@ -51,6 +52,7 @@ (define-module (gnu packages parallel) #:use-module (gnu packages documentation) #:use-module (gnu packages flex) #:use-module (gnu packages freeipmi) + #:use-module (gnu packages libevent) #:use-module (gnu packages linux) #:use-module (gnu packages maths) #:use-module (gnu packages mpi) @@ -612,3 +614,33 @@ (define-public psimd "This header-only C++ library provides a portable interface to single-instruction multiple-data (SIMD) intrinsics.") (license license:expat)))) + +(define-public openpmix + (package + (name "openpmix") + (version "4.2.8") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/openpmix/openpmix/releases/download/v" + version "/pmix-" version ".tar.bz2")) + (sha256 + (base32 + "1j9xlhqrrmgjdkwakamn78y5gj756adi53hn25zksgr3is3l5d09")))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags #~(list (string-append "--with-hwloc=" + (ungexp (this-package-input "hwloc") "lib"))))) + (inputs (list libevent + `(,hwloc "lib"))) + (native-inputs (list perl + python)) + (synopsis "PMIx library") + (description + "PMIx is an application programming interface standard that provides +libraries and programming models with portable and well-defined access +to commonly needed services in distributed and parallel computing +systems.") + (home-page "https://pmix.org/") + ;; The provided license is kind of BSD-style but specific. + (license (license:fsf-free "https://github.com/openpmix/openpmix?tab=License-1-ov-file#License-1-ov-file")))) From patchwork Fri Jul 12 11:47:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 66177 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 C799327BBEC; Fri, 12 Jul 2024 12:54:26 +0100 (BST) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 E73B727BBE9 for ; Fri, 12 Jul 2024 12:54:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSEql-0002Gl-UB; Fri, 12 Jul 2024 07:54:07 -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 1sSEqh-0001wf-9f for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:03 -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 1sSEqh-0002gX-15 for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSEqh-0006pK-6p for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72062] [PATCH v2 2/5] gnu: Add prrte. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Jul 2024 11:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72062 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72062@debbugs.gnu.org Cc: ludovic.courtes@inria.fr, Romain GARBAGE Received: via spool by 72062-submit@debbugs.gnu.org id=B72062.172078519426152 (code B ref 72062); Fri, 12 Jul 2024 11:54:03 +0000 Received: (at 72062) by debbugs.gnu.org; 12 Jul 2024 11:53:14 +0000 Received: from localhost ([127.0.0.1]:53393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEpu-0006nd-3t for submit@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:14 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:40873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEpp-0006mT-TU for 72062@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yqsPhFoI4Fl83DImr6eG3PxIPhBaoR6gI55hWdqQksI=; b=qvTCtBUuKXGRfNkJ38Ol4xkmJT9V469gMovdm56cmyitXIb1yJ780BGN ePl6XxIGZKThKnUDdWNu6G5mtk8FW5Jm5YN3FsEPo36rcZvBDJjCyb2qm R9AWJEnDK9gZhet8smaBNJb+CmD89YYKXS30pB3lBmFmobjAK7zY98UTN k=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,202,1716242400"; d="scan'208";a="175229873" Received: from 91-164-88-5.subs.proxad.net (HELO localhost.localdomain) ([91.164.88.5]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2024 13:53:05 +0200 From: Romain GARBAGE Date: Fri, 12 Jul 2024 13:47:03 +0200 Message-ID: <20240712115235.20217-3-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240712115235.20217-1-romain.garbage@inria.fr> References: <20240712115235.20217-1-romain.garbage@inria.fr> 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 * gnu/packages/parallel.scm (prrte): New variable. Change-Id: I4427eec1a5c7d94ed5f9cbceb55f9372834a8971 --- gnu/packages/parallel.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 4a57e85e6c..f173d1b75e 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -644,3 +644,35 @@ (define-public openpmix (home-page "https://pmix.org/") ;; The provided license is kind of BSD-style but specific. (license (license:fsf-free "https://github.com/openpmix/openpmix?tab=License-1-ov-file#License-1-ov-file")))) + +(define-public prrte + (package + (name "prrte") + (version "3.0.6") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/openpmix/prrte/releases/download/v" + version "/prrte-" version ".tar.bz2")) + (sha256 + (base32 + "0wiy0vk37v4db1jgxza8bci0cczcvj34dalzsrlz05dk45zb7dl3")))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags #~(list (string-append "--with-hwloc=" + (assoc-ref %build-inputs "hwloc")) + (string-append "--with-pmix=" #$(this-package-input "openpmix"))))) + (inputs (list libevent + `(,hwloc "lib") + openpmix)) + (native-inputs (list perl)) + (synopsis "PMIx Reference RunTime Environment (PRRTE)") + (description + "The PMIx Reference RunTime Environment is a runtime environment +containing the reference implementation and capable of operating +within a host SMS. The reference RTE therefore provides an easy way of +exploring PMIx capabilities and testing PMIx-based applications +outside of a PMIx-enabled environment.") + (home-page "https://openpmix.github.io/") + ;; The provided license is kind of BSD-style but specific. + (license (license:fsf-free "https://github.com/openpmix/prrte?tab=License-1-ov-file#License-1-ov-file")))) From patchwork Fri Jul 12 11:47:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 66180 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 AC14527BBEA; Fri, 12 Jul 2024 12:54:48 +0100 (BST) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 39F1E27BBE2 for ; Fri, 12 Jul 2024 12:54:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSEqj-00027G-Nb; Fri, 12 Jul 2024 07:54:05 -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 1sSEqh-0001yb-OZ for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:03 -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 1sSEqh-0002gg-Fy for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSEqh-0006pR-Ki for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72062] [PATCH v2 3/5] gnu: slurm: Add PMIx support. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Jul 2024 11:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72062 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72062@debbugs.gnu.org Cc: ludovic.courtes@inria.fr, Romain GARBAGE Received: via spool by 72062-submit@debbugs.gnu.org id=B72062.172078519526160 (code B ref 72062); Fri, 12 Jul 2024 11:54:03 +0000 Received: (at 72062) by debbugs.gnu.org; 12 Jul 2024 11:53:15 +0000 Received: from localhost ([127.0.0.1]:53395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEpu-0006nl-Ia for submit@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:15 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:40875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEpr-0006mn-7a for 72062@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+jQ0/oHP/eKvOT/d+bvrYUhMykBXe2PNcrO44HN/0dw=; b=Xo1nuJGqgmFJcwKDILroAi6vwizj1v1WUhAeJOzIOQETbYn+YIThrYJS 2kRd/SV+6AhoubmxWWpS95TNYHvegsKYyHcJ1NuK+gUpKNA/GSZeM3dJo oV57KR/qvczEoEeGX0f5pF+5mc5wfTBHkT/NcPHHfzaLf3c1Fo7BsCezA E=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,202,1716242400"; d="scan'208";a="175229876" Received: from 91-164-88-5.subs.proxad.net (HELO localhost.localdomain) ([91.164.88.5]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2024 13:53:07 +0200 From: Romain GARBAGE Date: Fri, 12 Jul 2024 13:47:04 +0200 Message-ID: <20240712115235.20217-4-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240712115235.20217-1-romain.garbage@inria.fr> References: <20240712115235.20217-1-romain.garbage@inria.fr> 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 * gnu/packages/parallel.scm (slurm) [inputs]: Add dependency. [arguments]: Update configure flags. Change-Id: I6544be5eb44980191d0788738ab960263c56c0ba --- gnu/packages/parallel.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index f173d1b75e..694968b727 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -229,6 +229,7 @@ (define-public slurm `(,hwloc-2 "lib") json-c linux-pam + openpmix munge numactl readline)) @@ -245,6 +246,9 @@ (define-public slurm (string-append "--with-json=" #$(this-package-input "json-c")) (string-append "--with-munge=" #$(this-package-input "munge")) + ;; Use PMIx bundled with Open MPI (this is required for Open MPI 5.x). + (string-append "--with-pmix=" #$(this-package-input "openpmix")) + ;; 32-bit support is marked as deprecated and needs to be ;; explicitly enabled. #$@(if (target-64bit?) '() '("--enable-deprecated"))) From patchwork Fri Jul 12 11:47:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 66178 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 28AE527BBE2; Fri, 12 Jul 2024 12:54:28 +0100 (BST) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 E916A27BBEA for ; Fri, 12 Jul 2024 12:54:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSEqj-00028R-Tx; Fri, 12 Jul 2024 07:54:05 -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 1sSEqi-00023v-Rs for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:04 -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 1sSEqi-0002gy-JR for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSEqi-0006pg-Oc for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72062] [PATCH v2 4/5] gnu: Add openmpi-5. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Jul 2024 11:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72062 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72062@debbugs.gnu.org Cc: ludovic.courtes@inria.fr, Romain GARBAGE Received: via spool by 72062-submit@debbugs.gnu.org id=B72062.172078519626173 (code B ref 72062); Fri, 12 Jul 2024 11:54:04 +0000 Received: (at 72062) by debbugs.gnu.org; 12 Jul 2024 11:53:16 +0000 Received: from localhost ([127.0.0.1]:53399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEpv-0006o4-NA for submit@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:16 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:40873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEpr-0006mT-DH for 72062@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cbM8mwrO+H9LSBuYWvVfbRlbWYUyW9KXXgE9XUjVVDc=; b=Hx1JgYgFEsD09tNJFipypVes5Ise6dipgLJqlDbEwzaZ0/GZFMradpjU FYTLTzXdzRIBTIFhFtfDUQ7alLzx46H1XHiYjI5q1afFLpi+nazOdyAC9 8tDsCDg1RW7o8Iy5Eg+UnLPaNI+fZl1FvEsydbSagosbrF7g9b0wYx6mR Y=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,202,1716242400"; d="scan'208";a="175229878" Received: from 91-164-88-5.subs.proxad.net (HELO localhost.localdomain) ([91.164.88.5]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2024 13:53:09 +0200 From: Romain GARBAGE Date: Fri, 12 Jul 2024 13:47:05 +0200 Message-ID: <20240712115235.20217-5-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240712115235.20217-1-romain.garbage@inria.fr> References: <20240712115235.20217-1-romain.garbage@inria.fr> 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 * gnu/packages/mpi.scm (openmpi-5): New variable. Change-Id: I048692b2e928077c9cfa9fb8076ceb356251e1db --- gnu/packages/mpi.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 6270108b16..01f07a0f7c 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2018–2022 Tobias Geerinckx-Rice ;;; Copyright © 2018 Paul Garlick ;;; Copyright © 2019, 2021 Ricardo Wurmus +;;; Copyright © 2024 Romain Garbage ;;; ;;; This file is part of GNU Guix. ;;; @@ -49,6 +50,7 @@ (define-module (gnu packages mpi) #:use-module (gnu packages ncurses) #:use-module (gnu packages parallel) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) #:use-module (gnu packages valgrind) #:use-module (srfi srfi-1) #:use-module (ice-9 match)) @@ -307,6 +309,63 @@ (define-public openmpi ;; See file://LICENSE (license license:bsd-2))) +(define-public openmpi-5 + (package + (inherit openmpi) + (version "5.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.open-mpi.org/software/ompi/v" + (version-major+minor version) + "/downloads/openmpi-" version ".tar.bz2")) + (sha256 + (base32 "02x9xmpggw77mdpikjjx83j6i4v3gkqbncda73lk5axk0vr841cr")))) + + (inputs (modify-inputs (package-inputs openmpi) + ;; As of Open MPI 5.0.X, PMIx is used to communicate + ;; with SLURM, so SLURM'S PMI is no longer needed. + (delete "slurm") + (append ucx) ;for Infiniband support + (append openpmix) ;for PMI support (launching via "srun") + (append prrte))) ;for PMI support (launching via "srun") + (native-inputs (modify-inputs (package-native-inputs openmpi) + (append python))) + + (outputs '("out" "debug")) + (arguments + (substitute-keyword-arguments (package-arguments openmpi) + ((#:configure-flags _) + #~(list "--enable-mpi-ext=affinity" ;cr doesn't work + "--with-sge" + + #$@(if (package? (this-package-input "valgrind")) + #~("--enable-memchecker" + "--with-valgrind") + #~("--without-valgrind")) + + "--with-hwloc=external" + "--with-libevent" + + ;; This replaces --enable-mpirun-prefix-by-default wich is deprecated + ;; since 5.x. + "--enable-prte-prefix-by-default" + + ;; Enable support for the 'Process Management Interface for Exascale' + ;; (PMIx) used e.g. by Slurm for the management communication and + ;; coordination of MPI processes. + (string-append "--with-pmix=" #$(this-package-input "openpmix")) + (string-append "--with-prrte=" #$(this-package-input "prrte")) + + ;; Since 5.x, Infiniband support is provided by ucx. + ;; See https://docs.open-mpi.org/en/main/release-notes/networks.html#miscellaneous-network-notes + (string-append "--with-ucx=" #$(this-package-input "ucx")))) + + ((#:phases phases) + #~(modify-phases #$phases + (delete 'remove-absolute) + (delete 'scrub-timestamps))))))) + (define-public openmpi-c++ (package/inherit openmpi (name "openmpi-c++") From patchwork Fri Jul 12 11:47:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 66181 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 5E5D927BBE9; Fri, 12 Jul 2024 12:54:53 +0100 (BST) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 99AB027BBE2 for ; Fri, 12 Jul 2024 12:54:52 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSEqj-00026q-JL; Fri, 12 Jul 2024 07:54:05 -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 1sSEqi-00021C-BS for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:04 -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 1sSEqi-0002gq-1i for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSEqi-0006pY-7c for guix-patches@gnu.org; Fri, 12 Jul 2024 07:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72062] [PATCH v2 5/5] gnu: openmpi: Set default version to 4.x. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Jul 2024 11:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72062 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72062@debbugs.gnu.org Cc: ludovic.courtes@inria.fr, Romain GARBAGE Received: via spool by 72062-submit@debbugs.gnu.org id=B72062.172078519526166 (code B ref 72062); Fri, 12 Jul 2024 11:54:04 +0000 Received: (at 72062) by debbugs.gnu.org; 12 Jul 2024 11:53:15 +0000 Received: from localhost ([127.0.0.1]:53397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEpv-0006nt-9r for submit@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:15 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:40884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEps-0006mq-2Y for 72062@debbugs.gnu.org; Fri, 12 Jul 2024 07:53:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=e/m783Mvvi3wqxLnwqBuX5w14qe40EHh8t3HALJ2LqE=; b=FzTdVPygMeNoaf4VR3T7CKgNR1F7854HIJfZK3itZ7CA5VxQ0aaowbWa HO+KpT0Tr4O2Hieb4WH37uMVLo2CVwMiHHbgltK0k42gsAKv2B0pebpo8 DKlIl2e5NzFO+LGMfiuBXWGhLHoP+iXhIFTVkOOD/paZJA/N4qMe5mCoO E=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,202,1716242400"; d="scan'208";a="175229891" Received: from 91-164-88-5.subs.proxad.net (HELO localhost.localdomain) ([91.164.88.5]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2024 13:53:11 +0200 From: Romain GARBAGE Date: Fri, 12 Jul 2024 13:47:06 +0200 Message-ID: <20240712115235.20217-6-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240712115235.20217-1-romain.garbage@inria.fr> References: <20240712115235.20217-1-romain.garbage@inria.fr> 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 * gnu/packages/mpi.scm (openmpi-4): New variable. (openmpi): Redefine variable. Change-Id: I899e6259c9bcc579622c57a1ad1e9665f0e5db7f --- gnu/packages/mpi.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 01f07a0f7c..08cfbc3062 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -185,7 +185,9 @@ (define-public hwloc ;; The latest stable series of hwloc. hwloc-2) -(define-public openmpi +(define-public openmpi openmpi-4) + +(define-public openmpi-4 (package (name "openmpi") (version "4.1.6")