Clarify GROMACS relaxed double option (#21510)
* Clarify relaxed double precision option This is only intended for use on the Fujitsu PRIMEHPC platform * Fix typo * Shorten line to keep linter happy
This commit is contained in:
parent
5f75221522
commit
9414b11490
1 changed files with 3 additions and 3 deletions
|
@ -73,8 +73,8 @@ class Gromacs(CMakePackage):
|
|||
' of libgromacs and/or the mdrun program')
|
||||
variant('openmp', default=True,
|
||||
description='Enables OpenMP at configure time')
|
||||
variant('double_precision', default=False,
|
||||
description='GMX_RELAXED_DOUBLE_PRECISION for Fujitsu PRIMEHPC')
|
||||
variant('relaxed_double_precision', default=False,
|
||||
description='GMX_RELAXED_DOUBLE_PRECISION, use only for Fujitsu PRIMEHPC')
|
||||
variant('hwloc', default=True,
|
||||
description='Use the hwloc portable hardware locality library')
|
||||
variant('lapack', default=False,
|
||||
|
@ -251,7 +251,7 @@ def cmake_args(self):
|
|||
else:
|
||||
options.append('-DGMX_OPENMP:BOOL=ON')
|
||||
|
||||
if '+double_precision' in self.spec:
|
||||
if '+relaxed_double_precision' in self.spec:
|
||||
options.append('-DGMX_RELAXED_DOUBLE_PRECISION:BOOL=ON')
|
||||
else:
|
||||
options.append('-DGMX_RELAXED_DOUBLE_PRECISION:BOOL=OFF')
|
||||
|
|
Loading…
Reference in a new issue