From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e02Ox-0006hY-HL for guix-patches@gnu.org; Thu, 05 Oct 2017 05:25:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e02Ot-00062W-8e for guix-patches@gnu.org; Thu, 05 Oct 2017 05:25:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41042) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e02Ot-00062H-5N for guix-patches@gnu.org; Thu, 05 Oct 2017 05:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e02Os-00089m-V2 for guix-patches@gnu.org; Thu, 05 Oct 2017 05:25:02 -0400 Subject: bug#28423: gnu: Add imb-openmpi. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <877ex5j7dz.fsf@albion.it.manchester.ac.uk> <87377tj72w.fsf@albion.it.manchester.ac.uk> <877ex4ysk1.fsf@gnu.org> <87wp4ik2k6.fsf@gnu.org> <87bmlpffd3.fsf@albion.it.manchester.ac.uk> <87k20c8kjl.fsf@gnu.org> <877ewcb24q.fsf@albion.it.manchester.ac.uk> <87o9poau1t.fsf@gnu.org> <87a8179bef.fsf@albion.it.manchester.ac.uk> Date: Thu, 05 Oct 2017 11:24:31 +0200 In-Reply-To: <87a8179bef.fsf@albion.it.manchester.ac.uk> (Dave Love's message of "Wed, 04 Oct 2017 16:32:24 +0100") Message-ID: <87tvze7xrk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Dave Love Cc: 28423-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dave Love skribis: > From 44b58081283c93e49d00900cc3e29dfd1af0e97a Mon Sep 17 00:00:00 2001 > From: Dave Love > Date: Tue, 3 Oct 2017 19:14:50 +0100 > Subject: [PATCH] gnu: Add imb-openmpi. > > * gnu/packages/benchmark.scm(imb): New function. > (imb-openmpi): New variable. Committed with the cosmetic changes below, thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index e3c2570ef..feed7b545 100644 --- a/gnu/packages/benchmark.scm +++ b/gnu/packages/benchmark.scm @@ -27,7 +27,8 @@ #:use-module (gnu packages maths) #:use-module (gnu packages mpi) #:use-module (gnu packages python) - #:use-module (gnu packages storage)) + #:use-module (gnu packages storage) + #:use-module (ice-9 match)) (define-public fio (package @@ -114,12 +115,11 @@ is to write a job file matching the I/O load one wants to simulate.") (source (origin (method url-fetch) - (uri (let* ((parts (string-split version #\.) ) - (major (car parts)) - (minor (cadr parts))) - (string-append - "https://software.intel.com/sites/default/files/managed/76/6c/IMB_" - major "_Update" minor ".tgz"))) + (uri (match (string-split version #\.) + ((major minor) + (string-append + "https://software.intel.com/sites/default/files/managed/76/6c/IMB_" + major "_Update" minor ".tgz")))) (sha256 (base32 "11nczxm686rsppmw9gjc2p2sxc0jniv5kv18yxm1lzp5qfh5rqyb")))) (build-system gnu-build-system) (inputs @@ -139,7 +139,7 @@ is to write a job file matching the I/O load one wants to simulate.") (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (doc (string-append out "/share/doc")) + (doc (string-append out "/share/doc/" ,name)) (bin (string-append out "/bin"))) (with-directory-excursion "imb/src" (for-each @@ -153,9 +153,11 @@ is to write a job file matching the I/O load one wants to simulate.") (home-page "https://software.intel.com/en-us/articles/intel-mpi-benchmarks") (synopsis "Intel MPI Benchmarks") (description - "A set of MPI performance measurements for point-to-point and global -communication, and file, operations for a range of message sizes. -The generated benchmark data fully characterize: + "This package provides benchmarks for implementations of the @dfn{Message +Passing Interface} (MPI). It contains MPI performance measurements for +point-to-point and global communication, and file, operations for a range of +message sizes. The generated benchmark data fully characterize: + @itemize @item Performance of a cluster system, including node performance, network latency, --=-=-=--