Compare commits
2 Commits
remove-rem
...
packages/a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2eadde1c97 | ||
|
|
8d5ece07d1 |
@@ -12,12 +12,17 @@ class Alpgen(CMakePackage, MakefilePackage):
|
||||
in hadronic collisions.
|
||||
"""
|
||||
|
||||
homepage = "http://mlm.home.cern.ch/mlm/alpgen/"
|
||||
url = "http://mlm.home.cern.ch/mlm/alpgen/V2.1/v214.tgz"
|
||||
homepage = "https://web.archive.org/web/20171017025050/http://mlm.home.cern.ch/mlm/alpgen/"
|
||||
url = "https://web.archive.org/web/20171017025050/http://mlm.home.cern.ch/mlm/alpgen/V2.1/v214.tgz"
|
||||
|
||||
tags = ["hep"]
|
||||
|
||||
version("2.1.4", sha256="2f43f7f526793fe5f81a3a3e1adeffe21b653a7f5851efc599ed69ea13985c5e")
|
||||
# Deprecated since not available outside of archive.org
|
||||
version(
|
||||
"2.1.4",
|
||||
sha256="2f43f7f526793fe5f81a3a3e1adeffe21b653a7f5851efc599ed69ea13985c5e",
|
||||
deprecated=True,
|
||||
)
|
||||
|
||||
build_system("makefile", "cmake", default="makefile")
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ class Openmpi(AutotoolsPackage, CudaPackage):
|
||||
url = "https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.0.tar.bz2"
|
||||
list_url = "https://www.open-mpi.org/software/ompi/"
|
||||
git = "https://github.com/open-mpi/ompi.git"
|
||||
cxxname = "mpic++"
|
||||
|
||||
maintainers("hppritcha", "naughtont3")
|
||||
|
||||
@@ -885,7 +886,7 @@ def setup_run_environment(self, env):
|
||||
# Because MPI is both a runtime and a compiler, we have to setup the
|
||||
# compiler components as part of the run environment.
|
||||
env.set("MPICC", join_path(self.prefix.bin, "mpicc"))
|
||||
env.set("MPICXX", join_path(self.prefix.bin, "mpic++"))
|
||||
env.set("MPICXX", join_path(self.prefix.bin, self.cxxname))
|
||||
env.set("MPIF77", join_path(self.prefix.bin, "mpif77"))
|
||||
env.set("MPIF90", join_path(self.prefix.bin, "mpif90"))
|
||||
# Open MPI also has had mpifort since v1.7, so we can set MPIFC to that
|
||||
@@ -927,7 +928,7 @@ def setup_dependent_build_environment(self, env, dependent_spec):
|
||||
|
||||
def setup_dependent_package(self, module, dependent_spec):
|
||||
self.spec.mpicc = join_path(self.prefix.bin, "mpicc")
|
||||
self.spec.mpicxx = join_path(self.prefix.bin, "mpic++")
|
||||
self.spec.mpicxx = join_path(self.prefix.bin, self.cxxname)
|
||||
self.spec.mpifc = join_path(self.prefix.bin, "mpif90")
|
||||
self.spec.mpif77 = join_path(self.prefix.bin, "mpif77")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user