Skip to content

[ELPA] [package list]

ELPA/2023.11.001-cpeGNU-23.09-GPU (ELPA-2023.11.001-cpeGNU-23.09-GPU.eb)

This software is archived in the LUMI-EasyBuild-contrib GitHub repository as easybuild/easyconfigs/__archive__/e/ELPA/ELPA-2023.11.001-cpeGNU-23.09-GPU.eb. The corresponding module would be ELPA/2023.11.001-cpeGNU-23.09-GPU.

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

local_ELPA_version = '2023.11.001'

name =    'ELPA'
version = local_ELPA_version
versionsuffix = '-GPU'

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 kernels are not included in this module.
"""

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

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

source_urls = ['https://gitlab.mpcdf.mpg.de/elpa/elpa/-/archive/new_release_%(version)s/']
sources =     ['elpa-new_release_%(version)s.tar.gz']

patches = [
    {'name': 'elpa-2023.11.01.patch', 'level': 1},
]

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

dependencies = [
    ('cray-libsci/23.09.1.1', EXTERNAL_MODULE),
    ('rocm', '5.6.1', '', SYSTEM),
]

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

local_commonopts  = ' FCFLAGS="$FCFLAGS" CXXFLAGS="--offload-arch=gfx90a --gcc-toolchain=$GCC_PATH/snos -std=c++17 -I$ROCM_PATH/include/hip -I$ROCM_PATH/include/rocblas -I$CRAY_MPICH_DIR/include" '
local_commonopts += '--enable-static '
local_commonopts += '--with-rocsolver --with-AMD-gpu-support-only --enable-gpu-ccl=rccl --enable-gpu-streams=amd --enable-amd-gpu-kernels '
local_commonopts += '--disable-avx512-kernels --disable-avx2-kernels --enable-single-precision --disable-avx --disable-sse '
local_commonopts += '--disable-openmp '
local_commonopts += '--with-mpi=yes '

configopts = local_commonopts

prebuildopts = " make clean && "

maxparallel = 16

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

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

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

moduleclass = 'math'

[ELPA] [package list]