SuperLU/6.0.1-cpeGNU-25.03-OpenMP (SuperLU-6.0.1-cpeGNU-25.03-OpenMP.eb)
Install with the EasyBuild-user module:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider SuperLU/6.0.1-cpeGNU-25.03-OpenMP.
EasyConfig:
easyblock = "CMakeMake"
local_ParMETIS_version = '4.0.3' # https:/http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download
name = 'SuperLU'
version = '6.0.1'
versionsuffix = '-OpenMP'
homepage = 'https://crd-legacy.lbl.gov/~xiaoye/SuperLU/'
whatis = [
'Description: SuperLU is a general purpose library for the direct solution of large, sparse, nonsymmetric systems of linear equations on high performance machines.'
]
description = """
SuperLU is a general purpose library for the
direct solution of large, sparse, nonsymmetric systems
of linear equations on high performance machines.
The library is written in C and is callable from either C or Fortran program.
"""
toolchain = {'name': 'cpeGNU', 'version': '25.03'}
toolchainopts = {'pic': True, 'openmp': True}
github_account = 'xiaoyeli'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ["v%(version)s.tar.gz"]
checksums = ['6c5a3a9a224cb2658e9da15a6034eed44e45f6963f5a771a6b4562f7afb8f549']
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True),
]
dependencies = [
('ParMETIS', local_ParMETIS_version),
]
configopts = ' '.join([
'-DTPL_ENABLE_METISLIB=ON',
'-DTPL_METIS_INCLUDE_DIRS="${EBROOTPARMETIS}/include"',
'-DTPL_METIS_LIBRARIES="${EBROOTPARMETIS}/lib/libparmetis.a;${EBROOTPARMETIS}/lib/libmetis.a"',
'-DTPL_ENABLE_INTERNAL_BLASLIB=OFF',
'-Denable_openmp:BOOL=TRUE',
])
runtest = " test"
sanity_check_paths = {
'files': ['lib64/libsuperlu.a'],
'dirs': ['include']
}
moduleclass = 'numlib'