easyblock = 'ConfigureMake'

name = 'PSBLAS'
version = '3.3.4-3'

homepage = 'http://people.uniroma2.it/salvatore.filippone/psblas/'
description = """Most computationally intensive applications work on irregular
and sparse domains that complicate their implementation on parallel machines.
The major goal of the Parallel Sparse Basic Linear Algebra Subroutines
(PSBLAS) project is to provide a framework to enable easy, efficient and
portable implementations of iterative solvers for linear systems, while
shielding the user from most details of their parallelization.
The interface is designed keeping in view a Single Program Multiple Data
programming model on distributed memory machines. """

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

dependencies = [
  ('ATLAS', '3.10.1', '-LAPACK-3.4.2'),
  ('MPICH', '3.2')
]

source_urls = ['http://people.uniroma2.it/salvatore.filippone/psblas/']
sources = [SOURCELOWER_TAR_GZ]

sanity_check_paths = {
    'files': ['lib/libpsb_base.a'],
    'dirs': ['docs', 'include', 'lib'],
}

moduleclass = 'math'
