diff --git a/sys-cluster/opari2/Manifest b/sys-cluster/opari2/Manifest new file mode 100644 index 0000000000..663a51e4fc --- /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 0000000000..28fe2fe904 --- /dev/null +++ b/sys-cluster/opari2/metadata.xml @@ -0,0 +1,13 @@ + + + + + lssndrbarbieri@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 0000000000..a55ddf1e8c --- /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 +}