name = 'SuiteSparse'
version = '4.4.6'

homepage = 'http://faculty.cse.tamu.edu/davis/suitesparse.html'
description = """SuiteSparse is a collection of libraries manipulate sparse matrices."""

toolchain = {'name': 'intel', 'version': '2015b'}
toolchainopts = {'opt': True, 'unroll': True, 'pic': True}

source_urls = ['http://faculty.cse.tamu.edu/davis/SuiteSparse/']
sources = [SOURCE_TAR_GZ]

parmetis = 'ParMETIS'
parmetis_ver = '4.0.3'
versionsuffix = '-%s-%s' % (parmetis, parmetis_ver)
dependencies = [(parmetis, parmetis_ver)]

maxparallel = 1

#IT4I
modextrapaths = {
  'LD_LIBRARY_PATH': ['SuiteSparse_config'],
  'CPATH': ['UMFPACK/include', 'AMD/include', 'SuiteSparse_config'],
  'LIBRARY_PATH': ['AMD/lib', 'BTF/lib', 'CAMD/lib', 'CCOLAMD/lib', 'CHOLAMD/lib', 'CHOLMOD/lib', 'COLAMD/lib/', 'CSparse/lib', 'CXSparse/lib', 'KLU/lib', 'LDL/lib', 'RBio/lib', 'UMFPACK/lib', 'SuiteSparse_config']
}

moduleclass = 'numlib'
