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

tau_exec interferes with PAPI ROCm component #10

Open
gcongiu opened this issue Sep 11, 2023 · 0 comments
Open

tau_exec interferes with PAPI ROCm component #10

gcongiu opened this issue Sep 11, 2023 · 0 comments

Comments

@gcongiu
Copy link

gcongiu commented Sep 11, 2023

The following line seems problematic when TAU and PAPI are installed through Spack (Spack installed PAPI always uses HSA_TOOLS_LIB to locate librocprofiler64.so):

$dryrun export HSA_TOOLS_LIB=$TAU_HSA_TOOLS_LIB
:

When I run tau_exec with PAPI + ROCm component support enabled, the component in PAPI is always disabled. This appears to be related to the line above, that sets HSA_TOOLS_LIB="" even though the "-rocm" option is not used.

Perhaps this should be changed to:

$dryrun [ "x$TAU_HSA_TOOLS_LIB" != "x" ] && export HSA_TOOLS_LIB=TAU_HSA_TOOLS_LIB

instead? Perhaps even prevent tau_exec from setting HSA_TOOLS_LIB if already set?

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