easyblock = 'Tarball'

name = 'ADF'
version = '2016.101'

homepage = 'http://www.scm.com/ADF/'
description = """ADF is an accurate, parallelized, powerful computational chemistry program to understand and
 predict chemical structure and reactivity with density functional theory (DFT)."""

toolchain = {'name': 'dummy', 'version': 'dummy'}

sources = ['adf%(version)s.pc64_linux.intelmpi.tgz']

keepsymlinks = True

sanity_check_paths = {
    'files': [],
    'dirs': ['atomicdata', 'bin', 'examples'],
}

modextravars = {
    'ADFHOME': '%(installdir)s',
    'ADFBIN': '%(installdir)s/bin',
    'ADFRESOURCES': '%(installdir)s/atomicdata',
}

modloadmsg = """These environment variables need to be defined before using ADF:
  * $SCMLICENSE: path to ADF license file
  * $SCM_TMPDIR: path to user scratch directory
"""

moduleclass = 'chem'
