Skip to content

[ELPA] [package list]

ELPA/2021.11.001-cpeGNU-22.08 (ELPA-2021.11.001-cpeGNU-22.08.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider ELPA/2021.11.001-cpeGNU-22.08.

EasyConfig:

# Contributed by Luca Marsella (CSCS)
# Some adaptations by Kurt Lust (University of Antwerpen and LUMI consortium)
easyblock = 'ConfigureMake'

local_ELPA_version =           '2021.11.001'     # Synchronized with CSCS but also the version in EB 2021b

name =    'ELPA'
version = local_ELPA_version

homepage = 'http://elpa.mpcdf.mpg.de'

whatis = [
    "Description: ELPA - Eigenvalue SoLvers for Petaflop-Applications",
]

description = """
The publicly available ELPA library provides highly efficient and highly
scalable direct eigensolvers for symmetric matrices. Though especially designed
for use for PetaFlop/s applications solving large problem sizes on massively
parallel supercomputers, ELPA eigensolvers have proven to be also very efficient
for smaller matrices. All major architectures are supported.

ELPA provides static and shared libraries with and without OpenMP support
and with and without MPI. GPU support is not included in this module.
"""

docurls = [
    'Manual pages in section 1 and 3'
]

toolchain = {'name': 'cpeGNU', 'version': '22.08'}
toolchainopts = {'usempi': True, 'openmp': True}

source_urls = ['https://gitlab.mpcdf.mpg.de/elpa/elpa/-/archive/new_release_%(version)s/']
sources =     ['elpa-new_release_%(version)s.tar.gz']
patches =     ['%(name)s-%(version)s_fix_hardcoded_perl_path.patch']
checksums =   [
    'e61048393a5e5f460858a11b216547fa3f434dd620c478cb20a52ebf543260f1',  # elpa-new_release_2021.11.001.tar.gz
    # ELPA-2021.11.001_fix_hardcoded_perl_path.patch
    '5fc40b6f3f948fd026efc688f9bafba0461d68ad007d9dc161bfd1507e2fc13b',
]

builddependencies = [ # We use the system Python and Perl.
    ('buildtools', '%(toolchain_version)s', '', True), # For Autotools and others.
]

preconfigopts  = './autogen.sh && '
preconfigopts += " CC=cc CXX=CC FC=ftn && "

# TODO: GPU support for future versions, there is an --enable-gpu/--disable-gpu switch!
local_commonopts = ' FCFLAGS="$FCFLAGS" --disable-generic --disable-sse --disable-avx --enable-avx2  --disable-avx512 --enable-static '
configopts = [
    local_commonopts + ' --disable-openmp ',
    local_commonopts + ' --enable-openmp '
]

prebuildopts = " make clean && "

sanity_check_paths = {
    'files': ['lib/libelpa.a', 'lib/libelpa.so', 'lib/libelpa_openmp.a', 'lib/libelpa_openmp.so'],
    'dirs':  ['bin', 'lib/pkgconfig',
              'include/%(namelower)s-%(version)s/%(namelower)s', 'include/%(namelower)s-%(version)s/modules',
              'include/%(namelower)s_openmp-%(version)s/%(namelower)s', 'include/%(namelower)s_openmp-%(version)s/modules']
}

modextrapaths = {
    'CPATH': ['include/elpa_openmp-%(version)s', 'include/elpa-%(version)s']
}

modextravars = {
    'ELPA_INCLUDE_DIR': '%(installdir)s/include/elpa-%(version)s',
    'ELPA_OPENMP_INCLUDE_DIR': '%(installdir)s/include/elpa_openmp-%(version)s'
}

moduleclass = 'math'

[ELPA] [package list]