Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions easybuild/easyconfigs/s/SLEPc/SLEPc-3.17.0-foss-2021a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
easyblock = 'ConfigureMake'

name = 'SLEPc'
version = '3.17.0'

homepage = 'https://gitlab.com/slepc/slepc'
description = """SLEPc (Scalable Library for Eigenvalue Problem Computations) is a software library for the solution
of large scale sparse eigenvalue problems on parallel computers. It is an extension of PETSc and can be used for
either standard or generalized eigenproblems, with real or complex arithmetic. It can also be used for computing a
partial SVD of a large, sparse, rectangular matrix, and to solve quadratic eigenvalue problems."""

toolchain = {'name': 'foss', 'version': '2021a'}
toolchainopts = {'usempi': True, 'openmp': True}

source_urls = ['https://slepc.upv.es/download/distrib']
sources = [SOURCELOWER_TAR_GZ]

checksums = [
'd4685fed01b2351c66706cbd6d08e4083a4645df398ef5ccd68fdfeb2f86ea97', # slepc-3.17.0.tar.gz
]

dependencies = [
('PETSc', '3.17.0'),
('arpack-ng', '3.8.0'),
]

preconfigopts = ' export PETSC_DIR=${EBROOTPETSC} && '
configopts = '--with-arpack-dir=${EBROOTARPACKMINNG} '
build_cmd = 'make SLEPC_DIR=%(builddir)s/%(namelower)s-%(version)s PETSC_DIR=${EBROOTPETSC}'
install_cmd = 'make SLEPC_DIR=%(builddir)s/%(namelower)s-%(version)s PETSC_DIR=${EBROOTPETSC} install'

runtest = 'SLEPC_DIR=%(builddir)s/%(namelower)s-%(version)s PETSC_DIR=${EBROOTPETSC} check'

sanity_check_paths = {
'files': ['lib/libslepc.%s' % SHLIB_EXT],
'dirs': ['include', 'share']
}

moduleclass = 'numlib'