summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGilles Gouaillardet <ggouaillardet@users.noreply.github.com>2020-06-24 20:47:55 +0900
committerGitHub <noreply@github.com>2020-06-24 05:47:55 -0600
commit577a88880ed63b832bc2b463cf0c5d5e36acd2c0 (patch)
tree35a91bc09bb1c7e6aa6781ea09b43fd846be3804 /var
parentfe0d3c22c6a02af6f9dde13aab3f4772c33aa59e (diff)
downloadspack-577a88880ed63b832bc2b463cf0c5d5e36acd2c0.tar.gz
spack-577a88880ed63b832bc2b463cf0c5d5e36acd2c0.tar.bz2
spack-577a88880ed63b832bc2b463cf0c5d5e36acd2c0.tar.xz
spack-577a88880ed63b832bc2b463cf0c5d5e36acd2c0.zip
gromacs: fix fftw and update cmake dependencies (#17226)
* gromacs: fix fftw dependency Only depend on fftw+mpi when gromacs is built with mpi, and depend on fftw~mpi otherwise. * gromacs: fix cmake dependency master branch depends on cmake 3.11 (as specified in CMakeLists.txt cmake dependency is also bumped to 3.11 when fj compilers are used in order to fix OpenMP detection.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gromacs/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py
index 1aec480723..31b5d701fe 100644
--- a/var/spack/repos/builtin/packages/gromacs/package.py
+++ b/var/spack/repos/builtin/packages/gromacs/package.py
@@ -73,9 +73,12 @@ class Gromacs(CMakePackage):
depends_on('mpi', when='+mpi')
depends_on('plumed+mpi', when='+plumed+mpi')
depends_on('plumed~mpi', when='+plumed~mpi')
- depends_on('fftw')
+ depends_on('fftw+mpi', when='+mpi')
+ depends_on('fftw~mpi', when='~mpi')
depends_on('cmake@2.8.8:3.99.99', type='build')
depends_on('cmake@3.4.3:3.99.99', type='build', when='@2018:')
+ depends_on('cmake@3.13.0:3.99.99', type='build', when='@master')
+ depends_on('cmake@3.13.0:3.99.99', type='build', when='%fj')
depends_on('cuda', when='+cuda')
# TODO: openmpi constraint; remove when concretizer is fixed