name = "PETSc"
version = "3.3-p2"
versionsuffix = '-Python-2.7.3'

homepage = 'http://www.mcs.anl.gov/petsc'
description = """PETSc, pronounced PET-see (the S is silent), is a suite of data structures and routines for the scalable (parallel) solution
 of scientific applications modeled by partial differential equations."""


toolchain = {'name': 'ictce', 'version': '5.3.0'}
toolchainopts = {'usempi': True, 'pic': True}

source_urls = ['http://ftp.mcs.anl.gov/pub/petsc/release-snapshots']
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
    ('Boost', '1.49.0', versionsuffix),
    ('FIAT', '1.0.0', versionsuffix),
    ('METIS', '5.0.2'),
    ('ParMETIS', '4.0.2'),
    ('ScientificPython', '2.8', versionsuffix),
    ('SCOTCH', '5.1.12b_esmumps'),
    ('SuiteSparse', '3.7.0', '-withparmetis'),  # for CHOLMOD, UMFPACK
    ('Hypre', '2.8.0b'),
]

patches = ['PETSc_ranlib-fix.patch']

moduleclass = 'numlib'
