From unknown Mon Jun 23 22:06:40 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31172] [PATCH 0/1] Add psm2 Resent-From: Rouby Pierre-Antoine Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Apr 2018 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31172 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 31172@debbugs.gnu.org Cc: Rouby Pierre-Antoine X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152386481521892 (code B ref -1); Mon, 16 Apr 2018 07:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2018 07:46:55 +0000 Received: from localhost ([127.0.0.1]:54886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7yql-0005h2-9R for submit@debbugs.gnu.org; Mon, 16 Apr 2018 03:46:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7yqi-0005go-I8 for submit@debbugs.gnu.org; Mon, 16 Apr 2018 03:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7yqc-0007zw-JN for submit@debbugs.gnu.org; Mon, 16 Apr 2018 03:46:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f7yqc-0007zs-Gj for submit@debbugs.gnu.org; Mon, 16 Apr 2018 03:46:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7yqb-0004Zo-BP for guix-patches@gnu.org; Mon, 16 Apr 2018 03:46:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7yqX-0007vp-Cm for guix-patches@gnu.org; Mon, 16 Apr 2018 03:46:45 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:34041) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f7yqX-0007uL-0a for guix-patches@gnu.org; Mon, 16 Apr 2018 03:46:41 -0400 X-IronPort-AV: E=Sophos;i="5.48,459,1517871600"; d="scan'208";a="322986826" Received: from unknown (HELO antelope.bordeaux.inria.fr) ([193.50.110.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 16 Apr 2018 09:46:37 +0200 From: Rouby Pierre-Antoine Date: Mon, 16 Apr 2018 09:46:07 +0200 Message-Id: <20180416074607.17992-1-pierre-antoine.rouby@inria.fr> X-Mailer: git-send-email 2.17.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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: -6.0 (------) This patch add package for psm2. They compile and install without any error. But, I'm not familiar with psm2. Someone could have a look ? Rouby Pierre-Antoine (1): gnu: Add psm2. gnu/packages/linux.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) -- 2.16.1 From unknown Mon Jun 23 22:06:40 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31172] [PATCH 1/1] gnu: Add psm2. References: <20180416074607.17992-1-pierre-antoine.rouby@inria.fr> In-Reply-To: <20180416074607.17992-1-pierre-antoine.rouby@inria.fr> Resent-From: Rouby Pierre-Antoine Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Apr 2018 07:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31172 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 31172@debbugs.gnu.org Cc: Rouby Pierre-Antoine Received: via spool by 31172-submit@debbugs.gnu.org id=B31172.152386499722200 (code B ref 31172); Mon, 16 Apr 2018 07:50:01 +0000 Received: (at 31172) by debbugs.gnu.org; 16 Apr 2018 07:49:57 +0000 Received: from localhost ([127.0.0.1]:54896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7ytd-0005lw-79 for submit@debbugs.gnu.org; Mon, 16 Apr 2018 03:49:57 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:26832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7ytb-0005lg-Ju for 31172@debbugs.gnu.org; Mon, 16 Apr 2018 03:49:52 -0400 X-IronPort-AV: E=Sophos;i="5.48,459,1517871600"; d="scan'208";a="322987484" Received: from unknown (HELO antelope.bordeaux.inria.fr) ([193.50.110.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 16 Apr 2018 09:49:45 +0200 From: Rouby Pierre-Antoine Date: Mon, 16 Apr 2018 09:49:31 +0200 Message-Id: <20180416074931.18094-1-pierre-antoine.rouby@inria.fr> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: -6.0 (------) * gnu/packages/linux.scm (psm2): New variable. --- gnu/packages/linux.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f49171fa5..a4a8859e5 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2017, 2018 Rutger Helling ;;; Copyright © 2017 nee ;;; Copyright © 2017 Dave Love +;;; Copyright © 2018 Pierre-Antoine Rouby ;;; ;;; This file is part of GNU Guix. ;;; @@ -4561,3 +4562,43 @@ text-mode or graphical applications that don't use a display server. Also included is @command{fbgrab}, a wrapper around @command{fbcat} that emulates the behaviour of Gunnar Monell's older fbgrab utility.") (license license:gpl2))) + +(define-public psm2 + (package + (name "psm2") + (version "10.3-46") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/intel/opa-psm2.git") + (commit "5fabd0e699a920e74333f789923fd1c02bb7c629"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wadphv4rl5p38x6a3dgpbijlzqdvcn02cfafnp72nh9faz0zvlx")))) + (build-system gnu-build-system) + (arguments + '(#:modules ((guix build utils) + (guix build gnu-build-system)) + #:phases (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (setenv "DESTDIR" out) + (invoke "make" "install") + #t)))))) + (inputs + `(("rdma-core" ,rdma-core) + ("numactl" ,numactl))) + (synopsis "Intel Performance Scaled Messaging 2 (PSM2) library") + (description + "This package is low-level user-level Intel's communications interface. +The PSM2 API is a high-performance vendor-specific protocol that provides a +low-level communications interface for the Intel Omni-Path family of +products.") + (home-page "https://github.com/intel/opa-psm2") + ;; Only the x86_64 architecure is supported. + (supported-systems '("x86_64-linux")) + (license (list license:bsd-3 license:gpl2)))) ; dual -- 2.16.1 From unknown Mon Jun 23 22:06:40 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31172] [PATCH 1/1] gnu: Add psm2. Resent-From: ludovic.courtes@inria.fr (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Apr 2018 12:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31172 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Rouby Pierre-Antoine Cc: 31172@debbugs.gnu.org Received: via spool by 31172-submit@debbugs.gnu.org id=B31172.152448794515485 (code B ref 31172); Mon, 23 Apr 2018 12:53:02 +0000 Received: (at 31172) by debbugs.gnu.org; 23 Apr 2018 12:52:25 +0000 Received: from localhost ([127.0.0.1]:36567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAaxE-00041h-Qi for submit@debbugs.gnu.org; Mon, 23 Apr 2018 08:52:25 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:35401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAaxC-00041U-Bq for 31172@debbugs.gnu.org; Mon, 23 Apr 2018 08:52:23 -0400 X-IronPort-AV: E=Sophos;i="5.49,318,1520895600"; d="scan'208";a="324084482" Received: from unknown (HELO ribbon) ([193.50.110.139]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 23 Apr 2018 14:52:16 +0200 From: ludovic.courtes@inria.fr (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180416074607.17992-1-pierre-antoine.rouby@inria.fr> <20180416074931.18094-1-pierre-antoine.rouby@inria.fr> Date: Mon, 23 Apr 2018 14:52:15 +0200 In-Reply-To: <20180416074931.18094-1-pierre-antoine.rouby@inria.fr> (Rouby Pierre-Antoine's message of "Mon, 16 Apr 2018 09:49:31 +0200") Message-ID: <87sh7m2igw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: -6.0 (------) Hello, Rouby Pierre-Antoine skribis: > * gnu/packages/linux.scm (psm2): New variable. Overall LGTM! Some comments: > +(define-public psm2 > + (package > + (name "psm2") > + (version "10.3-46") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/intel/opa-psm2.git") > + (commit "5fabd0e699a920e74333f789923fd1c02bb7c629"))) I think you can use the =E2=80=9CPSM2_10.3-46=E2=80=9D tag for clarity here. > + (arguments > + '(#:modules ((guix build utils) > + (guix build gnu-build-system)) This #:modules isn=E2=80=99t needed since it=E2=80=99s already the default = set of modules. > + #:phases (modify-phases %standard-phases > + (delete 'configure) > + (delete 'check) > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out"))) > + (setenv "DESTDIR" out) > + (invoke "make" "install") Setting DESTDIR doesn=E2=80=99t quite work; it leads to an incorrect layout= with some files going to $prefix/usr: --8<---------------cut here---------------start------------->8--- $ find /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46 /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46 /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/lib /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/lib/udev /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/lib/udev/rules.d /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/lib/udev/rules.d/4= 0-psm.rules /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/lib/udev/rules.d/4= 0-psm-compat.rules /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/share /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/share/doc /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/share/doc/psm2-10.= 3-46 /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/share/doc/psm2-10.= 3-46/COPYING /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib/libpsm2 /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib/libpsm2/li= bpsm2-compat.cmds /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib64 /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib64/libpsm2.= so.2 /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib64/psm2-com= pat /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib64/psm2-com= pat/libpsm_infinipath.so.1 /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib64/libpsm2.= so /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib64/libpsm2.= so.2.1 /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/lib64/libpsm2.a /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/psm2.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/hfi1_deprecated.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/ptl_ips /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/ptl_ips/ipserror.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/psmi_wrappers.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/opa_intf.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/linux-x86_64 /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/linux-x86_64/bit_ops.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/linux-x86_64/sysdep.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/opa_udebug.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/opa_debug.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/opa_byteorder.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/opa_common.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/opa_revision.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/opa_service.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/psm2_mock_testing.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/hfi1di= ag/opa_user.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/psm2_m= q.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/usr/include/psm2_a= m.h /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/etc /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/etc/modprobe.d /gnu/store/i1ln5bgdkspm959nv7k42ysgycgsm3v6-psm2-10.3-46/etc/modprobe.d/lib= psm2-compat.conf --8<---------------cut here---------------end--------------->8--- Also we should avoid lib64/. Could you send an updated patch? Eventually we should try adding psm2 as an input to =E2=80=98openmpi=E2=80= =99 so that it is built with PSM2 modules. Thank you! Ludo=E2=80=99. From unknown Mon Jun 23 22:06:40 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#31172] [PATCH] gnu: Add psm2. Resent-From: Rouby Pierre-Antoine Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Apr 2018 11:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31172 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 31172@debbugs.gnu.org Cc: Rouby Pierre-Antoine Received: via spool by 31172-submit@debbugs.gnu.org id=B31172.152465695331737 (code B ref 31172); Wed, 25 Apr 2018 11:50:02 +0000 Received: (at 31172) by debbugs.gnu.org; 25 Apr 2018 11:49:13 +0000 Received: from localhost ([127.0.0.1]:38800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fBIv4-0008Fi-Sm for submit@debbugs.gnu.org; Wed, 25 Apr 2018 07:49:13 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:34838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fBIv3-0008FA-3W for 31172@debbugs.gnu.org; Wed, 25 Apr 2018 07:49:05 -0400 X-IronPort-AV: E=Sophos;i="5.49,326,1520895600"; d="scan'208";a="324413107" Received: from unknown (HELO antelope.bordeaux.inria.fr) ([193.50.110.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 25 Apr 2018 13:48:58 +0200 From: Rouby Pierre-Antoine Date: Wed, 25 Apr 2018 13:48:50 +0200 Message-Id: <20180425114850.12404-1-pierre-antoine.rouby@inria.fr> X-Mailer: git-send-email 2.17.0 In-Reply-To: <87sh7m2igw.fsf@gnu.org> References: <87sh7m2igw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: -6.0 (------) * gnu/packages/linux.scm (psm2): New variable. --- gnu/packages/linux.scm | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f49171fa5..e69bbf5b7 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2017, 2018 Rutger Helling ;;; Copyright © 2017 nee ;;; Copyright © 2017 Dave Love +;;; Copyright © 2018 Pierre-Antoine Rouby ;;; ;;; This file is part of GNU Guix. ;;; @@ -4561,3 +4562,50 @@ text-mode or graphical applications that don't use a display server. Also included is @command{fbgrab}, a wrapper around @command{fbcat} that emulates the behaviour of Gunnar Monell's older fbgrab utility.") (license license:gpl2))) + +(define-public psm2 + (package + (name "psm2") + (version "10.3-46") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/intel/opa-psm2.git") + (commit (string-append "PSM2_" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wadphv4rl5p38x6a3dgpbijlzqdvcn02cfafnp72nh9faz0zvlx")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags + `(,(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")) + #:tests? #f + #:phases (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'patch-Makefiles + (lambda _ + (substitute* "Makefile" + (("/lib64") "/lib") + (("/usr") "")) + (substitute* "compat/Makefile" + (("/lib64") "/lib") + (("/usr") "")) + #t)) + (replace 'install + (lambda _ + (setenv "DESTDIR" %output) + (invoke "make" "install")))))) + (inputs + `(("rdma-core" ,rdma-core) + ("numactl" ,numactl))) + (synopsis "Intel Performance Scaled Messaging 2 (PSM2) library") + (description + "This package is low-level user-level Intel's communications interface. +The PSM2 API is a high-performance vendor-specific protocol that provides a +low-level communications interface for the Intel Omni-Path family of +products.") + (home-page "https://github.com/intel/opa-psm2") + ;; Only the x86_64 architecure is supported. + (supported-systems '("x86_64-linux")) + (license (list license:bsd-3 license:gpl2)))) ; dual -- 2.17.0 From unknown Mon Jun 23 22:06:40 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: Rouby Pierre-Antoine Subject: bug#31172: closed (Re: [bug#31172] [PATCH] gnu: Add psm2.) Message-ID: References: <87sh7i2jcr.fsf@gnu.org> <20180416074607.17992-1-pierre-antoine.rouby@inria.fr> X-Gnu-PR-Message: they-closed 31172 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 31172@debbugs.gnu.org Date: Thu, 26 Apr 2018 13:23:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1524748983-11846-1" This is a multi-part message in MIME format... ------------=_1524748983-11846-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #31172: [PATCH 0/1] Add psm2 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 31172@debbugs.gnu.org. --=20 31172: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31172 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1524748983-11846-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 31172-done) by debbugs.gnu.org; 26 Apr 2018 13:22:18 +0000 Received: from localhost ([127.0.0.1]:40097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fBgqn-000348-V3 for submit@debbugs.gnu.org; Thu, 26 Apr 2018 09:22:18 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:58174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fBgql-00033y-FG for 31172-done@debbugs.gnu.org; Thu, 26 Apr 2018 09:22:16 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 80AFD124D5; Thu, 26 Apr 2018 15:22:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vkZETsF1waFH; Thu, 26 Apr 2018 15:22:13 +0200 (CEST) Received: from ribbon (unknown [193.50.110.156]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5EA1111418; Thu, 26 Apr 2018 15:22:13 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Rouby Pierre-Antoine Subject: Re: [bug#31172] [PATCH] gnu: Add psm2. References: <87sh7m2igw.fsf@gnu.org> <20180425114850.12404-1-pierre-antoine.rouby@inria.fr> Date: Thu, 26 Apr 2018 15:22:12 +0200 In-Reply-To: <20180425114850.12404-1-pierre-antoine.rouby@inria.fr> (Rouby Pierre-Antoine's message of "Wed, 25 Apr 2018 13:48:50 +0200") Message-ID: <87sh7i2jcr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 31172-done Cc: 31172-done@debbugs.gnu.org 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.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rouby Pierre-Antoine skribis: > * gnu/packages/linux.scm (psm2): New variable. Awesome, applied with the following changes. Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 2b82babfa..8fc9c56d6 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4665,7 +4665,8 @@ privileges.") (replace 'install (lambda _ (setenv "DESTDIR" %output) - (invoke "make" "install")))))) + (invoke "make" "install") + #t))))) (inputs `(("rdma-core" ,rdma-core) ("numactl" ,numactl))) @@ -4674,7 +4675,7 @@ privileges.") "This package is low-level user-level Intel's communications interface. The PSM2 API is a high-performance vendor-specific protocol that provides a low-level communications interface for the Intel Omni-Path family of -products.") +high-speed networking devices.") (home-page "https://github.com/intel/opa-psm2") ;; Only the x86_64 architecure is supported. (supported-systems '("x86_64-linux")) --=-=-=-- ------------=_1524748983-11846-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Apr 2018 07:46:55 +0000 Received: from localhost ([127.0.0.1]:54886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7yql-0005h2-9R for submit@debbugs.gnu.org; Mon, 16 Apr 2018 03:46:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7yqi-0005go-I8 for submit@debbugs.gnu.org; Mon, 16 Apr 2018 03:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7yqc-0007zw-JN for submit@debbugs.gnu.org; Mon, 16 Apr 2018 03:46:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f7yqc-0007zs-Gj for submit@debbugs.gnu.org; Mon, 16 Apr 2018 03:46:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7yqb-0004Zo-BP for guix-patches@gnu.org; Mon, 16 Apr 2018 03:46:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7yqX-0007vp-Cm for guix-patches@gnu.org; Mon, 16 Apr 2018 03:46:45 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:34041) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f7yqX-0007uL-0a for guix-patches@gnu.org; Mon, 16 Apr 2018 03:46:41 -0400 X-IronPort-AV: E=Sophos;i="5.48,459,1517871600"; d="scan'208";a="322986826" Received: from unknown (HELO antelope.bordeaux.inria.fr) ([193.50.110.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 16 Apr 2018 09:46:37 +0200 From: Rouby Pierre-Antoine To: guix-patches@gnu.org Subject: [PATCH 0/1] Add psm2 Date: Mon, 16 Apr 2018 09:46:07 +0200 Message-Id: <20180416074607.17992-1-pierre-antoine.rouby@inria.fr> X-Mailer: git-send-email 2.17.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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 Cc: Rouby Pierre-Antoine 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: -6.0 (------) This patch add package for psm2. They compile and install without any error. But, I'm not familiar with psm2. Someone could have a look ? Rouby Pierre-Antoine (1): gnu: Add psm2. gnu/packages/linux.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) -- 2.16.1 ------------=_1524748983-11846-1--