# IT4Innovations 2021
# LK

name = 'COMSOL'
version = '5.2.0'
versionsuffix = '-COM'

homepage = 'https://www.comsol.com'
description = """
COMSOL Multiphysics is a general-purpose software platform, based on
advanced numerical methods, for modeling and simulating physics-based
problems. 
"""

toolchain = SYSTEM

# source tarball has to be created manually from dvd
# mount -o ro /apps/easybuild/sources/c/COMSOL/comsol/COMSOL52_dvd.iso /mnt
# cd /mnt
# tar zcf /apps/easybuild/sources/c/COMSOL/COMSOL-5.2.0.tar.gz .
# umount /mnt
sources = [SOURCE_TAR_GZ]
checksums = ['a789d49fe9e964b211dd1253e96c8d8fd0fa67d51fcd1dac3ff169de34188ef4']

# license is required, can be specified via $LMCOMSOL_LICENSE_FILE
license_file = '/apps/licenses/COMSOL/52/License__com.dat'
modextravars = {
    'LMCOMSOL_LICENSE_FILE': '/apps/licenses/COMSOL/52/License__edu.dat',
}

moduleclass = 'phys'
