easyconfigs-it4i/archive/c/Cantera/Cantera-2.2.1-intel-2016b-Python-2.7.12.eb
easybuild 40b461ca6f fix
2019-11-06 13:38:09 +01:00

45 lines
1.2 KiB
Plaintext

easyblock = 'SCons'
name = 'Cantera'
version = '2.2.1'
versionsuffix = '-Python-%(pyver)s'
homepage = 'https://github.com/Cantera/cantera'
description = """Chemical kinetics, thermodynamics, and transport tool suite"""
toolchain = {'name': 'intel', 'version': '2016b'}
source_urls = ['https://github.com/Cantera/cantera/archive/']
sources = ['v%(version)s.tar.gz']
dependencies = [
('Python', '2.7.12'),
('Boost', '1.61.0', versionsuffix),
('SUNDIALS', '2.6.2'),
]
builddependencies = [
('SCons', '2.5.0', versionsuffix),
('3to2', '1.1.1', versionsuffix),
]
common_opts = 'env_vars=all CC="$CC" CXX="$CXX" blas_lapack_libs=mkl_rt blas_lapack_dir=$BLAS_LAPACK_LIB_DIR'
common_opts += ' sundials_include=$EBROOTSUNDIALS/include sundials_libdir=$EBROOTSUNDIALS/lib'
buildopts = 'build ' + common_opts
runtest = 'test ' + common_opts
buildopts = 'install ' + common_opts
prefix_arg = 'prefix='
modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}
sanity_check_paths = {
'files': ['bin/mixmaster'],
'dirs': [
'include/cantera',
'lib/pkgconfig',
'lib/python%(pyshortver)s/site-packages'],
}
sanity_check_commands = [('python', "-c 'import cantera'")]
moduleclass = 'chem'