summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/molcas/package.py
blob: 175fccf5bf6f4d0a8a40f7f6ccf8cf5ba2ee2d9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

import os

from spack.package import *


class Molcas(CMakePackage):
    """Molcas is an ab initio quantum chemistry software package
    developed by scientists to be used by scientists.
    Please set the path to licence file with the following command
    export MOLCAS_LICENSE=/path/to/molcas/license/"""

    homepage = "https://www.molcas.org/"
    url = "file://{0}/molcas8.2.tar.gz".format(os.getcwd())
    manual_download = True

    version("8.2", md5="25b5fb8e1338b458a3eaea0b3d3b5e58")

    # Licensing
    license_required = True
    license_vars = ["MOLCAS_LICENSE"]

    depends_on("openmpi")
    depends_on("openblas")
    depends_on("hdf5")

    patch("install_driver.patch")