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

{perf}[gompi/2023b] Extrae v4.2.0 #20690

Merged
merged 23 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e0bfd59
Add Extrae-4.1.6-gompi.2023b.eb and make binutils detection more robust
julianmorillo May 30, 2024
de831e8
Add the use of the patch to the easyconfig file
julianmorillo May 30, 2024
ffebdad
Adding checksum
julianmorillo May 30, 2024
b4386d9
Solving "line too long" failing test
julianmorillo May 30, 2024
aa3c8dd
Solve naming issue
julianmorillo May 30, 2024
92ec082
Solve zlib dependency
julianmorillo May 30, 2024
0eb7f74
Fix zlib dependency
julianmorillo May 30, 2024
3106598
Update easybuild/easyconfigs/e/Extrae/Extrae-4.1.6-gompi-2023b.eb
julianmorillo May 31, 2024
f6d2516
Update easybuild/easyconfigs/e/Extrae/Extrae-4.1.6-gompi-2023b.eb
julianmorillo May 31, 2024
fe34609
Moving to 4.1.7 version as there is a critical bug fix related to MPI…
julianmorillo Jun 13, 2024
62ebaa5
Merge branch 'easybuilders:develop' into develop
julianmorillo Jul 2, 2024
445a2c2
Upgrade to 4.2.0 (which includes bug fixes) and added new patch that …
julianmorillo Jul 2, 2024
169bd61
Fix style error (E261 at least two spaces before inline comment)
julianmorillo Jul 2, 2024
cf4c5b1
Small bugfix in the patch
julianmorillo Jul 2, 2024
729efc0
Update easybuild/easyconfigs/e/Extrae/Extrae-4.2.0-gompi-2023b.eb
julianmorillo Jul 2, 2024
9764270
Small hack to debug PAPI_add_event call
julianmorillo Jul 2, 2024
34bddf2
Merge branch 'develop' of github.com:julianmorillo/easybuild-easyconf…
julianmorillo Jul 2, 2024
e66c9f0
apply debug patch
bedroge Jul 2, 2024
30f3538
Merge branch 'easybuilders:develop' into develop
julianmorillo Jul 3, 2024
be44b21
Detect when HW counters are not accessible
julianmorillo Jul 3, 2024
4ed82a5
Merge branch 'easybuilders:develop' into develop
julianmorillo Jul 16, 2024
a13e667
Disable dynamic memory instrumentation
julianmorillo Jul 16, 2024
a26b35c
Update easybuild/easyconfigs/e/Extrae/Extrae-4.2.0-gompi-2023b.eb
ocaisa Jul 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions easybuild/easyconfigs/e/Extrae/Extrae-4.1.6-detect_binutils.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
diff -Nru extrae-4.1.6.orig/config/macros.m4 extrae-4.1.6/config/macros.m4
--- extrae-4.1.6.orig/config/macros.m4 2024-05-30 16:23:59.684839619 +0200
+++ extrae-4.1.6/config/macros.m4 2024-05-30 16:27:08.208600097 +0200
@@ -779,6 +779,8 @@
elif test -r "${binutils_home_dir}/lib/libbfd.a" -a \
"${binutils_require_shared}" = "no" ; then
BFD_LIBSDIR="${binutils_home_dir}/lib"
+ elif test -r "${binutils_home_dir}/libbfd.so" ; then
+ BFD_LIBSDIR="${binutils_home_dir}"
else
dnl Try something more automatic using find command
libbfd_lib=""
@@ -814,6 +816,8 @@
LIBERTY_LIBSDIR="${binutils_home_dir}/lib"
elif test -r "${binutils_home_dir}/lib/libiberty.a" ; then
LIBERTY_LIBSDIR="${binutils_home_dir}/lib"
+ elif test -r "${binutils_home_dir}/libiberty.a" ; then
+ LIBERTY_LIBSDIR="${binutils_home_dir}"
else
dnl Try something more automatic using find command
libiberty_lib=""
diff -Nru extrae-4.1.6.orig/configure extrae-4.1.6/configure
--- extrae-4.1.6.orig/configure 2024-05-30 16:23:59.716839578 +0200
+++ extrae-4.1.6/configure 2024-05-30 16:25:31.276723193 +0200
@@ -35072,6 +35072,8 @@
elif test -r "${binutils_home_dir}/lib/libbfd.a" -a \
"${binutils_require_shared}" = "no" ; then
BFD_LIBSDIR="${binutils_home_dir}/lib"
+ elif test -r "${binutils_home_dir}/libbfd.so" ; then
+ BFD_LIBSDIR="${binutils_home_dir}"
else
libbfd_lib=""

@@ -35106,6 +35108,8 @@
LIBERTY_LIBSDIR="${binutils_home_dir}/lib"
elif test -r "${binutils_home_dir}/lib/libiberty.a" ; then
LIBERTY_LIBSDIR="${binutils_home_dir}/lib"
+ elif test -r "${binutils_home_dir}/libiberty.a" ; then
+ LIBERTY_LIBSDIR="${binutils_home_dir}"
else
libiberty_lib=""


35 changes: 35 additions & 0 deletions easybuild/easyconfigs/e/Extrae/Extrae-4.1.6-gompi-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name = 'Extrae'
version = '4.1.6'

homepage = 'https://tools.bsc.es/extrae'
description = """Extrae is the package devoted to generate Paraver trace-files for a post-mortem analysis.
Extrae is a tool that uses different interposition mechanisms to inject probes into the target application
so as to gather information regarding the application performance."""

toolchain = {'name': 'gompi', 'version': '2023b'}
toolchainopts = {'usempi': True}

source_urls = ['https://ftp.tools.bsc.es/%(namelower)s']
sources = ['%(namelower)s-%(version)s-src.tar.bz2']
patches = ['Extrae-4.1.6-detect_binutils.patch']
checksums = [
# extrae-4.1.6-src.tar.bz2
('9f146e70311b8ae9d77584f6efc7b30478885cfd095f7bd3937d5b08aec19985',
'f96b2c3586a0e83c6fa08d3136a8f399715969b5bb7ee6792c3fd93667d495fd'),
'7c4d87d12a5383ccdfdd75967a207b9d9aca27c707c499cd6ef0a27fd4989483', # Extrae-4.1.6-detect_binutils.patch
]

builddependencies = [
('Automake', '1.16.5'),
]

dependencies = [
('zlib', '1.2.13', '', ('GCCcore', '13.2.0')),
('Boost', '1.83.0', '', ('GCC', '13.2.0')),
('libunwind', '1.6.2', '', ('GCCcore', '13.2.0')),
('libxml2', '2.11.5', '', ('GCCcore', '13.2.0')),
('libdwarf', '0.9.2', '', ('GCCcore', '13.2.0')),
('PAPI', '7.1.0', '', ('GCCcore', '13.2.0')),
]
julianmorillo marked this conversation as resolved.
Show resolved Hide resolved

julianmorillo marked this conversation as resolved.
Show resolved Hide resolved
moduleclass = 'perf'
Loading