Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
valentin-seitz opened this issue Aug 8, 2024 · 0 comments

Comments

@valentin-seitz
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant