From 9c3b4e4d2829ee0b23fdac8a7d9273e36bdd1f14 Mon Sep 17 00:00:00 2001 From: Nithin Senthil Kumar Date: Mon, 17 Aug 2020 16:33:26 -0400 Subject: Changes to url port and a bug fix in mvapich2x package (#18096) Co-authored-by: nithintsk --- var/spack/repos/builtin/packages/mvapich2-gdr/package.py | 4 ++-- var/spack/repos/builtin/packages/mvapich2x/package.py | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'var') 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. -- cgit v1.2.3-60-g2f50