From 41fa6f21357ce8591a309fcd7caafdcaa67cd790 Mon Sep 17 00:00:00 2001 From: easybuild Date: Thu, 10 Nov 2022 20:27:20 +0100 Subject: [PATCH] modified: o/OVITO/OVITO-3.7.11-GCCcore-11.3.0-pro.eb --- o/OVITO/OVITO-3.7.11-GCCcore-11.3.0-pro.eb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/o/OVITO/OVITO-3.7.11-GCCcore-11.3.0-pro.eb b/o/OVITO/OVITO-3.7.11-GCCcore-11.3.0-pro.eb index a83e92ff..0f3ca54c 100644 --- a/o/OVITO/OVITO-3.7.11-GCCcore-11.3.0-pro.eb +++ b/o/OVITO/OVITO-3.7.11-GCCcore-11.3.0-pro.eb @@ -19,11 +19,20 @@ 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'], - 'dirs': [], + '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', }