Skip to content

[lumi-CPEtools] [package list]

lumi-CPEtools/1.0 (lumi-CPEtools-1.0.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider lumi-CPEtools/1.0.

EasyConfig:

easyblock = 'MakeCp'

name =    'lumi-CPEtools'
version = '1.0'

homepage = 'https://www.lumi-supercomputer.eu'

whatis = [
    'Description: Various programs to experiment with starting processes and core affinity and analyse executables.',
]

description = """
The LUMI-CPEtools module provides various programs to experiment with starting
applications of various types and with core affinity and to show which Cray PE
libraries are used by an executable. It may be enhanced with additional 
features in the future.

This version is only a restricted version of the module as CrayEnv does not
support building with the Cray PE through EasyBuild. Only the xldd cpmmand
is currently included. Please use the LUMI software stacks for access to
the other programs.

After loading this module, you can still see the sources of the tools not
included in this version in $EBROOTLUMIMINCPETOOLS/src, so you can copy
these sources and still recompile for yourself using any of the available
programming environments should you want to.
"""

docurls = [
    "Run xldd --help",
]

toolchain = SYSTEM

# Downloading from GitHub releases..
# https://github.com/Lumi-supercomputer/lumi-CPEtools/archive/refs/tags/1.0.tar.gz
sources = [{
    'download_filename': '%(version)s.tar.gz',
    'filename':          '%(name)s-%(version)s.tar.gz',
    'source_urls':       ['https://github.com/Lumi-supercomputer/%(name)s/archive/refs/tags']
}]

prebuildopts = 'cd src ; '
buildopts = 'bindir ../bin/xldd CC=gcc MPICC=gcc CFLAGS="-O2" OMPFLAG="-fopenmp" DEFINES="" LIBS=""'

files_to_copy = [
    'bin',
    'src', 
    ( ['man/man1/xldd.1'], 'man/man1'),
    'README.md',
]

sanity_check_paths = {
    'files': [ 'bin/xldd' ],
    'dirs':  [ 'man/man1']
}

sanity_check_commands = [
    'xldd --help',
]

moduleclass = 'devel'

[lumi-CPEtools] [package list]