spectrum-mpi: Add url info to spectrum-mpi package file (#3042)

Spack wants URL info even for external packages.  Without it, I get
the following error:

NoURLError: Package SpectrumMpi has no version with a URL.
  File "/home_local/serbanspack/spack/lib/spack/spack/repository.py", line 580, in get
    self._instances[key] = package_class(copy)
  File "/home_local/serbanspack/spack/lib/spack/spack/package.py", line 562, in __init__
    f = fs.for_package_version(self, self.version)
  File "/home_local/serbanspack/spack/lib/spack/spack/fetch_strategy.py", line 878, in for_package_version
    url = pkg.url_for_version(version)
  File "/home_local/serbanspack/spack/lib/spack/spack/package.py", line 682, in url_for_version
    raise NoURLError(cls)
This commit is contained in:
serbanmaerean 2017-02-14 14:28:35 -05:00 committed by Todd Gamblin
parent 4a20d170f4
commit 7bebfd29c2

View file

@ -32,6 +32,7 @@ class SpectrumMpi(Package):
""" """
homepage = "http://www-03.ibm.com/systems/spectrum-computing/products/mpi" homepage = "http://www-03.ibm.com/systems/spectrum-computing/products/mpi"
url = "http://www-03.ibm.com/systems/spectrum-computing/products/mpi"
provides('mpi') provides('mpi')