# IT4Innovations 2017

easyblock = 'ConfigureMake'

name = 'ELPA'
version = '2017.05.002'

homepage = 'http://elpa.rzg.mpg.de'
description = """Eigenvalue SoLvers for Petaflop-Applications ."""

toolchain = {'name': 'foss', 'version': '2017a'}
toolchainopts = {'optarch': True, 'usempi': True}

source_urls = ['https://www.cp2k.org/static/downloads']
sources = [SOURCELOWER_TAR_GZ]

#patches = ['ELPA_fix-tests.patch']

configopts = '--enable-openmp=no --enable-shared=yes --enable-static=yes --disable-option-checking --enable-avx2=yes --enable-avx512=no FCFLAGS="${FCFLAGS} -ffree-line-length-none" '
#start_dir = '%(name)s_%(version)s'

builddependencies = [
    ('Automake', '1.15', '', True),
]

#parallel = 1

moduleclass = 'math'
