# IT4Innovations 2021
# LK JK

easyblock = "PackedBinary"

name = "ORCA"
version = '5.0.3'
versionsuffix = '-OpenMPI-4.1.1-test'

homepage = 'http://cec.mpg.de/forum/'
docurls = 'https://www.orcasoftware.de/tutorials_orca/'
description = """ORCA is a flexible, efficient and easy-to-use general purpose tool for quantum chemistry
 with specific emphasis on spectroscopic properties of open-shell molecules.
  It features a wide variety of standard quantum chemical methods ranging from semiempirical methods to DFT to single-
 and multireference correlated ab initio methods.
 It can also treat environmental and relativistic effects."""

toolchain = SYSTEM

# Download from https://orcaforum.kofo.mpg.de
sources = ['orca_5_0_3_linux_x86-64_openmpi411.tar.gz']
checksums = ['4d860698816e83793a0e5889cbdf17a24c81bd0ec9af358f7dc9369abf6fca59']
dependencies = [('OpenMPI', '4.1.1', '-test', ('GCC', '10.2.0'))]

sanity_check_paths = {
    'files': ['orca_%s%s' % (x, y) for x in ['anoint', 'casscf', 'cis', 'cpscf',
                                             'eprnmr', 'gtoint', 'mdci', 'mp2', 'mrci', 'pc',
                                             'rocis', 'scf', 'scfgrad', 'soc'] for y in ['', '_mpi']] +
             ['orca_%s' % x for x in ['2mkl', 'asa', 'chelpg', 'ciprep', 'eca', 'ecplib',
                                      'euler', 'fci', 'fitpes', 'gstep', 'loc', 'mapspc',
                                      'md', 'mergefrag', 'ndoint', 'numfreq', 'plot',
                                      'pltvib', 'pop', 'rel', 'vib', 'vpot']] +
             ['orca'],
    'dirs': [],
}

moduleclass = 'chem'