summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-06-26 14:04:35 -0500
committerGitHub <noreply@github.com>2020-06-26 14:04:35 -0500
commitc8e6a9e5358f0b57dc88478e9b61aa1bb959b6ec (patch)
tree4b81ef20b097d0447023255014daa120c9116016
parentd8da1e6dbc4dd5794c595d6455401f53f1010e1a (diff)
downloadspack-c8e6a9e5358f0b57dc88478e9b61aa1bb959b6ec.tar.gz
spack-c8e6a9e5358f0b57dc88478e9b61aa1bb959b6ec.tar.bz2
spack-c8e6a9e5358f0b57dc88478e9b61aa1bb959b6ec.tar.xz
spack-c8e6a9e5358f0b57dc88478e9b61aa1bb959b6ec.zip
Fix super invocation in Intel packages (#17248)
-rw-r--r--var/spack/repos/builtin/packages/intel-mpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-parallel-studio/package.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/intel-mpi/package.py b/var/spack/repos/builtin/packages/intel-mpi/package.py
index 52e93e6672..57d173bc95 100644
--- a/var/spack/repos/builtin/packages/intel-mpi/package.py
+++ b/var/spack/repos/builtin/packages/intel-mpi/package.py
@@ -65,7 +65,7 @@ class IntelMpi(IntelPackage):
})
def setup_run_environment(self, env):
- super(self, IntelMpi).setup_run_environment(env)
+ super(IntelMPI, self).setup_run_environment(env)
for name, value in self.mpi_compiler.wrappers.items():
env.set(name, value)
diff --git a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py
index f59aa2b7ea..31b77d355a 100644
--- a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py
+++ b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py
@@ -227,7 +227,7 @@ class IntelParallelStudio(IntelPackage):
})
def setup_run_environment(self, env):
- super(self, IntelParallelStudio).setup_run_environment(env)
+ super(IntelParallelStudio, self).setup_run_environment(env)
for name, value in self.mpi_compiler_wrappers.items():
env.set(name, value)