# IT4Innovations 2019

easyblock = "MakeCp"

name = 'Vampire'
version = '5.0.1'

homepage = 'https://github.com/richard-evans/vampire'
description = "Vampire is a high performance general purpose code for the atomistic simulation of magnetic materials."

toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}

source_urls = ['https://github.com/richard-evans/vampire/archive']
sources = ["%(version)s.tar.gz"]

dependencies = [
    ('OpenMPI', '2.1.5'),
]

files_to_copy = [
    (['vampire-serial', 'vampire-parallel', 'util/vdc/vdc'], 'bin'),
    (['input', 'Co.mat'], 'examples')
]

sanity_check_paths = {
    'files': ["bin/vampire-parallel", "bin/vampire-serial", "bin/vdc"],
    'dirs': ['bin', 'examples'],
}

moduleclass = 'phys'
