sys-cluster/extrae: add openshmem useflag

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-08-06 02:13:32 +02:00
parent 39bc696e1b
commit 80ce048866
2 changed files with 11 additions and 4 deletions

View File

@@ -15,14 +15,15 @@ LICENSE="LGPL-2.1"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="clustering doc dyninst heterogeneous inotify +instrument-dynamic-memory +instrument-io IUSE="clustering doc dyninst heterogeneous inotify +instrument-dynamic-memory +instrument-io
+instrument-syscall memkind merge-in-trace nanos online opencl openmp +parallel-merge +instrument-syscall memkind merge-in-trace nanos online opencl openmp openshmem
pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss spectral +xml" +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss
spectral +xml"
#aspectj and aspectj-weaver need to both be enabled at the same time #aspectj and aspectj-weaver need to both be enabled at the same time
#current dev-java/aspectj package only provides aspectj.jar #current dev-java/aspectj package only provides aspectj.jar
#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc #aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
#aspectj-weaver needs bar/aspectjweaver.jar #aspectj-weaver needs bar/aspectjweaver.jar
#TODO: pmapi cuda cupti openshmem gm mx aspectj #TODO: pmapi cuda cupti gm mx aspectj
#TODO: support llvm libunwind, llvm rt, elftoolchain #TODO: support llvm libunwind, llvm rt, elftoolchain
CDEPEND=" CDEPEND="
@@ -48,6 +49,7 @@ CDEPEND="
memkind? ( dev-libs/memkind ) memkind? ( dev-libs/memkind )
online? ( sys-cluster/synapse ) online? ( sys-cluster/synapse )
opencl? ( dev-util/opencl-headers ) opencl? ( dev-util/opencl-headers )
openshmem? ( sys-cluster/SOS )
sionlib? ( sys-cluster/sionlib:= ) sionlib? ( sys-cluster/sionlib:= )
spectral? ( spectral? (
sci-libs/fftw sci-libs/fftw
@@ -106,7 +108,6 @@ src_configure() {
--with-unwind="${EPREFIX}/usr" --with-unwind="${EPREFIX}/usr"
--without-cupti --without-cupti
--without-openshmem
--without-gm --without-gm
--without-mx --without-mx
@@ -175,6 +176,11 @@ src_configure() {
else else
myconf+=( "--without-opencl" ) myconf+=( "--without-opencl" )
fi fi
if use openshmem; then
myconf+=( "--with-openshmem=${EPREFIX}/usr" )
else
myconf+=( "--without-openshmem" )
fi
if use sionlib; then if use sionlib; then
myconf+=( "--with-sionlib=${EPREFIX}/usr" ) myconf+=( "--with-sionlib=${EPREFIX}/usr" )
myconf+=( "--with-sionlib-headers=${EPREFIX}/usr/include/sionlib" ) myconf+=( "--with-sionlib-headers=${EPREFIX}/usr/include/sionlib" )

View File

@@ -34,6 +34,7 @@ process). Extrae generates trace files that can be later visualized with sys-clu
<flag name="online">Enable on-line analysis</flag> <flag name="online">Enable on-line analysis</flag>
<flag name="opencl">Enable support for tracing OpenCL</flag> <flag name="opencl">Enable support for tracing OpenCL</flag>
<flag name="openmp">Enable support for tracing OpenMP</flag> <flag name="openmp">Enable support for tracing OpenMP</flag>
<flag name="openshmem">OpenSHMEM to be used for the instrumentation package</flag>
<flag name="parallel-merge">Build the parallel mergers (mpimpi2prv/mpimpi2dim) based on MPI</flag> <flag name="parallel-merge">Build the parallel mergers (mpimpi2prv/mpimpi2dim) based on MPI</flag>
<flag name="pebs-sampling">enable PEBS sampling</flag> <flag name="pebs-sampling">enable PEBS sampling</flag>
<!--<flag name="pmapi">Enable PMAPI library to gather CPU performance counters</flag>--> <!--<flag name="pmapi">Enable PMAPI library to gather CPU performance counters</flag>-->