Skip to content

run_overhead_tests.sh doesn't work properly when using a minimal installation of extrae #119

@valentin-seitz

Description

@valentin-seitz

When configuring extrae version v4.2.1 downloaded from GitHub with

./bootstrap
CC=gcc-13 CXX=g++-13 ./configure --without-mpi --prefix=$(readlink -f ../install) --without-unwind --without-papi 
make install

The script run_overhead_tests.sh described in https://tools.bsc.es/doc/html/extrae/overhead.html will not execute properly.
The expected behavior is, that only available functionality like extrae_event will be compiled and executed.
The actual behavior is, that it currently fails.

One of the problems seems to be run_overhead_tests.sh as it contains some un-substituted strings:

EXECUTABLES="./posix_clock ./ia32_rdtsc_clock ./extrae_event ./extrae_nevent4"
EXECUTABLES+=" @sub_COUNTERS_OVERHEAD_TESTS@"
EXECUTABLES+=" @sub_CALLERS_OVERHEAD_TESTS@"
EXECUTABLES_JAVA="JavaEvent JavaNEvent4"
EXECUTABLES_JAVA_EXTRAEJ="JavaFakeRoutine"

Commenting these lines doesn't help tho, as the Makefile I get, seems to depend on $PAPI_HOME to be set, even though I configured --without-papi

include ../../example/Makefile.inc

CFLAGS = -O -g -I $(EXTRAE_HOME)/include -I $(PAPI_HOME)/include
LFLAGS = -L$(EXTRAE_HOME)/lib -Wl,-rpath -Wl,$(EXTRAE_HOME)/lib -lseqtrace

TARGETS = posix_clock ia32_rdtsc_clock extrae_event extrae_nevent4 extrae_eventandcounters extrae_user_function extrae_get_caller1 extrae_get_caller6 extrae_trace_callers papi_read1 papi_read4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions