Changes to url port and a bug fix in mvapich2x package (#18096)

Co-authored-by: nithintsk <nithintsk@github.com>
This commit is contained in:
Nithin Senthil Kumar 2020-08-17 16:33:26 -04:00 committed by GitHub
parent cc06181ef9
commit 9c3b4e4d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -13,11 +13,11 @@ class Mvapich2Gdr(AutotoolsPackage):
installable from source and is only available through a binary mirror. 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 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: 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' 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'] maintainers = ['nithintsk', 'harisubramoni']

View File

@ -15,11 +15,11 @@ class Mvapich2x(AutotoolsPackage):
runtime. MVAPICH2-X is not installable from source and is only available 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, 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: 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" 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'] maintainers = ['nithintsk', 'harisubramoni']
@ -174,11 +174,11 @@ def setup_build_environment(self, env):
def setup_run_environment(self, env): def setup_run_environment(self, env):
if 'pmi_version=pmi1' in self.spec: 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: 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: 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 # Because MPI functions as a compiler, we need to treat it as one and
# add its compiler paths to the run environment. # add its compiler paths to the run environment.