From patchwork Fri Jul 12 12:00:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 66182 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 87D2A27BBE9; Fri, 12 Jul 2024 13:02:35 +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 3A4F527BBE2 for ; Fri, 12 Jul 2024 13:02:35 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSEye-0000Rz-TA; Fri, 12 Jul 2024 08:02:16 -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 1sSEyS-0008CE-1M for guix-patches@gnu.org; Fri, 12 Jul 2024 08:02: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 1sSEyQ-0004ic-H1 for guix-patches@gnu.org; Fri, 12 Jul 2024 08:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSEyQ-000745-LR for guix-patches@gnu.org; Fri, 12 Jul 2024 08:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72062] [PATCH v3 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 12:02: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.172078571827106 (code B ref 72062); Fri, 12 Jul 2024 12:02:02 +0000 Received: (at 72062) by debbugs.gnu.org; 12 Jul 2024 12:01:58 +0000 Received: from localhost ([127.0.0.1]:53422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEyK-00072p-6L for submit@debbugs.gnu.org; Fri, 12 Jul 2024 08:01:58 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:1634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSEyF-00072F-F5 for 72062@debbugs.gnu.org; Fri, 12 Jul 2024 08:01:53 -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=a1C6yNJ/iUGLomIDSrPFS75WSc2lroX+nLn4R99doKYz+oZnyvSJ5TIi LyQ1KBJ9tuDeoni+Tj/ECA7L+MeXjnNlNN8jlt6+Pxm5St/rhd77BfkY+ J7a2A4O+6a+4pk3193hGf8lNBgnb3Iq7MGBe6Azsh2i0JxPcG/pzBC8OQ w=; 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="175231342" 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 14:01:45 +0200 From: Romain GARBAGE Date: Fri, 12 Jul 2024 14:00:01 +0200 Message-ID: <20240712120140.20391-2-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240712120140.20391-1-romain.garbage@inria.fr> References: <20240712120140.20391-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"))))