name = 'GROMACS'
version = '5.0.4'
versionsuffix = '-hybrid-single-PLUMED'

homepage = 'http://www.gromacs.org'
description = """GROMACS is a versatile package to perform molecular dynamics,
 i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles."""

toolchain = {'name': 'foss', 'version': '2015e'}
toolchainopts = {'openmp': True, 'usempi': True}

patches = ['gromacs-5.0.4-plumed-2.1.3.patch']

source_urls = ['ftp://ftp.gromacs.org/pub/gromacs/']
sources = [SOURCELOWER_TAR_GZ]

builddependencies = [
    # ('CMake', '3.0.0'), # We are using system CMake
    ('libxml2', '2.9.2', '', ('gompi', '2015e'))
]

configopts = ' -DGMX_GPU=OFF -DGMX_DOUBLE=OFF -DGMX_SIMD=AVX_256'

dependencies = [('Boost', '1.58.0', '-Python-2.7.9', ('gompi', '2015e'))]

moduleclass = 'bio'
