summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorEvan Bollig <ebbollig@amazon.com>2021-04-15 09:14:24 -0600
committerGitHub <noreply@github.com>2021-04-15 08:14:24 -0700
commit1a32f4a08c0f1b72c3edbf12f8c902174a7346f0 (patch)
tree942cedde8f90656b0c6f0145ea89d59ad78258e8 /var
parent92291120cb9855014cdce2a439732bf487a21731 (diff)
downloadspack-1a32f4a08c0f1b72c3edbf12f8c902174a7346f0.tar.gz
spack-1a32f4a08c0f1b72c3edbf12f8c902174a7346f0.tar.bz2
spack-1a32f4a08c0f1b72c3edbf12f8c902174a7346f0.tar.xz
spack-1a32f4a08c0f1b72c3edbf12f8c902174a7346f0.zip
Added thread-MPI to build. (#22992)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gromacs/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py
index b4d8da5798..6d3fd600ac 100644
--- a/var/spack/repos/builtin/packages/gromacs/package.py
+++ b/var/spack/repos/builtin/packages/gromacs/package.py
@@ -57,7 +57,7 @@ class Gromacs(CMakePackage):
version('4.6.7', sha256='6afb1837e363192043de34b188ca3cf83db6bd189601f2001a1fc5b0b2a214d9')
version('4.5.5', sha256='e0605e4810b0d552a8761fef5540c545beeaf85893f4a6e21df9905a33f871ba')
- variant('mpi', default=True, description='Activate MPI support')
+ variant('mpi', default=True, description='Activate MPI support (disable for Thread-MPI support)')
variant('shared', default=True,
description='Enables the build of shared libraries')
variant(
@@ -195,7 +195,8 @@ class Gromacs(CMakePackage):
options.extend([
'-DCMAKE_C_COMPILER=%s' % spack_cc,
'-DCMAKE_CXX_COMPILER=%s' % spack_cxx,
- '-DGMX_MPI:BOOL=OFF'])
+ '-DGMX_MPI:BOOL=OFF',
+ '-DGMX_THREAD_MPI:BOOL=ON'])
if self.spec.satisfies('@2020:'):
options.append('-DGMX_INSTALL_LEGACY_API=ON')