diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-02 09:16:54 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-02 09:16:54 -0700 |
commit | 6dad59cb9246a6740df708cb356cfed35a66aa87 (patch) | |
tree | e6fbb6422561b609ce024a88e5fe19636aaa26af | |
parent | c92621464096ea139ad29e51c2b13afe9388fe52 (diff) | |
parent | c110865bf258b67d745b31a526dcb9b348fd9893 (diff) | |
download | spack-6dad59cb9246a6740df708cb356cfed35a66aa87.tar.gz spack-6dad59cb9246a6740df708cb356cfed35a66aa87.tar.bz2 spack-6dad59cb9246a6740df708cb356cfed35a66aa87.tar.xz spack-6dad59cb9246a6740df708cb356cfed35a66aa87.zip |
Merge pull request #810 from adamjstewart/features/hydra
Add hydra package
-rw-r--r-- | var/spack/repos/builtin/packages/hydra/package.py | 21 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 6 |
2 files changed, 22 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/hydra/package.py b/var/spack/repos/builtin/packages/hydra/package.py new file mode 100644 index 0000000000..c1b8868276 --- /dev/null +++ b/var/spack/repos/builtin/packages/hydra/package.py @@ -0,0 +1,21 @@ +from spack import * + +class Hydra(Package): + """Hydra is a process management system for starting parallel jobs. + Hydra is designed to natively work with existing launcher daemons + (such as ssh, rsh, fork), as well as natively integrate with resource + management systems (such as slurm, pbs, sge).""" + + homepage = "http://www.mpich.org" + url = "http://www.mpich.org/static/downloads/3.2/hydra-3.2.tar.gz" + list_url = "http://www.mpich.org/static/downloads/" + list_depth = 2 + + version('3.2', '4d670916695bf7e3a869cc336a881b39') + + + def install(self, spec, prefix): + configure('--prefix=%s' % prefix) + + make() + make("install") diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 9a127f1812..3cb9b0be21 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -1,7 +1,5 @@ -import os - from spack import * - +import os class Openmpi(Package): """Open MPI is a project combining technologies and resources from @@ -36,7 +34,6 @@ class Openmpi(Package): provides('mpi@:2.2', when='@1.6.5') provides('mpi@:3.0', when='@1.7.5:') - depends_on('hwloc') def url_for_version(self, version): return "http://www.open-mpi.org/software/ompi/v%s/downloads/openmpi-%s.tar.bz2" % (version.up_to(2), version) @@ -51,7 +48,6 @@ class Openmpi(Package): def install(self, spec, prefix): config_args = ["--prefix=%s" % prefix, - "--with-hwloc=%s" % spec['hwloc'].prefix, "--enable-shared", "--enable-static"] |