commit: fb201c0168c9a439c6c7583f7e1c4933f09f738c
Author: Alessandro Barbieri gmail com>
AuthorDate: Tue Jun 7 21:29:02 2022 +
Commit: Alessandro Barbieri gmail com>
CommitDate: Fri Jun 10 03:58:04 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb201c01
sys-cluster/opari2: new package, add 2.0.6
Signed-off-by: Alessandro Barbieri gmail.com>
sys-cluster/opari2/Manifest| 1 +
sys-cluster/opari2/metadata.xml| 13 +
sys-cluster/opari2/opari2-2.0.6.ebuild | 29 +
3 files changed, 43 insertions(+)
diff --git a/sys-cluster/opari2/Manifest b/sys-cluster/opari2/Manifest
new file mode 100644
index 0..663a51e4f
--- /dev/null
+++ b/sys-cluster/opari2/Manifest
@@ -0,0 +1 @@
+DIST opari2-2.0.6.tar.gz 1355638 BLAKE2B
343f747de622fd6bf03c8aa7c250c6293868427e9e5f6e077a72b618afd683b6f4e30d8ff8e1c2f01b28bbb401e1522df9803006bd109c859b688b6cbf383a0e
SHA512
253dd353c3dbda148a5ca22124163362528db76343ec668d1fa6f45556befb6ef44c1b6cf2d8977ba712866c5f95db5d1461b943b14c2418cb45c3627882b573
diff --git a/sys-cluster/opari2/metadata.xml b/sys-cluster/opari2/metadata.xml
new file mode 100644
index 0..28fe2fe90
--- /dev/null
+++ b/sys-cluster/opari2/metadata.xml
@@ -0,0 +1,13 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+ lssndrbarbi...@gmail.com
+ Alessandro Barbieri
+
+
+OPARI2 is a tool to automatically instrument C, C++ and Fortran source code
files in which pragmas (C/C++) or directives (Fortran) are used. Currently
OpenMP and POMP user instrumentation are supported. Function calls to the
pomp2_lib.h and pomp2_user_lib.h are inserted around or as replacement for
supported directives. By implementing the respective APIs, detailed
measurements regarding the runtime behavior of an applications can be made. A
conforming implementation needs to implement all functions associated with the
supported programming model. The original OPARI was developed to perform
source-to-source instrumentation of OpenMP programs. Therefore the main focus
of this document still lies on support for OpenMP.
+OpenMP 3.0 introduced tasking to OpenMP. To support this feature the POMP2
adapter needs to do some bookkeeping in regard to specific task IDs. The
pomp2_lib.c provided with this package includes the necessary code so it is
strongly advised to use it as a basis for writing an adapter to your own tool.
+A detailed description of the first OPARI version has been published by Mohr
et al. in "Design and prototype of a performance tool interface for OpenMP"
(Journal of supercomputing, 23, 2002).
+
+
diff --git a/sys-cluster/opari2/opari2-2.0.6.ebuild
b/sys-cluster/opari2/opari2-2.0.6.ebuild
new file mode 100644
index 0..a55ddf1e8
--- /dev/null
+++ b/sys-cluster/opari2/opari2-2.0.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="OpenMP Pragma And Region Instrumentor"
+HOMEPAGE="https://www.vi-hps.org/projects/score-p";
+SRC_URI="https://perftools.pages.jsc.fz-juelich.de/cicd/${PN}/tags/${P}/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+ dodoc OPEN_ISSUES README
+ find "${ED}" -name '*.la' -delete || die
+ find "${ED}" -name '*.a' -delete || die
+}