easyconfigs-it4i/o/OVITO/OVITO-3.7.11-GCCcore-11.3.0-pro.eb

41 lines
978 B
Plaintext

# IT4Innovations 2022
# JK
easyblock = 'Tarball'
name = 'OVITO'
version = '3.7.11'
versionsuffix = '-pro'
homepage = 'https://www.ovito.org/'
description = """OVITO is a scientific visualization and analysis software for atomistic and particle simulation data."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
sources = ['ovito-pro-%(version)s-x86_64.tar.xz']
checksums = ['b8b807fbe7832c8bcce9a70d81cdce8d4840090491211eeb4a28f25e944d9280']
dependencies = [
('Qt5', '5.15.5'),
]
import os
if os.environ.get("CLUSTERNAME") in ["BARBORA"]:
postinstallcmds = [
'rm %(installdir)s/lib/ovito/libcrypto.so.1.1',
'ln -s /lib64/libcrypto.so.1.1 %(installdir)s/lib/ovito/',
]
sanity_check_paths = {
'files': ['bin/ovito', 'bin/ovitos', 'bin/qt.conf'],
'dirs': ['bin', 'include', 'lib', 'share'],
}
sanity_check_commands = ['ovito --nogui --noviewports --help']
modextravars = {
'OVITO_LICENSING_VERBOSE': '1',
}
moduleclass = 'vis'