From: Dave Love <fx@gnu.org>
To: 28673@debbugs.gnu.org
Cc: Dave Love <fx@gnu.org>
Subject: [bug#28673] [PATCH 6/6] gnu: Add scorep-openmpi.
Date: Mon, 2 Oct 2017 21:48:48 +0100 [thread overview]
Message-ID: <20171002204848.23646-6-fx@gnu.org> (raw)
In-Reply-To: <20171002204848.23646-1-fx@gnu.org>
* gnu/packages/profiling.scm (make-scorep): New function.
(scorep-openmpi): New variable.
---
gnu/packages/profiling.scm | 68 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm
index cef363dee..e81747c0d 100644
--- a/gnu/packages/profiling.scm
+++ b/gnu/packages/profiling.scm
@@ -25,15 +25,20 @@
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base) ;for "which"
+ #:use-module (gnu packages bison)
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
#:use-module (gnu packages fabric-management)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages gawk)
#:use-module (gnu packages glib)
#:use-module (gnu packages gcc)
#:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages mpi)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages python)
#:use-module (gnu packages qt))
;; Fixme: Separate out lib and fix resulting cycle errors; separate libpfm
@@ -316,3 +321,66 @@ behavior.")
codes. It surrounds OpenMP directives and runtime library calls with calls
to the POMP2 measurement interface.")
(license license:bsd-3)))
+
+(define (make-scorep mpi)
+ (package
+ (name (string-append "scorep-" (package-name mpi)))
+ (version "3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (let* ((parts (string-split version #\.) )
+ (major (car parts))
+ (minor (cadr parts)))
+ (string-append
+ "http://www.vi-hps.org/upload/packages/scorep/scorep-"
+ version ".tar.gz")))
+ (sha256 (base32 "0h45357djna4dn9jyxx0n36fhhms3jrf22988m9agz1aw2jfivs9"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("mpi" ,mpi)
+ ("papi" ,papi)
+ ("opari2" ,opari2)
+ ("libunwind" ,libunwind)
+ ("otf2" ,otf2)
+ ("cube" ,cube) ;for cube-config, as above
+ ("cubelib" ,cube "lib") ;for lib, include
+ ("openmpi" ,openmpi)
+ ("doxygen" ,doxygen)
+ ("zlib" ,zlib)
+ ("which" ,which)))
+ (native-inputs `(("gfortran" ,gfortran)
+ ("flex" ,flex)
+ ("bison" ,bison)
+ ("python" ,python)))
+ (arguments
+ `(#:configure-flags
+ (list "--enable-shared" "--disable-static"
+ (string-append "--with-opari2=" (assoc-ref %build-inputs "opari2"))
+ (string-append "--with-cube=" (assoc-ref %build-inputs "cube")))
+ #:parallel-tests? #f
+ #:make-flags '("V=1")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'clean-source
+ (lambda _
+ (map delete-file-recursively '("vendor/opari2" "vendor/cube"))))
+ (add-after 'install 'licence
+ (lambda _
+ (let ((doc (string-append (assoc-ref %outputs "out") "/share/doc")))
+ (mkdir-p doc)
+ (install-file "COPYING" doc)
+ #t))))))
+ (home-page "http://www.vi-hps.org/projects/score-p/")
+ (synopsis
+ (format #f "\
+Scalable Performance Measurement Infrastructure for Parallel Codes, ~a version"
+ (package-name mpi)))
+ (description (format #f "The Score-P (Scalable Performance Measurement Infrastructure for Parallel
+Codes) measurement infrastructure is a highly scalable and easy-to-use tool
+suite for profiling, event trace recording, and online analysis of HPC
+applications.
+This is the ~a version." (package-name mpi)))
+ (license license:cpl1.0)))
+
+(define-public scorep-openmpi (make-scorep openmpi))
--
2.11.0
next prev parent reply other threads:[~2017-10-02 20:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-02 20:48 [bug#28673] [PATCH 1/6] gnu: Add papi Dave Love
2017-10-02 20:48 ` [bug#28673] [PATCH 2/6] gnu: Add otf2 Dave Love
2017-10-03 14:09 ` Ludovic Courtès
2017-10-02 20:48 ` [bug#28673] [PATCH 3/6] gnu: Add cube Dave Love
2017-10-03 14:44 ` Ludovic Courtès
2017-10-02 20:48 ` [bug#28673] [PATCH 4/6] gnu: Add opari2 Dave Love
2017-10-03 14:13 ` Ludovic Courtès
2017-10-02 20:48 ` [bug#28673] [PATCH 5/6] gnu: libunwind: Merge update and test changes Dave Love
2017-10-03 14:46 ` Ludovic Courtès
2017-11-16 9:47 ` bug#28673: " Ludovic Courtès
2017-10-02 20:48 ` Dave Love [this message]
2017-10-03 15:07 ` [bug#28673] [PATCH 6/6] gnu: Add scorep-openmpi Ludovic Courtès
2017-10-03 13:43 ` [bug#28673] [PATCH 1/6] gnu: Add papi 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171002204848.23646-6-fx@gnu.org \
--to=fx@gnu.org \
--cc=28673@debbugs.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.