name = 'ScaLAPACK'
version = '2.0.2'

homepage = 'http://www.netlib.org/scalapack/'
description = """The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines
 redesigned for distributed memory MIMD parallel computers."""

toolchain = {'name': 'gompi', 'version': '1.5.12'}
toolchainopts = {'pic': True}

source_urls = [homepage]
sources = [SOURCELOWER_TGZ]

blaslib = 'ATLAS'
blasver = '3.10.1'
blas = "-%s-%s" % (blaslib, blasver)

lapacklib = 'LAPACK'
lapackver = '3.4.2'
lapack = "-%s-%s" % (lapacklib, lapackver)

versionsuffix = "%s%s" % (blas, lapack)

dependencies = [
    (blaslib, blasver, lapack),
    (lapacklib, lapackver),
]

# parallel build tends to fail, so disabling it
parallel = 1

moduleclass = 'numlib'
