summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorNithin Senthil Kumar <sk95.nithin@gmail.com>2020-08-17 16:33:26 -0400
committerGitHub <noreply@github.com>2020-08-17 15:33:26 -0500
commit9c3b4e4d2829ee0b23fdac8a7d9273e36bdd1f14 (patch)
tree7230e0246cd763fc66998802bfa18d7b01ee6c1f /var
parentcc06181ef9fd3083111b0dfc9a53e231522404b8 (diff)
downloadspack-9c3b4e4d2829ee0b23fdac8a7d9273e36bdd1f14.tar.gz
spack-9c3b4e4d2829ee0b23fdac8a7d9273e36bdd1f14.tar.bz2
spack-9c3b4e4d2829ee0b23fdac8a7d9273e36bdd1f14.tar.xz
spack-9c3b4e4d2829ee0b23fdac8a7d9273e36bdd1f14.zip
Changes to url port and a bug fix in mvapich2x package (#18096)
Co-authored-by: nithintsk <nithintsk@github.com>
Diffstat (limited to 'var')
-rwxr-xr-xvar/spack/repos/builtin/packages/mvapich2-gdr/package.py4
-rwxr-xr-xvar/spack/repos/builtin/packages/mvapich2x/package.py10
2 files changed, 7 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/mvapich2-gdr/package.py b/var/spack/repos/builtin/packages/mvapich2-gdr/package.py
index 1a0fe8def6..45f834fac1 100755
--- a/var/spack/repos/builtin/packages/mvapich2-gdr/package.py
+++ b/var/spack/repos/builtin/packages/mvapich2-gdr/package.py
@@ -13,11 +13,11 @@ class Mvapich2Gdr(AutotoolsPackage):
installable from source and is only available through a binary mirror.
If you do not find the binary you're looking for, send us an email at
mvapich@cse.ohio-state.edu. The binary mirror url is:
- http://mvapich.cse.ohio-state.edu:8080/download/mvapich/spack-mirror/mvapich2-gdr/
+ http://mvapich.cse.ohio-state.edu/download/mvapich/spack-mirror/mvapich2-gdr/
"""
homepage = 'http://mvapich.cse.ohio-state.edu'
- url = 'http://mvapich.cse.ohio-state.edu:8080/download/mvapich/spack-mirror/mvapich2-gdr/mvapich2-gdr-2.3.4.tar.gz'
+ url = 'http://mvapich.cse.ohio-state.edu/download/mvapich/spack-mirror/mvapich2-gdr/mvapich2-gdr-2.3.4.tar.gz'
maintainers = ['nithintsk', 'harisubramoni']
diff --git a/var/spack/repos/builtin/packages/mvapich2x/package.py b/var/spack/repos/builtin/packages/mvapich2x/package.py
index e164acc53c..01f82c057d 100755
--- a/var/spack/repos/builtin/packages/mvapich2x/package.py
+++ b/var/spack/repos/builtin/packages/mvapich2x/package.py
@@ -15,11 +15,11 @@ class Mvapich2x(AutotoolsPackage):
runtime. MVAPICH2-X is not installable from source and is only available
through a binary mirror. If you do not find the binary you're looking for,
send us an email at mvapich@cse.ohio-state.edu. The binary mirror url is:
- http://mvapich.cse.ohio-state.edu:8080/download/mvapich/spack-mirror/mvapich2x/
+ http://mvapich.cse.ohio-state.edu/download/mvapich/spack-mirror/mvapich2x/
"""
homepage = "http://mvapich.cse.ohio-state.edu"
- url = "http://mvapich.cse.ohio-state.edu:8080/download/mvapich/spack-mirror/mvapich2x/mvapich2x-2.3.tar.gz"
+ url = "http://mvapich.cse.ohio-state.edu/download/mvapich/spack-mirror/mvapich2x/mvapich2x-2.3.tar.gz"
maintainers = ['nithintsk', 'harisubramoni']
@@ -174,11 +174,11 @@ class Mvapich2x(AutotoolsPackage):
def setup_run_environment(self, env):
if 'pmi_version=pmi1' in self.spec:
- set('SLURM_MPI_TYPE', 'pmi1')
+ env.set('SLURM_MPI_TYPE', 'pmi1')
if 'pmi_version=pmi2' in self.spec:
- set('SLURM_MPI_TYPE', 'pmi2')
+ env.set('SLURM_MPI_TYPE', 'pmi2')
if 'pmi_version=pmix' in self.spec:
- set('SLURM_MPI_TYPE', 'pmix')
+ env.set('SLURM_MPI_TYPE', 'pmix')
# Because MPI functions as a compiler, we need to treat it as one and
# add its compiler paths to the run environment.