emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#28423: closed (gnu: Add imb-openmpi.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28423: closed (gnu: Add imb-openmpi.)
Date: Thu, 05 Oct 2017 09:25:02 +0000

Your message dated Thu, 05 Oct 2017 11:24:31 +0200
with message-id <address@hidden>
and subject line Re: [bug#28423] gnu: Add imb-openmpi.
has caused the debbugs.gnu.org bug report #28423,
regarding gnu: Add imb-openmpi.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28423: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28423
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: gnu: Add imb-openmpi. Date: Mon, 11 Sep 2017 21:40:56 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
I'm not sure whether this should be in benchmark or in mpi, as an MPI
benchmark.

Attachment: 0001-gnu-Add-imb-openmpi.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: [bug#28423] gnu: Add imb-openmpi. Date: Thu, 05 Oct 2017 11:24:31 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Dave Love <address@hidden> skribis:

> From 44b58081283c93e49d00900cc3e29dfd1af0e97a Mon Sep 17 00:00:00 2001
> From: Dave Love <address@hidden>
> 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’.

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,

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]