Skip to content

[SPLA] [package list]

SPLA/1.5.4-cpeGNU-22.08-GPU (SPLA-1.5.4-cpeGNU-22.08-GPU.eb)

Install with the EasyBuild-user module:

eb SPLA-1.5.4-cpeGNU-22.08-GPU.eb -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider SPLA/1.5.4-cpeGNU-22.08-GPU.

EasyConfig:

# contributed by Luca Marsella (CSCS)
# adapted for LUMI-G by Peter Larsson

easyblock = 'CMakeMake'

name = 'SPLA'
version = '1.5.4'
versionsuffix = '-GPU'

homepage = 'https://github.com/eth-cscs/spla'

whatis = [
    "Specialized Parallel Linear Algebra, providing distributed GEMM "
    "functionality for specific matrix distributions"
]

description = """
SPLA provides specialized functions for linear algebra computations with a C++
and C interface, which are inspired by requirements in computational material
science codes.
SPLA provides functions for distributed matrix multiplications with specific
matrix distributions, which cannot be used directly with a ScaLAPACK interface. 
"""

docurls = [
    'Documentation: https://spla.readthedocs.io/en/latest/',
]

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

source_urls = ['https://github.com/eth-cscs/%(namelower)s/archive']
sources = ['v%(version)s.tar.gz']

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

preconfigopts = 'CXX=CC CC=cc FC=ftn && module load rocm/5.3.3 && '
configopts = "-DCMAKE_BUILD_TYPE=RELEASE -DSPLA_OMP=OFF -DSPLA_FORTRAN=ON -DSPLA_GPU_BACKEND=ROCM"

sanity_check_paths = {
    'files': [
      'lib/libspla.so', 
      'include/%(namelower)s/config.h', 
      'include/%(namelower)s/%(namelower)s.hpp'
    ],
    'dirs': [],
}

moduleclass = 'lib'

[SPLA] [package list]