[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28673] [PATCH 4/6] gnu: Add opari2.
From: |
Dave Love |
Subject: |
[bug#28673] [PATCH 4/6] gnu: Add opari2. |
Date: |
Mon, 2 Oct 2017 21:48:46 +0100 |
* gnu/packages/profiling.scm (opari2): New variable.
---
gnu/packages/profiling.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/profiling.scm b/gnu/packages/profiling.scm
index 3f08f7e3d..cef363dee 100644
--- a/gnu/packages/profiling.scm
+++ b/gnu/packages/profiling.scm
@@ -28,6 +28,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
#:use-module (gnu packages fabric-management)
+ #:use-module (gnu packages gawk)
#:use-module (gnu packages glib)
#:use-module (gnu packages gcc)
#:use-module (gnu packages libunwind)
@@ -282,3 +283,36 @@ metrics are uniformly accommodated in the same display and
thus provide the
ability to easily compare the effects of different kinds of performance
behavior.")
(license license:bsd-3)))
+
+(define-public opari2
+ (package
+ (name "opari2")
+ (version "2.0.2")
+ (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/opari2/opari2-"
+ version ".tar.gz")))
+ (sha256 (base32
"1ph8l5c646bm9l5vcn8rrbjvkyi7y8yvn2ny95r6kmlzs766g3q8"))))
+ (build-system gnu-build-system)
+ (inputs `(("gfortran" ,gfortran)))
+ (native-inputs `(("gawk" ,gawk) ;for tests
+ ("which" ,which)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (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 "An OpenMP runtime performance measurement instrumenter")
+ (description "OPARI2 is a source-to-source instrumentation tool for OpenMP
and hybrid
+codes. It surrounds OpenMP directives and runtime library calls with calls
+to the POMP2 measurement interface.")
+ (license license:bsd-3)))
--
2.11.0
- [bug#28673] [PATCH 1/6] gnu: Add papi., Dave Love, 2017/10/02
- [bug#28673] [PATCH 4/6] gnu: Add opari2.,
Dave Love <=
- [bug#28673] [PATCH 6/6] gnu: Add scorep-openmpi., Dave Love, 2017/10/02
- [bug#28673] [PATCH 2/6] gnu: Add otf2., Dave Love, 2017/10/02
- [bug#28673] [PATCH 3/6] gnu: Add cube., Dave Love, 2017/10/02
- [bug#28673] [PATCH 5/6] gnu: libunwind: Merge update and test changes., Dave Love, 2017/10/02
- [bug#28673] [PATCH 1/6] gnu: Add papi., Ludovic Courtès, 2017/10/03