easyconfigs-it4i/p/PCMSolver/PCMSolver-1.1.4-intel-2021b-Python-3.9.6.eb
2024-07-25 10:27:17 +02:00

48 lines
1.0 KiB
Plaintext

# IT4Innovation
# BS 2024
easyblock = 'CMakeMake'
name = 'PCMSolver'
version = '1.1.4'
versionsuffix = '-Python-%(pyver)s'
homepage = 'https://pcmsolver.readthedocs.org'
description = """An API for the Polarizable Continuum Model."""
toolchain = {'name': 'intel', 'version': '2021b'}
toolchainopts = {'cstd': 'c99'}
source_urls = ['https://github.com/PCMSolver/pcmsolver/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['e20d6e984cdb2795351714c2659c71d69fede9ebf159435fc7a0fdf897981ee9']
dependencies = [
('Python', '3.9.6'),
('zlib', '1.2.11'),
('Boost', '1.72.0', versionsuffix),
]
builddependencies = [
('CMake', '3.22.1'),
('Eigen', '3.3.9'),
]
configopts = '-DEIGEN3_ROOT=$EBROOTEIGEN'
configopts += ' -DCMAKE_CXX_FLAGS="$CXXFLAGS $LIBLAPACK_MT -DEIGEN_USE_MKL_ALL"'
separate_build_dir = True
runtest = 'test'
postinstallcmds = ["chmod +x %(installdir)s/bin/pcmsolver.py"]
sanity_check_paths = {
'files': ['bin/pcmsolver.py', 'lib/libpcm.a', 'lib/libpcm.%s' % SHLIB_EXT],
'dirs': ['include']
}
moduleclass = 'chem'