From unknown Sat Aug 09 13:18:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27917] high performance fabric support for openmpi Resent-From: Dave Love Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Aug 2017 13:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27917 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 27917@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150168165615935 (code B ref -1); Wed, 02 Aug 2017 13:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2017 13:47:36 +0000 Received: from localhost ([127.0.0.1]:37858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dctzo-00048u-Cg for submit@debbugs.gnu.org; Wed, 02 Aug 2017 09:47:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dctzn-00048i-7g for submit@debbugs.gnu.org; Wed, 02 Aug 2017 09:47:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dctzg-0003t6-VI for submit@debbugs.gnu.org; Wed, 02 Aug 2017 09:47:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dctzg-0003sx-R7 for submit@debbugs.gnu.org; Wed, 02 Aug 2017 09:47:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dctzf-0007BB-DR for guix-patches@gnu.org; Wed, 02 Aug 2017 09:47:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dctzc-0003pF-7L for guix-patches@gnu.org; Wed, 02 Aug 2017 09:47:23 -0400 Received: from clarity.mcc.ac.uk ([130.88.200.144]:10762) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dctzb-0003mJ-UZ for guix-patches@gnu.org; Wed, 02 Aug 2017 09:47:20 -0400 Received: from asmtp1.its.manchester.ac.uk ([130.88.13.149]) by clarity.mcc.ac.uk with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1dctzZ-0000iA-Sv for guix-patches@gnu.org; Wed, 02 Aug 2017 14:47:17 +0100 Received: from albion.it.manchester.ac.uk ([130.88.138.79]:60804 helo=i-ulialbion.it.manchester.ac.uk) by asmtp1.its.manchester.ac.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dctzZ-0008Eq-Jn for guix-patches@gnu.org; Wed, 02 Aug 2017 14:47:17 +0100 From: Dave Love Date: Wed, 02 Aug 2017 14:47:17 +0100 Message-ID: <87mv7i5bfe.fsf@i-ulialbion.it.manchester.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Pseudonyms-Hail-Car-bomb-MP5k-sneakers" X-Authenticated-Sender: David Love from albion.it.manchester.ac.uk (i-ulialbion.it.manchester.ac.uk) [130.88.138.79]:60804 X-Authenticated-From: Dave.Love@manchester.ac.uk X-SA-Exim-Connect-IP: 130.88.13.149 X-SA-Exim-Mail-From: fx@gnu.org X-SA-Exim-Scanned: No (on clarity.mcc.ac.uk); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) --Pseudonyms-Hail-Car-bomb-MP5k-sneakers Content-Type: text/plain This adds RDMA support to openmpi, and also the ofi (libfabric) mtl. It still needs psm(2)/infinipath support. I don't know where that should go in the source; libpsm(2) makes sense in rdma-core, like mlx5, but has separate sources. --Pseudonyms-Hail-Car-bomb-MP5k-sneakers Content-Type: text/x-diff Content-Disposition: attachment; filename=0002-gnu-Add-libfabric.patch >From e6384acc4e486e5668c99a6d168c2543328e07b0 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 2 Aug 2017 14:22:49 +0100 Subject: [PATCH 2/2] gnu: Add libfabric. * gnu/packages/linux.scm (libfabric): New function. --- gnu/packages/linux.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index dd9c34999..57a27d2da 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4306,3 +4306,34 @@ tool, to understand the type of environment a process runs in, and for comparing system environments.") (home-page "http://github.com/jamesodhunt/procenv/") (license license:gpl3+))) + +(define-public libfabric + (package + (name "libfabric") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/ofiwg/libfabric/releases/download/v" + version "/libfabric-" version ".tar.bz2")) + (sha256 + (base32 "19l2m1frna1l765z4j7wl8hp4rb9wrh0hy5496685hd183hmy5pv")))) + (build-system gnu-build-system) + (inputs `(("rdma-core" ,rdma-core) + ;; add psm, psm(2) + ("libnl" ,libnl))) + (home-page "http://ofiwg.github.io/libfabric/") + (synopsis "Open Fabric Interfaces") + (description + "OpenFabrics Interfaces (OFI) is a framework focused on exporting fabric +communication services to applications. OFI is best described as a collection +of libraries and applications used to export fabric services. The key +components of OFI are: application interfaces, provider libraries, kernel +services, daemons, and test applications. + +Libfabric is a core component of OFI. It is the library that defines and +exports the user-space API of OFI, and is typically the only software that +applications deal with directly. It works in conjunction with provider +libraries, which are often integrated directly into libfabric.") + (license (list license:bsd-3 license:gpl2)))) ;dual -- 2.11.0 --Pseudonyms-Hail-Car-bomb-MP5k-sneakers Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-openmpi-Add-RDMA-and-libfabric-support.patch >From 585095b2facaf812e2584f2470c43c53ce0ca834 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 2 Aug 2017 14:11:54 +0100 Subject: [PATCH 1/2] gnu: openmpi: Add RDMA and libfabric support. * gnu/packages/mpi.scm (openmpi)[inputs]: Add rdma-core, libfabric. --- 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 b17d81664..5290c5c98 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -139,7 +139,9 @@ bind processes, and much more.") (build-system gnu-build-system) (inputs `(("hwloc" ,hwloc "nogui") - ("gfortran" ,gfortran))) + ("gfortran" ,gfortran) + ("rdma-core" ,rdma-core) + ("libfabric" ,libfabric))) (native-inputs `(("pkg-config" ,pkg-config) ("perl" ,perl))) -- 2.11.0 --Pseudonyms-Hail-Car-bomb-MP5k-sneakers-- From unknown Sat Aug 09 13:18:35 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: Dave Love Subject: bug#27917: closed (Re: [bug#27917] high performance fabric support for openmpi) Message-ID: References: <87a82xzurm.fsf@fastmail.com> <87mv7i5bfe.fsf@i-ulialbion.it.manchester.ac.uk> X-Gnu-PR-Message: they-closed 27917 X-Gnu-PR-Package: guix-patches Reply-To: 27917@debbugs.gnu.org Date: Thu, 17 Aug 2017 22:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1503009482-17121-1" This is a multi-part message in MIME format... ------------=_1503009482-17121-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27917: high performance fabric support for openmpi 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 27917@debbugs.gnu.org. --=20 27917: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27917 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1503009482-17121-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27917-done) by debbugs.gnu.org; 17 Aug 2017 22:37:14 +0000 Received: from localhost ([127.0.0.1]:43267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diTPd-0004Qp-Ob for submit@debbugs.gnu.org; Thu, 17 Aug 2017 18:37:13 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diTPb-0004Qh-IF for 27917-done@debbugs.gnu.org; Thu, 17 Aug 2017 18:37:12 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 64F24210F5; Thu, 17 Aug 2017 18:37:11 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 17 Aug 2017 18:37:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=j9lM8QhCEqHtYh1Q5qGw8f96i7GmZvanfYOYz/oDS yo=; b=l6PA2Ps6irjEefY53+LUuh/km5JfG0/PqtbYFBjLTO0/f3vpRn6nBNhKA el7PIJnGtlrpMYKsRt75AjJc2Og/T76XqgsRCAEOmUh51HoHehrmx9/LfIGG7HUG jT2Lzid7COSDFP5cjCAkFcQp/m7tA4fFd6+5pcFZGqvacsK30OQ/FhVMR4o3gxFq IoRAKUK8XFNbMdqlJzPX0pmFa62hpKsw7QggKotvfI2e6ZYwg4JpRNI/N/wxsi7P CmwNlVV7vZMfPflhSs7P2OtgvMNLaYwTJd0NmhJYUvJ/BJCEgIf7/tdaZqXjnrrm jvfVrjz3ciaiIzKhmGHwfTJPglkIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=j9lM8QhCEqHtYh1Q5q Gw8f96i7GmZvanfYOYz/oDSyo=; b=CVkTn1Bas+33vBm/5lyl8tyd5XmS4WEplh ydN9hqyHs57vggp5UGyYfMzaZXd6uE/i2cCs4kJnl16neCJ8W/quliFHwGYFOSY9 qWmEoawIbtnFe2zvkIyfh0Xc+1jdtA7yifvVjMuM3Q4nh+Mn/LML/oYY4UynOSRV fTJLekrA6UpLrYIDQA18MoTKptO2FnjtfqCIqoMInh6OugySm2ZjFl7i9GPpaREO zdqMaK3sbnHQ2U6OnhCc2sVos39qQ4Gggo4+y/V6iW6igS40pGgvgqPbLiAJYD2X CcX2GChXOEe4vun2IR6u+aYNgyKv8q4pP2T2qb5ivdYw83p4fcjA== X-ME-Sender: X-Sasl-enc: WGoXR2FjFEuphLYJ8RcPqbaLJJMmOU+1jBAeLQZdXi7I 1503009430 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id E5F0E7E6AD; Thu, 17 Aug 2017 18:37:10 -0400 (EDT) From: Marius Bakke To: Dave Love , 27917-done@debbugs.gnu.org Subject: Re: [bug#27917] high performance fabric support for openmpi In-Reply-To: <87mv7i5bfe.fsf@i-ulialbion.it.manchester.ac.uk> References: <87mv7i5bfe.fsf@i-ulialbion.it.manchester.ac.uk> User-Agent: Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Fri, 18 Aug 2017 00:36:45 +0200 Message-ID: <87a82xzurm.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27917-done 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: -0.7 (/) --=-=-= Content-Type: text/plain Dave Love writes: > This adds RDMA support to openmpi, and also the ofi (libfabric) mtl. Awesome! > It still needs psm(2)/infinipath support. I don't know where that > should go in the source; libpsm(2) makes sense in rdma-core, like mlx5, > but has separate sources. Can it not be built as a standalone package? > From e6384acc4e486e5668c99a6d168c2543328e07b0 Mon Sep 17 00:00:00 2001 > From: Dave Love > Date: Wed, 2 Aug 2017 14:22:49 +0100 > Subject: [PATCH 2/2] gnu: Add libfabric. > > * gnu/packages/linux.scm (libfabric): New function. [...] > + (inputs `(("rdma-core" ,rdma-core) > + ;; add psm, psm(2) Added a "TODO: ". > + ("libnl" ,libnl))) > + (home-page "http://ofiwg.github.io/libfabric/") > + (synopsis "Open Fabric Interfaces") > + (description > + "OpenFabrics Interfaces (OFI) is a framework focused on exporting fabric > +communication services to applications. OFI is best described as a collection > +of libraries and applications used to export fabric services. The key > +components of OFI are: application interfaces, provider libraries, kernel > +services, daemons, and test applications. > + > +Libfabric is a core component of OFI. It is the library that defines and > +exports the user-space API of OFI, and is typically the only software that > +applications deal with directly. It works in conjunction with provider > +libraries, which are often integrated directly into libfabric.") > + (license (list license:bsd-3 license:gpl2)))) ;dual This is the FreeBSD license (aka BSD-2). > * gnu/packages/mpi.scm (openmpi)[inputs]: Add rdma-core, libfabric. Applied both, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlmWGn0ACgkQoqBt8qM6 VPoNIwf/fXdO2DowHfPcX/6VNzClLVta1DrfCVGg9BpUtF5fDDfJ6wR1gMFUQEK3 jkmh8v8g+f0qJxe8+j3vgQVZt87HtczXiBiGQrptPmLclCwHib2DptwMtcJgZIQY LLtlQQ5bw2R9SSf4k3ENBiUCdTWErguK/2QQvCGU4QbH9A5B9lmOB0w75mq8JLzz 2BhIEf6coxYy7DYK2Wi/YTI9SpeOHoViYFBi9rVHjTTYB4bGr0ya7t8j4+8eJjui vVJEVuCe0xNV81IuIUFUlXd8b6FsAoaa1RJwK6Qx+63zs/aWivX54ov4T36fplVt ZGTi67XN6kLxy2Sv2Mbi8UAYHDbHjw== =0UoG -----END PGP SIGNATURE----- --=-=-=-- ------------=_1503009482-17121-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Aug 2017 13:47:36 +0000 Received: from localhost ([127.0.0.1]:37858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dctzo-00048u-Cg for submit@debbugs.gnu.org; Wed, 02 Aug 2017 09:47:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dctzn-00048i-7g for submit@debbugs.gnu.org; Wed, 02 Aug 2017 09:47:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dctzg-0003t6-VI for submit@debbugs.gnu.org; Wed, 02 Aug 2017 09:47:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dctzg-0003sx-R7 for submit@debbugs.gnu.org; Wed, 02 Aug 2017 09:47:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dctzf-0007BB-DR for guix-patches@gnu.org; Wed, 02 Aug 2017 09:47:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dctzc-0003pF-7L for guix-patches@gnu.org; Wed, 02 Aug 2017 09:47:23 -0400 Received: from clarity.mcc.ac.uk ([130.88.200.144]:10762) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dctzb-0003mJ-UZ for guix-patches@gnu.org; Wed, 02 Aug 2017 09:47:20 -0400 Received: from asmtp1.its.manchester.ac.uk ([130.88.13.149]) by clarity.mcc.ac.uk with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1dctzZ-0000iA-Sv for guix-patches@gnu.org; Wed, 02 Aug 2017 14:47:17 +0100 Received: from albion.it.manchester.ac.uk ([130.88.138.79]:60804 helo=i-ulialbion.it.manchester.ac.uk) by asmtp1.its.manchester.ac.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dctzZ-0008Eq-Jn for guix-patches@gnu.org; Wed, 02 Aug 2017 14:47:17 +0100 From: Dave Love To: guix-patches@gnu.org Subject: high performance fabric support for openmpi Date: Wed, 02 Aug 2017 14:47:17 +0100 Message-ID: <87mv7i5bfe.fsf@i-ulialbion.it.manchester.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Pseudonyms-Hail-Car-bomb-MP5k-sneakers" X-Authenticated-Sender: David Love from albion.it.manchester.ac.uk (i-ulialbion.it.manchester.ac.uk) [130.88.138.79]:60804 X-Authenticated-From: Dave.Love@manchester.ac.uk X-SA-Exim-Connect-IP: 130.88.13.149 X-SA-Exim-Mail-From: fx@gnu.org X-SA-Exim-Scanned: No (on clarity.mcc.ac.uk); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -5.0 (-----) --Pseudonyms-Hail-Car-bomb-MP5k-sneakers Content-Type: text/plain This adds RDMA support to openmpi, and also the ofi (libfabric) mtl. It still needs psm(2)/infinipath support. I don't know where that should go in the source; libpsm(2) makes sense in rdma-core, like mlx5, but has separate sources. --Pseudonyms-Hail-Car-bomb-MP5k-sneakers Content-Type: text/x-diff Content-Disposition: attachment; filename=0002-gnu-Add-libfabric.patch >From e6384acc4e486e5668c99a6d168c2543328e07b0 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 2 Aug 2017 14:22:49 +0100 Subject: [PATCH 2/2] gnu: Add libfabric. * gnu/packages/linux.scm (libfabric): New function. --- gnu/packages/linux.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index dd9c34999..57a27d2da 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4306,3 +4306,34 @@ tool, to understand the type of environment a process runs in, and for comparing system environments.") (home-page "http://github.com/jamesodhunt/procenv/") (license license:gpl3+))) + +(define-public libfabric + (package + (name "libfabric") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/ofiwg/libfabric/releases/download/v" + version "/libfabric-" version ".tar.bz2")) + (sha256 + (base32 "19l2m1frna1l765z4j7wl8hp4rb9wrh0hy5496685hd183hmy5pv")))) + (build-system gnu-build-system) + (inputs `(("rdma-core" ,rdma-core) + ;; add psm, psm(2) + ("libnl" ,libnl))) + (home-page "http://ofiwg.github.io/libfabric/") + (synopsis "Open Fabric Interfaces") + (description + "OpenFabrics Interfaces (OFI) is a framework focused on exporting fabric +communication services to applications. OFI is best described as a collection +of libraries and applications used to export fabric services. The key +components of OFI are: application interfaces, provider libraries, kernel +services, daemons, and test applications. + +Libfabric is a core component of OFI. It is the library that defines and +exports the user-space API of OFI, and is typically the only software that +applications deal with directly. It works in conjunction with provider +libraries, which are often integrated directly into libfabric.") + (license (list license:bsd-3 license:gpl2)))) ;dual -- 2.11.0 --Pseudonyms-Hail-Car-bomb-MP5k-sneakers Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-openmpi-Add-RDMA-and-libfabric-support.patch >From 585095b2facaf812e2584f2470c43c53ce0ca834 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 2 Aug 2017 14:11:54 +0100 Subject: [PATCH 1/2] gnu: openmpi: Add RDMA and libfabric support. * gnu/packages/mpi.scm (openmpi)[inputs]: Add rdma-core, libfabric. --- 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 b17d81664..5290c5c98 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -139,7 +139,9 @@ bind processes, and much more.") (build-system gnu-build-system) (inputs `(("hwloc" ,hwloc "nogui") - ("gfortran" ,gfortran))) + ("gfortran" ,gfortran) + ("rdma-core" ,rdma-core) + ("libfabric" ,libfabric))) (native-inputs `(("pkg-config" ,pkg-config) ("perl" ,perl))) -- 2.11.0 --Pseudonyms-Hail-Car-bomb-MP5k-sneakers-- ------------=_1503009482-17121-1-- From unknown Sat Aug 09 13:18:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27917] high performance fabric support for openmpi Resent-From: Dave Love Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Aug 2017 10:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27917 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Marius Bakke Cc: 27917-done@debbugs.gnu.org Received: via spool by 27917-done@debbugs.gnu.org id=D27917.150348342510527 (code D ref 27917); Wed, 23 Aug 2017 10:18:02 +0000 Received: (at 27917-done) by debbugs.gnu.org; 23 Aug 2017 10:17:05 +0000 Received: from localhost ([127.0.0.1]:50387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkSif-0002jj-7q for submit@debbugs.gnu.org; Wed, 23 Aug 2017 06:17:05 -0400 Received: from clarity.mcc.ac.uk ([130.88.200.144]:33942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkSid-0002jb-Hr for 27917-done@debbugs.gnu.org; Wed, 23 Aug 2017 06:17:03 -0400 Received: from asmtp2.its.manchester.ac.uk ([130.88.13.150]) by clarity.mcc.ac.uk with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1dkSid-000IK0-15; Wed, 23 Aug 2017 11:17:03 +0100 Received: from albion.it.manchester.ac.uk ([130.88.138.79]:34188) by asmtp2.its.manchester.ac.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dkSic-0001M3-Ni; Wed, 23 Aug 2017 11:17:02 +0100 From: Dave Love References: <87mv7i5bfe.fsf@i-ulialbion.it.manchester.ac.uk> <87a82xzurm.fsf@fastmail.com> X-Draft-From: ("Misc" 2575) Date: Wed, 23 Aug 2017 11:17:02 +0100 In-Reply-To: <87a82xzurm.fsf@fastmail.com> (Marius Bakke's message of "Fri, 18 Aug 2017 00:36:45 +0200") Message-ID: <87o9r6h9lt.fsf@albion.it.manchester.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Sender: David Love from albion.it.manchester.ac.uk [130.88.138.79]:34188 X-Authenticated-From: Dave.Love@manchester.ac.uk X-SA-Exim-Connect-IP: 130.88.13.150 X-SA-Exim-Mail-From: fx@gnu.org X-SA-Exim-Scanned: No (on clarity.mcc.ac.uk); SAEximRunCond expanded to false X-Spam-Score: -5.0(?) X-Spam-Flag: NO X-Spam-Score: -1.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: -1.3 (-) Marius Bakke writes: >> It still needs psm(2)/infinipath support. I don't know where that >> should go in the source; libpsm(2) makes sense in rdma-core, like mlx5, >> but has separate sources. > > Can it not be built as a standalone package? Yes, but I don't see why it should be treated differently from, e.g., Mellanox support, if it doesn't significantly increase the closure. (PSM is probably more important than some of the hardware support in rdma-core.) If you're using verbs rather than the PSM interface, which I think is possible with OPA (psm2) as well as Infinipath/True Scale, you'll get rather obscure errors if the hardware support is missing. It's a common problem with hardware support (e.g. mlx4) in separate packages without suitable dependencies, as in current RHEL, so I think psm should at least be a dependency. >> + (license (list license:bsd-3 license:gpl2)))) ;dual > > This is the FreeBSD license (aka BSD-2). Oops! I'm usually more careful. That reminds me of something I should raise about licences generally... From unknown Sat Aug 09 13:18:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27917] high performance fabric support for openmpi Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Aug 2017 12:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27917 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Dave Love Cc: Marius Bakke , 27917-done@debbugs.gnu.org Received: via spool by 27917-done@debbugs.gnu.org id=D27917.150418318523699 (code D ref 27917); Thu, 31 Aug 2017 12:40:02 +0000 Received: (at 27917-done) by debbugs.gnu.org; 31 Aug 2017 12:39:45 +0000 Received: from localhost ([127.0.0.1]:36409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnOl6-0006AB-UA for submit@debbugs.gnu.org; Thu, 31 Aug 2017 08:39:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnOl4-00069u-UM for 27917-done@debbugs.gnu.org; Thu, 31 Aug 2017 08:39:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnOkz-0005Sz-2B for 27917-done@debbugs.gnu.org; Thu, 31 Aug 2017 08:39:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnOku-0005JG-AX; Thu, 31 Aug 2017 08:39:32 -0400 Received: from [193.50.110.184] (port=46088 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dnOko-0004bP-BW; Thu, 31 Aug 2017 08:39:27 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87mv7i5bfe.fsf@i-ulialbion.it.manchester.ac.uk> <87a82xzurm.fsf@fastmail.com> <87o9r6h9lt.fsf@albion.it.manchester.ac.uk> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Fructidor an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 31 Aug 2017 14:39:24 +0200 In-Reply-To: <87o9r6h9lt.fsf@albion.it.manchester.ac.uk> (Dave Love's message of "Wed, 23 Aug 2017 11:17:02 +0100") Message-ID: <87d17bud1f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Dave Love skribis: > Marius Bakke writes: [...] >>> + (license (list license:bsd-3 license:gpl2)))) ;dual >> >> This is the FreeBSD license (aka BSD-2). > > Oops! I'm usually more careful. Give M-x guix-licenses a try if you haven=E2=80=99t already. :-) Ludo=E2=80=99. From unknown Sat Aug 09 13:18:35 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27917] high performance fabric support for openmpi Resent-From: Dave Love Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Sep 2017 11:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27917 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Marius Bakke , 27917-done@debbugs.gnu.org Received: via spool by 27917-done@debbugs.gnu.org id=D27917.15042656607219 (code D ref 27917); Fri, 01 Sep 2017 11:35:02 +0000 Received: (at 27917-done) by debbugs.gnu.org; 1 Sep 2017 11:34:20 +0000 Received: from localhost ([127.0.0.1]:39303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnkDM-0001sN-1i for submit@debbugs.gnu.org; Fri, 01 Sep 2017 07:34:20 -0400 Received: from clarity.mcc.ac.uk ([130.88.200.144]:41044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnkDJ-0001sE-Rh for 27917-done@debbugs.gnu.org; Fri, 01 Sep 2017 07:34:18 -0400 Received: from asmtp1.its.manchester.ac.uk ([130.88.13.149]) by clarity.mcc.ac.uk with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1dnkDI-0007gv-A9; Fri, 01 Sep 2017 12:34:16 +0100 Received: from albion.it.manchester.ac.uk ([130.88.138.79]:55438) by asmtp1.its.manchester.ac.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dnkDI-0008S6-1Q; Fri, 01 Sep 2017 12:34:16 +0100 From: Dave Love References: <87mv7i5bfe.fsf@i-ulialbion.it.manchester.ac.uk> <87a82xzurm.fsf@fastmail.com> <87o9r6h9lt.fsf@albion.it.manchester.ac.uk> <87d17bud1f.fsf@gnu.org> X-Draft-From: ("Misc" 2751) Date: Fri, 01 Sep 2017 12:34:15 +0100 In-Reply-To: <87d17bud1f.fsf@gnu.org> ("Ludovic \=\?iso-8859-1\?Q\?Court\=E8s\?\= \=\?iso-8859-1\?Q\?\=22's\?\= message of "Thu, 31 Aug 2017 14:39:24 +0200") Message-ID: <874lsmzm88.fsf@albion.it.manchester.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: David Love from albion.it.manchester.ac.uk [130.88.138.79]:55438 X-Authenticated-From: Dave.Love@manchester.ac.uk X-SA-Exim-Connect-IP: 130.88.13.149 X-SA-Exim-Mail-From: fx@gnu.org X-SA-Exim-Scanned: No (on clarity.mcc.ac.uk); SAEximRunCond expanded to false X-Spam-Score: -5.0(?) X-Spam-Flag: NO X-Spam-Score: -1.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: -1.3 (-) Ludovic Court=C3=A8s writes: > Dave Love skribis: > >> Marius Bakke writes: > > [...] > >>>> + (license (list license:bsd-3 license:gpl2)))) ;dual >>> >>> This is the FreeBSD license (aka BSD-2). >> >> Oops! I'm usually more careful. > > Give M-x guix-licenses a try if you haven=E2=80=99t already. :-) > > Ludo=E2=80=99. I hadn't, but that doesn't help with checking the package description as far as I can see. licencecheck support would do, but for lint use it would need a translation of licence tags and have to account for some packages using a module prefix with them.