Skip to content

[Extrae] [package list]

Extrae/4.3.2-cpeGNU-24.03 (Extrae-4.3.2-cpeGNU-24.03.eb)

Install with the EasyBuild-user module:

eb Extrae-4.3.2-cpeGNU-24.03.eb -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider Extrae/4.3.2-cpeGNU-24.03.

EasyConfig:

easyblock = 'ConfigureMake'

local_libunwind_version  =   '1.6.2'         # http://download.savannah.nongnu.org/releases/libunwind/
local_libxml2_version =      '2.11.5'        # http://xmlsoft.org/sources/
local_zlib_version =         '1.3.1'         # https://zlib.net/

name = "Extrae"
version = "4.3.2"
moduleclass = 'perf'

homepage = 'http://www.bsc.es/computer-sciences/performance-tools'

description = """
Extrae is the core instrumentation package developed by the Performance Tools 
group at BSC. It supports instrumentation of applications using MPI, OpenMP, pthreads, CUDA, 
OpenACC, OpenCL, and more, through various instrumentation techniques. Extrae collects detailed 
performance data, including timestamped runtime events, hardware performance counters, 
and source code references. Additionally, it provides a user API for manual instrumentation, 
allowing developers to insert custom trace events into their applications.
"""

toolchain = {'name': 'cpeGNU', 'version': '24.03'}

sources = [{
    'source_urls': ['https://ftp.tools.bsc.es/extrae'],
    'filename': 'extrae-4.3.2-src.tar.bz2'
}]

checksums = [
    '4d841144175a842a9f6f0de1914951ceb36bb49d52f2815c4505aa8c71f71cdb' # extrae-4.3.2-src.tar.bz2
]

builddependencies = [
    ('buildtools', '%(toolchain_version)s', '', True),
]

dependencies = [
    ('binutils',  '2.45'),
    ('libunwind', local_libunwind_version),
    ('libxml2',   local_libxml2_version),
    ('papi',      EXTERNAL_MODULE),
    ('zlib',      local_zlib_version)
]

preconfigopts = 'autoreconf -vif && '

configopts = '--enable-posix-clock --enable-openmp --enable-sampling --disable-pebs-sampling --disable-instrument-io --disable-instrument-dynamic-memory --disable-instrument-syscall '
configopts += '--without-dyninst '
configopts += '--with-binutils=$EBROOTBINUTILS '
configopts += '--with-unwind=$EBROOTLIBUNWIND '
configopts += '--with-xml=$EBROOTLIBXML2 '
configopts += '--with-mpi=$CRAY_MPICH_PREFIX '
configopts += '--with-papi=$CRAY_PAPI_PREFIX '
configopts += '--with-libz=$EBROOTZLIB '
configopts += 'MPICC=$CRAY_MPICH_PREFIX/bin/mpicc'

postinstallcmds = [
    'mkdir -p %(installdir)s/share/licenses/%(name)s',
    'cp AUTHORS ChangeLog COPYING NEWS README-DEEP.md README.md %(installdir)s/share/licenses/%(name)s',   
]

moduleclass = 'perf'

[Extrae] [package list]