Skip to content

Finish the libpfm3 removal#443

Merged
jagode merged 2 commits into
icl-utk-edu:masterfrom
Treece-Burgess:07-10-25-libpfm3-removal
Jun 17, 2026
Merged

Finish the libpfm3 removal#443
jagode merged 2 commits into
icl-utk-edu:masterfrom
Treece-Burgess:07-10-25-libpfm3-removal

Conversation

@Treece-Burgess

@Treece-Burgess Treece-Burgess commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

Pull Request Description

The following commit removed perfctr and libpfm-3.y code. However, this commit left behind code that will not work without it such as the components perfmon2 and perfmon_ia64.

This PR looks to remove the left behind code.

Testing

Configure CPU Architecture PAPI Utilities*
./configure --prefix=$PWD/test-install Intel Xeon Gold 6140
  • Includes papi_component_avail, papi_native_avail, papi_command_line, and papi_avail

Author Checklist

  • Description
    Why this PR exists. Reference all relevant information, including background, issues, test failures, etc
  • Commits
    Commits are self contained and only do one thing
    Commits have a header of the form: module: short description
    Commits have a body (whenever relevant) containing a detailed description of the addressed problem and its solution
  • Tests
    The PR needs to pass all the tests

@dbarry9

dbarry9 commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

I am reviewing this pull request.

@dbarry9 dbarry9 self-requested a review July 10, 2025 22:26
@Treece-Burgess Treece-Burgess added status-work-in-progress PR is still being worked on type-maintenance Update code to keep it compatible, secure, modern. labels Jul 10, 2025
@Treece-Burgess Treece-Burgess requested a review from adanalis July 11, 2025 17:12
@Treece-Burgess Treece-Burgess force-pushed the 07-10-25-libpfm3-removal branch from 6570f07 to ef44e42 Compare July 14, 2025 19:38
@Treece-Burgess Treece-Burgess added status-ready-for-review PR is ready to be reviewed and removed status-work-in-progress PR is still being worked on labels Jul 14, 2025
Comment thread src/configure
{ $as_echo "$as_me:${as_lineno-$LINENO}: XXXXX user_specified_interface perfnec" >&5
if test "$user_specified_interface" = "pe"; then
PAPICFLAGS+=" $PECFLAGS"
perfnec=0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent properly.

@dbarry9

dbarry9 commented Nov 14, 2025

Copy link
Copy Markdown
Contributor

src/Rules.pfm needs to also be removed.

@Treece-Burgess

Copy link
Copy Markdown
Contributor Author

After discussion with Daniel, we are going to preemptively remove perfnec as from Rules.perfnec in src it has a target for compiling papi_libpfm3_events.c. However, Daniel was able to build PAPI on Frontier with perfnec active when commenting out the asm function call.

@jagode jagode self-requested a review June 17, 2026 22:51
@jagode jagode merged commit 7a9101e into icl-utk-edu:master Jun 17, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status-ready-for-review PR is ready to be reviewed type-maintenance Update code to keep it compatible, secure, modern.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

complete the libpfm3 removal perfctr: Removal of Leftover Documentation and Outdated Code

3 participants