From: Eric Bavier <ericbavier@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 1/4] gnu: openmpi: Add memchecker support
Date: Sat, 17 May 2014 00:55:11 -0500 [thread overview]
Message-ID: <878uq17xvk.fsf@gmail.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-openmpi-Add-memchecker-support.patch --]
[-- Type: text/x-diff, Size: 1781 bytes --]
From 3aaab98e3b9a0b1b893dd5bc64e098136364e717 Mon Sep 17 00:00:00 2001
From: Eric Bavier <bavier@member.fsf.org>
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
[-- Attachment #2: Type: text/plain, Size: 133 bytes --]
--
Eric Bavier
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
next reply other threads:[~2014-05-17 5:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-17 5:55 Eric Bavier [this message]
2014-05-17 10:30 ` [PATCH 1/4] gnu: openmpi: Add memchecker support Ludovic Courtès
2014-05-18 0:09 ` Eric Bavier
2014-05-18 10:06 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878uq17xvk.fsf@gmail.com \
--to=ericbavier@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).