easyblock = 'ConfigureMake'

name = 'MLD2P4'
version = '2.0-rc4'

homepage = 'http://www.mld2p4.it'
description = """MLD2P4 (Multi-Level Domain Decomposition Parallel Preconditioners
 Package based on PSBLAS) is a package of parallel algebraic multi-level preconditioners.
It implements various versions of one-level additive and of multi-level additive
and hybrid Schwarz algorithms. In the multi-level case, a purely algebraic approach
 is applied to generate coarse-level corrections, so that no geometric background
  is needed concerning the matrix to be preconditioned.
The matrix is assumed to be square, real or complex, with a symmetric sparsity pattern."""

toolchain = {'name': 'GCC', 'version': '4.9.3-2.25'}
toolchainopts = {'pic': True}

dependencies = [
  ('PSBLAS', '3.3.4-3'),
]

source_urls = ['http://www.mld2p4.it/images/docs/']
sources = [SOURCELOWER_TGZ]

configopts = '--with-psblas=$EBROOTPSBLAS'

sanity_check_paths = {
    'files': [],
    'dirs': ['lib'],
}

moduleclass = 'math'
