From unknown Sat Aug 16 22:46:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74419] [PATCH 0/5] MPI support for Slingshot via libcxi Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: romain.garbage@inria.fr, guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 14:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74419@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , romain.garbage@inria.fr X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: romain.garbage@inria.fr Received: via spool by submit@debbugs.gnu.org id=B.173194178426184 (code B ref -1); Mon, 18 Nov 2024 14:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2024 14:56:24 +0000 Received: from localhost ([127.0.0.1]:34720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3At-0006oG-MU for submit@debbugs.gnu.org; Mon, 18 Nov 2024 09:56:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:57538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ar-0006oA-IT for submit@debbugs.gnu.org; Mon, 18 Nov 2024 09:56:22 -0500 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 1tD3Ar-0002yC-4Z for guix-patches@gnu.org; Mon, 18 Nov 2024 09:56:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3Aq-0008Dr-2z; Mon, 18 Nov 2024 09:56:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=QQcDDfmEq8WpiBJZYUoezCuYwdx2AMKoXD6LzDptbug=; b=kYe/qD94bJiBsw ZN8lGJUJ1S3bLBWyQSJyzDcNfTedMmwuWCW/UcvKrtKlxG+oGp/L/H58rkA0hYXNqj0mBrAUKxbus T/RrSAUdJ/QdAXmjngDF3nsRU9pNA/GnwIEQjRHA+GfXC0o0wU68Z3F/mDSVbTmMkTpx7J1j45vN4 BvfGUVRkqgakO/jDFiLkG2JDT9EEkE1PNFRngiIsEHDoH5FnroCVvo9PdaOHDg4k4W3euWvA7Phso f3D0WnxRIian7s7CQEkV77PyeEdzl1pY1p4DGc8PYycS1fyLSXEs00brpS7txJ4s7o/ikMObb5AZ2 x+b+bj8WH7b9Mw5l7ACA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 18 Nov 2024 15:56:03 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Ludovic Courtès Hello, This series provides packages adding support for HPE’s Slingshot high-speed interconnect to Open MPI. I have tested the whole stack with ‘intel-mpi-benchmarks’ on a Tier-1 supercomputer with a Slingshot NIC (Adastra, in France) and confirmed that we get the expected peak bandwidth, around 25 GB/s. Libcxi and related packages were fully published as free software just today. I’m really happy about that because it unlocks access to major supercomputers using a free software stack, and using Guix! Incidentally, Guix will be the very first distro shipping packages off their free releases. :-) Many thanks to the people we talked to at HPE who helped make this happen faster. Ludo’. Ludovic Courtès (5): gnu: Add cassini-headers. gnu: Add cxi-driver. gnu: Add libcxi. gnu: libfabric: Enable libcxi support. gnu: openmpi: Disable static libraries. gnu/packages/linux.scm | 137 +++++++++++++++++++++++++++++++++++++++-- gnu/packages/mpi.scm | 2 + 2 files changed, 135 insertions(+), 4 deletions(-) base-commit: 23cbbe6860782c5d4a0ba599ea1cda0642e91661 -- 2.46.0 From unknown Sat Aug 16 22:46:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74419] [PATCH 1/5] gnu: Add cassini-headers. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74419@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Leo Famulari , Wilko Meyer X-Debbugs-Original-Xcc: Leo Famulari , Wilko Meyer Received: via spool by 74419-submit@debbugs.gnu.org id=B74419.173194202227036 (code B ref 74419); Mon, 18 Nov 2024 15:01:02 +0000 Received: (at 74419) by debbugs.gnu.org; 18 Nov 2024 15:00:22 +0000 Received: from localhost ([127.0.0.1]:34744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ej-00071y-Ur for submit@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ei-00071Z-7k for 74419@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:20 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3ES-0000OC-6M; Mon, 18 Nov 2024 10:00:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=T9LG7RfyzGf+gjGzfqEekWgCbkMb66+RitBuMmh/ego=; b=a7gFKXGAvu44eA0lXUOA 38sdWGF1qVEgvKAHDOGLQCQ/PpegULgAk9n46uJ02u5bJQKLnWSQ/oj/kYKHVrfk8B6oCdEAYWd2W SSH3nPkkASe6icxaPeTXY6iVTvTosI2/IzfI5T7f++B5GGz3nQCfOzKZG92WHSmoF+o6iMOdKsasa iveV03CO+5SyVoQ8x8CLcDwqYtAa7rm69lPAlyfVHS7gSYUEHZWPVe2mPjUDBRFOQspkdT8VFbF21 jf7QCU9lalnRPkDC/fl5tekZxNfGqH2IvAit+Sdq03BV4RhVzxW4mM47VhQyPboOZB685FEyj2SGW FC6n7jL5GdP9Tw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 18 Nov 2024 15:59:16 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Ludovic Courtès * gnu/packages/linux.scm (cassini-headers): New variable. Change-Id: I278fe784ed2a0b31831dd6ff19f0c03d193b310a --- gnu/packages/linux.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 7a856c4721..9d0970313a 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -8988,6 +8988,34 @@ (define-public procenv (home-page "https://github.com/jamesodhunt/procenv/") (license license:gpl3+))) +(define-public cassini-headers + (let ((commit "9a8a738a879f007849fbc69be8e3487a4abf0952") + (revision "0")) + (package + (name "cassini-headers") + (version (git-version "2.0.0" ;per .spec file + revision commit)) + (home-page "https://github.com/HewlettPackard/shs-cassini-headers") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0a54vwfr29n0i392wdap7rzmq0lb8mxa17d8yljdbm0kzrq48csz")))) + (build-system copy-build-system) + (arguments + (list #:install-plan + #~'(("include" "include") + ("share/cassini-headers" "share/cassini-headers")))) + (synopsis "Cassini network hardware definitions and headers") + (description + "This package provides hardware definitions and C headers for use by +the Linux driver and by user-space applications for the Cassini/Slingshot +high-speed network interconnect made by HPE (formerly Cray). User-land +software uses @file{cxi_prov_hw.h} from this package.") + (license (list license:gpl2 license:bsd-2))))) ;dual-licensed + (define-public libfabric (package (name "libfabric") -- 2.46.0 From unknown Sat Aug 16 22:46:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74419] [PATCH 2/5] gnu: Add cxi-driver. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 15:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74419@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Leo Famulari , Wilko Meyer X-Debbugs-Original-Xcc: Leo Famulari , Wilko Meyer Received: via spool by 74419-submit@debbugs.gnu.org id=B74419.173194202227043 (code B ref 74419); Mon, 18 Nov 2024 15:01:03 +0000 Received: (at 74419) by debbugs.gnu.org; 18 Nov 2024 15:00:22 +0000 Received: from localhost ([127.0.0.1]:34746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ek-000721-9X for submit@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ei-00071b-Tf for 74419@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3Ec-0000Pu-Co; Mon, 18 Nov 2024 10:00:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=+R05CgTz11ATbKFGzMY0CXKlXtWDpN3+0WRqbz41rVI=; b=oCKsdVifnw+asHs7A1TL WMBbFfJ716WV6lIpfwgqMOUf+9XL19sMPYFYPWlmVBxkU3DWu24wRyf4piXaVG6F9wxJu+3NwRZob 00mgdSK/YKtvxvG6scTGAvvXwKjtjH0L/XUU+cT+xuErmANeiTpKQQKwEVLAc53ycPF/Zp+Ag9GC9 U2ItVXKH5AVt9aL1Z9nuVsLHoL8AACospdwydVYUF3uXGx9jNi4W3Yd62cMI7EOPiN0/qVdp9jI8s 99D5sUCIXjsDeJrVxe+qanic3UYTSpjJdLQkZozTDwbejlFZP12xo+LoHbqk57AA3Z32K4EiOhEU+ VOrQ56tMb8ZVCQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 18 Nov 2024 15:59:17 +0100 Message-ID: <99b5d0abec47ff57af6e46310114a133411a0740.1731940961.git.ludo@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Ludovic Courtès * gnu/packages/linux.scm (cxi-driver): New variable. Change-Id: Iac48010d3de7f46248afe8c71991da71b61ebe6f --- gnu/packages/linux.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9d0970313a..17f743ef11 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9016,6 +9016,36 @@ (define-public cassini-headers software uses @file{cxi_prov_hw.h} from this package.") (license (list license:gpl2 license:bsd-2))))) ;dual-licensed +(define-public cxi-driver + (let ((commit "5f0ec0ead6ef3f98542a2ef5e76b89d14dd22150") + (revision "0")) + (package + (name "cxi-driver") + (version (git-version "1.0.0" ;per .spec file + revision commit)) + (home-page "https://github.com/HewlettPackard/shs-cxi-driver") + (source + (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "19cly014ihgdidrc1aki2xsbfhpc0g73v0vxcky8r27xza7rz5bg")))) + ;; TODO: Actually build the Linux driver. + (build-system copy-build-system) + (arguments + (list #:install-plan #~'(("include" "include")))) + (propagated-inputs (list cassini-headers)) + (synopsis "Linux driver for the Cassini/Slingshot interconnect") + (description + "This is the Linux driver for the Cray/HPE Cassini 1 and 2 high-speed +network interconnect (aka. Slingshot), and its Ethernet driver. It includes +the @file{uapi/misc/cxi.h} C header file for use by user-land software. + +Currently the Linux driver itself is missing from this package.") + (license license:gpl2+)))) + (define-public libfabric (package (name "libfabric") -- 2.46.0 From unknown Sat Aug 16 22:46:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74419] [PATCH 3/5] gnu: Add libcxi. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 15:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74419@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Leo Famulari , Wilko Meyer X-Debbugs-Original-Xcc: Leo Famulari , Wilko Meyer Received: via spool by 74419-submit@debbugs.gnu.org id=B74419.173194202827074 (code B ref 74419); Mon, 18 Nov 2024 15:01:03 +0000 Received: (at 74419) by debbugs.gnu.org; 18 Nov 2024 15:00:28 +0000 Received: from localhost ([127.0.0.1]:34754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ep-00072c-PA for submit@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Em-00071k-FP for 74419@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:24 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3Ef-0000Qz-Ho; Mon, 18 Nov 2024 10:00:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=jSk3t/7/2euNCHa74qHc04cLvczUuEhm8IegsIYJklo=; b=ZRuODFMJ7ibblkJoZE1T naqoXYpQTZw2X7HV69CltfNbJ8Dc4trXIuvPHilmibnKccbmAIY7yQ+TNzAFTFK9P6XusivRS3Eyr v1hF9ECprUw/E8AfDkVNrIuCIQNDBAwyvuHiSuTk50aU3UK0eUi+rM9PC8Xy+wDKhZoMx0KbUos1r LRx2gSdH3TBtldoMkZPGkW7iZ+2Ocd0XskQ8wDpw8UnOu5VEfHzsOYlfniStxQSP5xZha/gSP/H74 Z8VJA4zZ8IuGDe6ySNlx7JGEaWWLOzrBxQMUsA0iu2EhoS8HPphPQSFuJebv6ObuZPp/Ox7mQvNjj wmEuUYqE4w9/yw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 18 Nov 2024 15:59:18 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Ludovic Courtès * gnu/packages/linux.scm (libcxi): New variable. Change-Id: I714d8694c796d5bc3ce4756d5aae576031288699 --- gnu/packages/linux.scm | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 17f743ef11..6b2a0c201e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -150,6 +150,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages libevent) #:use-module (gnu packages libunwind) #:use-module (gnu packages libusb) #:use-module (gnu packages llvm) @@ -9046,6 +9047,60 @@ (define-public cxi-driver Currently the Linux driver itself is missing from this package.") (license license:gpl2+)))) +(define-public libcxi + (let ((commit "5b6f8b5d57017c7963debb379d5693c59aca63ed") + (revision "0")) + (package + (name "libcxi") + (version (git-version "1.0.1" revision commit)) + (home-page "https://github.com/HewlettPackard/shs-libcxi") + (source + (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1h3dhird8p11q4ziaxzg1hr5gxcgwx1limzdcyildyaw50dy549g")))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list "--disable-static" + (string-append "--with-udevrulesdir=" + #$output "/lib/udev/rules.d")) + + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'set-cassini-file-names + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "utils/cxi_dump_csrs.py" + (("/usr/share/cassini-headers/csr_defs.json") + (search-input-file + inputs + "/share/cassini-headers/csr_defs.json")))))))) + (native-inputs (list autoconf + automake + libtool + pkg-config + python-wrapper)) + (inputs (list libconfig + libuv + fuse-2 + libyaml + libnl + numactl + eudev + (list lm-sensors "lib"))) + (propagated-inputs (list cassini-headers cxi-driver)) + (synopsis "Interface to the Cassini/Slingshot high-speed interconnect") + (description + "Libcxi provides applications with a low-level interface to the +Cray/HPE Cassini high-speed @acronym{NIC, network interface controller}, also +known as Slingshot.") + + ;; License is spelled out in 'cray-libcxi.spec' and in source file + ;; headers. + (license (list license:lgpl2.1+ license:bsd-3))))) ;dual-licensed + (define-public libfabric (package (name "libfabric") -- 2.46.0 From unknown Sat Aug 16 22:46:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74419] [PATCH 4/5] gnu: libfabric: Enable libcxi support. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 15:01:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74419@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Leo Famulari , Wilko Meyer X-Debbugs-Original-Xcc: Leo Famulari , Wilko Meyer Received: via spool by 74419-submit@debbugs.gnu.org id=B74419.173194202827081 (code B ref 74419); Mon, 18 Nov 2024 15:01:04 +0000 Received: (at 74419) by debbugs.gnu.org; 18 Nov 2024 15:00:28 +0000 Received: from localhost ([127.0.0.1]:34756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Eq-00072i-7J for submit@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Em-00071m-Vn for 74419@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3Eh-0000Rd-OY; Mon, 18 Nov 2024 10:00:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=ckMfPv4sj8LhR4jH1643vTmUMS86+TuTDl33ObBhFUU=; b=NRmrANSnvEgoTHQG1SVU SK8gF98GyMT1RTjxJK8HeeQwUNwJocF+uyhnIrLlO0NGC/KBOKtj9BWy36ktAqbkIiqoEjM2VJJOd g5uu74Kzykz+jaEhKLk2FzgftpvvBqFCrfu6A1w92sFUu1GxZ9USmWuqHy6Z2MT45xD9X11OT1mXl 8QyqnHR7UjPDROWx3VkR7Lj/4na1DuJ9itPQSI4E+A2bD3OhgKxd8z44iHtjQmjxHNW/gtTOwjfgL s0Kxprfs5Cgr1oj4W00iXHpviqw34E/BuvdCeUDruTT4d7xTpSTaC4DKs3ujiNWsCE5cphYQYEK+P 5mFGW4jJIokgBA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 18 Nov 2024 15:59:19 +0100 Message-ID: <3b94d179f5fa0fb4a0c443f4cb41225888eb280f.1731940961.git.ludo@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Ludovic Courtès * gnu/packages/linux.scm (libfabric)[inputs]: Add libcxi, curl, and json-c if libcxi supports the target system. [arguments]: Add #:phases. Change-Id: I3345cac68603c776ec4953cf0e97a12389c30635 --- gnu/packages/linux.scm | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 6b2a0c201e..2bd1e14c0c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9116,21 +9116,37 @@ (define-public libfabric (build-system gnu-build-system) (inputs (let ((if-supported ;XXX: copied from openmpi - (lambda (package) + (lambda (package . extra) (if (and (not (%current-target-system)) (member (%current-system) (package-supported-systems package))) - (list package) + (cons package extra) '())))) (append (list rdma-core libnl) (if-supported psm) - (if-supported psm2)))) + (if-supported psm2) + (if-supported libcxi curl json-c)))) (arguments (list #:configure-flags #~(append (if #$(target-64bit?) (list "--enable-efa") '()) - (list "--enable-verbs")))) + (list #$@(if (this-package-input "libcxi") + #~("--enable-cxi") + #~()) + "--enable-verbs")) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'remove-libtool-archive + (lambda _ + ;; 'libfabric.la' has '-ljson-c' without a corresponding + ;; '-L' in 'dependency_libs', which in turn causes users + ;; such as Open MPI to fail at link time due to '-ljson-c' + ;; not being found, even when building a shared library. + ;; So, remove the .la file. + (delete-file + (string-append #$output + "/lib/libfabric.la"))))))) (home-page "https://ofiwg.github.io/libfabric/") (synopsis "Open Fabric Interfaces") (description -- 2.46.0 From unknown Sat Aug 16 22:46:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74419] [PATCH 5/5] gnu: openmpi: Disable static libraries. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 15:01:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74419@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 74419-submit@debbugs.gnu.org id=B74419.173194203527097 (code B ref 74419); Mon, 18 Nov 2024 15:01:04 +0000 Received: (at 74419) by debbugs.gnu.org; 18 Nov 2024 15:00:35 +0000 Received: from localhost ([127.0.0.1]:34758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ew-00072y-Lt for submit@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ep-000726-DR for 74419@debbugs.gnu.org; Mon, 18 Nov 2024 10:00:27 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3Ek-0000SK-5o; Mon, 18 Nov 2024 10:00:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=EEBRO0wPTCpNSv0Qtsy4VpW08yS8z0Sg7amF/SpcAOg=; b=mYubkViO9WXR92VsZefe V4kCOZjvMtbOT6QYeVuUgcoOxKDAciSEVz4rnh3SenekU47z2MnDXOWFqo5iT7GyYG/OUo509B/R1 DBWGne3IlzG2HNBX6DjDJV9FfSv4d5xmHPjSK3Rm5JJ6z834+gJjVzwQD/hAYtVpwDFVz2fymOqra 9uMYRCxrUATPgXD1E1KSi4j6WUeG5udM5DcjYg8n8K8KU+EPwVN/Mgjp2WOv+nAGb0dptBvCEuOJl 3yVsCbtBE2aPX8XyfBAsjRh6ImyAWHW9z4WcafC7FbQYOh6Ay0XZo2NgXth0fZFtHXcU8VTeCOwbA 3Z4U1zXAEfS08g==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 18 Nov 2024 15:59:20 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/mpi.scm (openmpi-4)[arguments]: Pass “--disable-static”. * gnu/packages/mpi.scm (openmpi-5)[arguments]: Likewise. Change-Id: Ia6a8bc8a88d12a37878a45eed380262759bd4565 --- gnu/packages/mpi.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index bc1fd797d6..20497242e5 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -234,6 +234,7 @@ (define-public openmpi-4 (list #:configure-flags #~`("--enable-mpi-ext=affinity" ;cr doesn't work "--with-sge" + "--disable-static" #$@(if (package? (this-package-input "valgrind")) #~("--enable-memchecker" @@ -342,6 +343,7 @@ (define-public openmpi-5 (list #:configure-flags #~(list "--enable-mpi-ext=affinity" ;cr doesn't work "--with-sge" + "--disable-static" #$@(if (package? (this-package-input "valgrind")) #~("--enable-memchecker" -- 2.46.0 From unknown Sat Aug 16 22:46:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#74419: closed (Re: [bug#74419] [PATCH 0/5] MPI support for Slingshot via libcxi) Message-ID: References: <87v7wbeekf.fsf@gnu.org> X-Gnu-PR-Message: they-closed 74419 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 74419@debbugs.gnu.org Date: Mon, 25 Nov 2024 11:31:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1732534262-9606-1" This is a multi-part message in MIME format... ------------=_1732534262-9606-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #74419: [PATCH 0/5] MPI support for Slingshot via libcxi which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 74419@debbugs.gnu.org. --=20 74419: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74419 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1732534262-9606-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 74419-done) by debbugs.gnu.org; 25 Nov 2024 11:30:18 +0000 Received: from localhost ([127.0.0.1]:38147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFXIH-0002Ti-P4 for submit@debbugs.gnu.org; Mon, 25 Nov 2024 06:30:18 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:53611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFXIF-0002QZ-Mo for 74419-done@debbugs.gnu.org; Mon, 25 Nov 2024 06:30:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=mDlr1nTGqq/r2opFwZRdr8ylb0ygUzgbydlwMD+VTSI=; b=DZmW25YB+fh8/q/v9PvSVpCwfr5co+RZcoFB5KMwo3SCY/RdDiiFkP2b Mx1GPw6ctJ4hKoyhp1NxL3kRYgQcUY7lKBC5+npSgMqDnKCjGEQd9T3Ps FA8Wjy/xF4x9TmzKvVb0GlCriRvP7YqXeaYkCA9jeGH71npFdi9r9KTjc s=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.12,182,1728943200"; d="scan'208";a="195639774" Received: from unknown (HELO ribbon) ([193.50.110.122]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2024 12:30:09 +0100 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 74419-done@debbugs.gnu.org Subject: Re: [bug#74419] [PATCH 0/5] MPI support for Slingshot via libcxi In-Reply-To: ("Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s=22's?= message of "Mon, 18 Nov 2024 15:56:03 +0100") References: Date: Mon, 25 Nov 2024 12:30:08 +0100 Message-ID: <87v7wbeekf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74419-done Cc: romain.garbage@inria.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > gnu: Add cassini-headers. > gnu: Add cxi-driver. > gnu: Add libcxi. > gnu: libfabric: Enable libcxi support. > gnu: openmpi: Disable static libraries. Pushed as a7d6a79a98496f87f577bf5edfa4024e1a39665e! Ludo'. ------------=_1732534262-9606-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Nov 2024 14:56:24 +0000 Received: from localhost ([127.0.0.1]:34720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3At-0006oG-MU for submit@debbugs.gnu.org; Mon, 18 Nov 2024 09:56:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:57538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ar-0006oA-IT for submit@debbugs.gnu.org; Mon, 18 Nov 2024 09:56:22 -0500 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 1tD3Ar-0002yC-4Z for guix-patches@gnu.org; Mon, 18 Nov 2024 09:56:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3Aq-0008Dr-2z; Mon, 18 Nov 2024 09:56:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=QQcDDfmEq8WpiBJZYUoezCuYwdx2AMKoXD6LzDptbug=; b=kYe/qD94bJiBsw ZN8lGJUJ1S3bLBWyQSJyzDcNfTedMmwuWCW/UcvKrtKlxG+oGp/L/H58rkA0hYXNqj0mBrAUKxbus T/RrSAUdJ/QdAXmjngDF3nsRU9pNA/GnwIEQjRHA+GfXC0o0wU68Z3F/mDSVbTmMkTpx7J1j45vN4 BvfGUVRkqgakO/jDFiLkG2JDT9EEkE1PNFRngiIsEHDoH5FnroCVvo9PdaOHDg4k4W3euWvA7Phso f3D0WnxRIian7s7CQEkV77PyeEdzl1pY1p4DGc8PYycS1fyLSXEs00brpS7txJ4s7o/ikMObb5AZ2 x+b+bj8WH7b9Mw5l7ACA==; From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH 0/5] MPI support for Slingshot via libcxi Date: Mon, 18 Nov 2024 15:56:03 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 X-Debbugs-Cc: romain.garbage@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Ludovic Courtès Hello, This series provides packages adding support for HPE’s Slingshot high-speed interconnect to Open MPI. I have tested the whole stack with ‘intel-mpi-benchmarks’ on a Tier-1 supercomputer with a Slingshot NIC (Adastra, in France) and confirmed that we get the expected peak bandwidth, around 25 GB/s. Libcxi and related packages were fully published as free software just today. I’m really happy about that because it unlocks access to major supercomputers using a free software stack, and using Guix! Incidentally, Guix will be the very first distro shipping packages off their free releases. :-) Many thanks to the people we talked to at HPE who helped make this happen faster. Ludo’. Ludovic Courtès (5): gnu: Add cassini-headers. gnu: Add cxi-driver. gnu: Add libcxi. gnu: libfabric: Enable libcxi support. gnu: openmpi: Disable static libraries. gnu/packages/linux.scm | 137 +++++++++++++++++++++++++++++++++++++++-- gnu/packages/mpi.scm | 2 + 2 files changed, 135 insertions(+), 4 deletions(-) base-commit: 23cbbe6860782c5d4a0ba599ea1cda0642e91661 -- 2.46.0 ------------=_1732534262-9606-1--