New PAPI 7.1.0 release coming up

19 views
Skip to first unread message

Giuseppe Congiu

unread,
Nov 7, 2023, 1:59:18 AM11/7/23
to ptools-perfapi, perfap...@icl.utk.edu
Dear All,

We will release a new PAPI 7.1.0 version soon (around SC23). Please submit now a new PR for any important feature you would like to be included in the release, so that we have time to review and test it.

Any further testing and bug reports from now up to the release will be greatly appreciated.

Thank you,
The PAPI team

William Cohen

unread,
Nov 7, 2023, 12:56:06 PM11/7/23
to Giuseppe Congiu, ptools-perfapi, perfap...@icl.utk.edu, wco...@redhat.com
Hi,

I am looking into building rpms of what is currently in the papi repository. However, when I put the new papi-7.0.1.tar.gz from "make dist-targz" the rpmbuild configure doesn't work because of the followig patch git commit 0cc7bf15667007784bd857d249ba4aeca40d7edd

Author: Giuseppe Congiu <gco...@icl.utk.edu> 2023-09-29 09:33:00
Committer: Giuseppe Congiu <gco...@icl.utk.edu> 2023-10-24 08:44:56
Parent: d9ffaf2d66f85b0d8b594285f43ba81d81b5efce (Merge pull request #101 from anustuvicl/2023.10.19-cuda_fix_papi_command_line_segfault)
Child: 8d800489d0f0c6133754c4811bf9dd9d10e55768 (sde_lib: do not build with debug symbols by default)
Branches: coverity202311, master, remotes/origin/master
Follows:
Precedes:

configure: do not build with debug symbols by default

Remove -g being added by default in configure.

End up getting the following error message in config.log for the "rpmbuild -ba papi.spec"

configure:3180: checking whether we are cross compiling
configure:3188: gcc -o conftest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes conftest.c >&5
configure:3192: $? = 0
configure:3199: ./conftest
configure:3203: $? = 0
configure:3218: result: no
configure:3223: checking for suffix of object files
configure:3246: gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g conftest.c >&5
configure:3250: $? = 0
configure:3272: result: o

For the time being I have patched out that change out so that I can build things on Fedora.

I also realized that https://github.com/icl-utk-edu/papi/pull/46 patches had an outstanding request to update the title line on the commit messages to list the components. I have redone the five patches for that pull and put them https://github.com/wcohen/papi/tree/coverity202311 as I didn't know how to munge multiple commit messages after pushing that. Should I just do a pull request on the coertity202311 branch?

Thanks,

-Will

William Cohen

unread,
Nov 7, 2023, 1:47:55 PM11/7/23
to Giuseppe Congiu, ptools-perfapi, perfap...@icl.utk.edu, wco...@redhat.com
On 11/7/23 01:59, Giuseppe Congiu wrote:
With the reversion of the configure change (0cc7bf15667007784bd857d249ba4aeca40d7edd) I have scratch rpmbuild builds completed for Fedora 39 and rawhide (they also have patches for https://github.com/icl-utk-edu/papi/pull/46) :

Fedora 39: https://koji.fedoraproject.org/koji/taskinfo?taskID=108713820
rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=108713776

Will try to do some testing of the rpms on various systems.

-Will

Giuseppe Congiu

unread,
Nov 7, 2023, 2:44:29 PM11/7/23
to Kaufmann, Steve, ptools-perfapi, perfap...@icl.utk.edu
Hi Steve,

I created a milestone for the 7.1.0 release and marked the PRs that should be merged for the release. More might be added in the coming days.

Best,
Giuseppe

On 7 Nov 2023, at 20:19, Kaufmann, Steve <steven....@hpe.com> wrote:

Giuseppe

What outstanding PRs do you plan to merge into the release?

Steve


From: Giuseppe Congiu <gco...@icl.utk.edu>
Sent: Tuesday, November 7, 2023 12:59 AM
To: ptools-perfapi <ptools-...@icl.utk.edu>; perfap...@icl.utk.edu <perfap...@icl.utk.edu>
Subject: [perfapi-devel] New PAPI 7.1.0 release coming up
 
-- 
You received this message because you are subscribed to the Google Groups "perfapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to perfapi-deve...@icl.utk.edu.
To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/perfapi-devel/AD3F9FBF-FB69-4F0B...@icl.utk.edu .

Giuseppe Congiu

unread,
Nov 7, 2023, 3:01:11 PM11/7/23
to William Cohen, ptools-perfapi, perfap...@icl.utk.edu
Hi Will,

Could you attach the config.log file?

Thank you,
Giuseppe

On 7 Nov 2023, at 18:55, William Cohen <wco...@redhat.com> wrote:

$?

William Cohen

unread,
Nov 7, 2023, 3:26:40 PM11/7/23
to Giuseppe Congiu, wco...@redhat.com, ptools-perfapi, perfap...@icl.utk.edu
On 11/7/23 15:00, Giuseppe Congiu wrote:
> Hi Will,
>
> Could you attach the config.log file?
>
> Thank you,
> Giuseppe
>
>> On 7 Nov 2023, at 18:55, William Cohen <wco...@redhat.com <mailto:wco...@redhat.com>> wrote:
>>
>> $?
>
Sure. Attached is the config.log from the failed build. The commit causing the problem changes CFLAGS settings.

If you want to replicate you can use one of the koji scratch builds:

f39 https://koji.fedoraproject.org/koji/taskinfo?taskID=108713776
rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=108713820

remove the "%patch10 -p1" from the papi.spec to reproduce.

-Will
config.log

Giuseppe Congiu

unread,
Nov 8, 2023, 5:31:58 AM11/8/23
to William Cohen, ptools-perfapi, perfap...@icl.utk.edu
Will,

Could you try the following patch and see if it solves the rpmbuild problem?


Thank you,
Giuseppe

--
You received this message because you are subscribed to the Google Groups "ptools-perfapi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ptools-perfap...@icl.utk.edu.
To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/ptools-perfapi/019dc773-310f-41ad-83d3-7ddf79733e5b%40redhat.com.
<config.log>

William Cohen

unread,
Nov 9, 2023, 2:43:47 PM11/9/23
to Giuseppe Congiu, ptools-perfapi, perfap...@icl.utk.edu, wco...@redhat.com
On 11/7/23 01:59, Giuseppe Congiu wrote:
Hi,

I did some testing of the RPMs built from the papi git repository checkout. Attached are runs from AMD x86_64, aarch64, and ppc64le (all running f39). The results look reasonable.

-Will
papi_aarch64.log
papi_ppc64le.log
papi_x86_64_amd_genoa.log

Giuseppe Congiu

unread,
Nov 27, 2023, 12:42:04 PM11/27/23
to perfapi-devel, wcohen, Giuseppe Congiu, ptools-perfapi
Thank you Will! And sorry for the late reply.

--Giuseppe

Reply all
Reply to author
Forward
0 new messages