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

#2302: Integrate PAPI in LB data export #2304

Draft
wants to merge 19 commits into
base: develop
Choose a base branch
from

Conversation

pierrepebay
Copy link
Contributor

Fixes #2302

@pierrepebay pierrepebay self-assigned this Jun 12, 2024
@pierrepebay pierrepebay linked an issue Jun 12, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Jun 12, 2024

Pipelines results

PR tests (gcc-12, ubuntu, mpich, verbose)

Build for 690613e (2024-06-12 19:26:21 UTC)

Build failed for unknown reason. Check build logs


Build log


PR tests (gcc-12, ubuntu, mpich, verbose, kokkos)

Build for d65b135 (2024-09-17 13:40:07 UTC)

Compilation - successful

Testing - passed

Build log


@pierrepebay pierrepebay changed the title #2302: Add papi as dependency #2302: Integrate PAPI in LB data export Jun 18, 2024
@pierrepebay pierrepebay force-pushed the 2302-integrate-papi-in-lb-data-export branch from c8df604 to 28072a8 Compare July 9, 2024 17:09
@nlslatt
Copy link
Collaborator

nlslatt commented Jul 19, 2024

This branch needs a lot more testing before it is merged. When I put more than 4 items in VT_EVENTS, I'm seeing memory corruption after the first task collects PAPI events. I'm not sure where in the software stack the problem lies.

@nlslatt
Copy link
Collaborator

nlslatt commented Jul 19, 2024

This branch needs a lot more testing before it is merged. When I put more than 4 items in VT_EVENTS, I'm seeing memory corruption after the first task collects PAPI events. I'm not sure where in the software stack the problem lies.

I also got memory corruption after many tasks when using only 3 items (cache-misses,page-faults,fp_assist.any). I think this PR still needs work.

@nlslatt
Copy link
Collaborator

nlslatt commented Jul 19, 2024

Also, this PR unconditionally requires PAPI. We need an option that turns on PAPI support instead of failing configure in all cases where PAPI is not found.

@pierrepebay pierrepebay force-pushed the 2302-integrate-papi-in-lb-data-export branch from d4caf0d to 5f491dd Compare August 15, 2024 20:45
@nlslatt
Copy link
Collaborator

nlslatt commented Oct 14, 2024

Before this can be merged, it needs to be refactored so that the user interface for perf is very similar to the existing PAPI interface within RunnableNew. In fact, perf and PAPI should share a single interface in RunnableNew (so please rename those member functions to not include PAPI in the name). When perf is chosen at configure time instead of PAPI, the RunnableNew functions will forward the requests to vt::thePerfData()->startTaskMeasurement() and the like. Please let me know if this is not clear.

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

Successfully merging this pull request may close these issues.

Integrate PAPI in LB data export
2 participants