summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-03-15 10:49:33 +0100
committeralalazo <massimiliano.culpo@googlemail.com>2016-03-15 10:49:33 +0100
commitbcea1df01ce145aea5e49eaaceb7a063b44ddf80 (patch)
treea81c58a6ea643375b44d4c411b21d883c3a6ab2a /var
parentf20247ae55362424d1d5543840a21142017661af (diff)
downloadspack-bcea1df01ce145aea5e49eaaceb7a063b44ddf80.tar.gz
spack-bcea1df01ce145aea5e49eaaceb7a063b44ddf80.tar.bz2
spack-bcea1df01ce145aea5e49eaaceb7a063b44ddf80.tar.xz
spack-bcea1df01ce145aea5e49eaaceb7a063b44ddf80.zip
environment : refactoreded set_build_environment_variables
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/mvapich2/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/mvapich2/package.py b/var/spack/repos/builtin/packages/mvapich2/package.py
index af5ed1b088..e4e95f92af 100644
--- a/var/spack/repos/builtin/packages/mvapich2/package.py
+++ b/var/spack/repos/builtin/packages/mvapich2/package.py
@@ -123,7 +123,7 @@ class Mvapich2(Package):
count += 1
if count > 1:
raise RuntimeError('network variants are mutually exclusive (only one can be selected at a time)')
-
+ network_options = []
# From here on I can suppose that only one variant has been selected
if self.enabled(Mvapich2.PSM) in spec:
network_options = ["--with-device=ch3:psm"]