summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openmpi/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py
index 478ec138d0..3b5c9f6c82 100644
--- a/var/spack/repos/builtin/packages/openmpi/package.py
+++ b/var/spack/repos/builtin/packages/openmpi/package.py
@@ -243,6 +243,7 @@ class Openmpi(AutotoolsPackage):
description="Build support for the Singularity container")
variant('lustre', default=False,
description="Lustre filesystem library support")
+ variant('romio', default=True, description='Enable ROMIO support')
# Adding support to build a debug version of OpenMPI that activates
# Memchecker, as described here:
#
@@ -730,6 +731,9 @@ class Openmpi(AutotoolsPackage):
'--disable-mpi-java'
])
+ if '~romio' in spec:
+ config_args.append('--disable-io-romio')
+
# SQLite3 support
if spec.satisfies('@1.7.3:1'):
if '+sqlite3' in spec: