[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/4] gnu: openmpi: Add memchecker support
From: |
Eric Bavier |
Subject: |
[PATCH 1/4] gnu: openmpi: Add memchecker support |
Date: |
Sat, 17 May 2014 00:55:11 -0500 |
User-agent: |
mu4e 0.9.9.5; emacs 23.3.1 |
>From 3aaab98e3b9a0b1b893dd5bc64e098136364e717 Mon Sep 17 00:00:00 2001
From: Eric Bavier <address@hidden>
Date: Sat, 17 May 2014 00:02:44 -0500
Subject: [PATCH 1/4] gnu: openmpi: Add memchecker support
* gnu/packages/mpi.scm (openmpi) [inputs]: Add valgrind.
[arguments]: Add configure flags for memchecker.
---
gnu/packages/mpi.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 37b7858..e525ed8 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -32,6 +32,7 @@
#:use-module (gnu packages xml)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages valgrind)
#:use-module (srfi srfi-1))
(define-public hwloc
@@ -99,7 +100,8 @@ bind processes, and much more.")
(native-inputs
`(("pkg-config" ,pkg-config)))
(propagated-inputs
- `(("gfortran" ,gfortran-4.8)))
+ `(("gfortran" ,gfortran-4.8)
+ ("valgrind" ,valgrind)))
(arguments
`(#:configure-flags `("--enable-static"
"--enable-oshmem"
@@ -110,6 +112,10 @@ bind processes, and much more.")
;; "--enable-mpi-thread-multiple"
"--enable-mpi-ext=all"
"--with-devel-headers"
+ "--enable-debug"
+ "--enable-memchecker"
+ ,(string-append "--with-valgrind="
+ (assoc-ref %build-inputs
"valgrind"))
,(string-append "--with-hwloc="
(assoc-ref %build-inputs
"hwloc")))))
(home-page "http://www.open-mpi.org")
--
1.7.9.5
--
Eric Bavier
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
- [PATCH 1/4] gnu: openmpi: Add memchecker support,
Eric Bavier <=