[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/12: gnu: Add Intel MPI Benchmarks.
From: |
guix-commits |
Subject: |
06/12: gnu: Add Intel MPI Benchmarks. |
Date: |
Fri, 15 Nov 2019 11:53:27 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit c1ea4c07933e0814e7f422ff0177b671865a5811
Author: Ludovic Courtès <address@hidden>
Date: Fri Nov 8 18:19:39 2019 +0100
gnu: Add Intel MPI Benchmarks.
* gnu/packages/mpi.scm (intel-mpi-benchmarks): New variable.
---
gnu/packages/mpi.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 172fe9e..a871944 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -29,6 +29,7 @@
#:use-module ((guix licenses)
#:hide (expat))
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
@@ -344,6 +345,57 @@ only provides @code{MPI_THREAD_FUNNELED}.")))
(setenv "OMPI_MCA_rmaps_base_mapping_policy" "core:OVERSUBSCRIBE")
#t))
+(define-public intel-mpi-benchmarks
+ (package
+ (name "intel-mpi-benchmarks")
+ (version "2019.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/intel/mpi-benchmarks.git")
+ (commit (string-append "IMB-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0si5xi6ilhd3w0gbsg124589pvp094hvf366rvjjb9pi7pdk5p4i"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'check)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (define (benchmark? file stat)
+ (and (string-prefix? "IMB-" (basename file))
+ (executable-file? file)))
+
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (for-each (lambda (file)
+ (install-file file bin))
+ (find-files "." benchmark?))
+ #t))))
+
+ ;; The makefile doesn't express all the dependencies, it seems.
+ #:parallel-build? #t
+
+ #:make-flags (list (string-append "CC="
+ (assoc-ref %build-inputs "openmpi")
+ "/bin/mpicc")
+ (string-append "CXX="
+ (assoc-ref %build-inputs "openmpi")
+ "/bin/mpicxx"))))
+ (inputs
+ `(("openmpi" ,openmpi)))
+ (home-page "https://github.com/intel/mpi-benchmarks")
+ (synopsis "Benchmarks for the Message Passing Interface (MPI)")
+ (description
+ "Intel MPI Benchmarks (IMB) provides a set of elementary benchmarks that
+conform with versions 1, 2, and 3 of the Message Passing Interface (MPI).")
+ (license
+ (fsf-free "https://directory.fsf.org/wiki/License:CPL-1.0"
+
"https://www.gnu.org/licenses/license-list.html#CommonPublicLicense10"))))
+
(define-public python-mpi4py
(package
(name "python-mpi4py")
- branch master updated (f3560c6 -> faab708), guix-commits, 2019/11/15
- 01/12: gnu: ucx: Enable InfiniBand support through Verbs., guix-commits, 2019/11/15
- 02/12: gnu: ucx: Do not install static libraries., guix-commits, 2019/11/15
- 03/12: gnu: openmpi: Pass explicit "--with-*" configure flags., guix-commits, 2019/11/15
- 05/12: gnu: rdma-core: Update to 26.0., guix-commits, 2019/11/15
- 09/12: gnu: hwloc: Update to 2.1.0., guix-commits, 2019/11/15
- 10/12: gnu: openmpi, slurm: Switch to hwloc 2.x., guix-commits, 2019/11/15
- 04/12: gnu: rdma-core: Use the "write" ioctl mode., guix-commits, 2019/11/15
- 08/12: gnu: slurm: Build shared libraries only., guix-commits, 2019/11/15
- 06/12: gnu: Add Intel MPI Benchmarks.,
guix-commits <=
- 11/12: gnu: psm: Add "debug" output., guix-commits, 2019/11/15
- 07/12: gnu: slurm: Update to 19.05.3-2., guix-commits, 2019/11/15
- 12/12: gnu: openmpi: Raise the priority of the PSM2 component., guix-commits, 2019/11/15