Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
7255f696
Commit
7255f696
authored
9 years ago
by
Adam J. Stewart
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into features/argcomplete
parents
4e2154e5
6dad59cb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
var/spack/repos/builtin/packages/hydra/package.py
+21
-0
21 additions, 0 deletions
var/spack/repos/builtin/packages/hydra/package.py
var/spack/repos/builtin/packages/openmpi/package.py
+1
-5
1 addition, 5 deletions
var/spack/repos/builtin/packages/openmpi/package.py
with
22 additions
and
5 deletions
var/spack/repos/builtin/packages/hydra/package.py
0 → 100644
+
21
−
0
View file @
7255f696
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
"
)
This diff is collapsed.
Click to expand it.
var/spack/repos/builtin/packages/openmpi/package.py
+
1
−
5
View file @
7255f696
import
os
from
spack
import
*
from
spack
import
*
import
os
class
Openmpi
(
Package
):
class
Openmpi
(
Package
):
"""
Open MPI is a project combining technologies and resources from
"""
Open MPI is a project combining technologies and resources from
...
@@ -36,7 +34,6 @@ class Openmpi(Package):
...
@@ -36,7 +34,6 @@ class Openmpi(Package):
provides
(
'
mpi@:2.2
'
,
when
=
'
@1.6.5
'
)
provides
(
'
mpi@:2.2
'
,
when
=
'
@1.6.5
'
)
provides
(
'
mpi@:3.0
'
,
when
=
'
@1.7.5:
'
)
provides
(
'
mpi@:3.0
'
,
when
=
'
@1.7.5:
'
)
depends_on
(
'
hwloc
'
)
def
url_for_version
(
self
,
version
):
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
)
return
"
http://www.open-mpi.org/software/ompi/v%s/downloads/openmpi-%s.tar.bz2
"
%
(
version
.
up_to
(
2
),
version
)
...
@@ -51,7 +48,6 @@ def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
...
@@ -51,7 +48,6 @@ def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
def
install
(
self
,
spec
,
prefix
):
def
install
(
self
,
spec
,
prefix
):
config_args
=
[
"
--prefix=%s
"
%
prefix
,
config_args
=
[
"
--prefix=%s
"
%
prefix
,
"
--with-hwloc=%s
"
%
spec
[
'
hwloc
'
].
prefix
,
"
--enable-shared
"
,
"
--enable-shared
"
,
"
--enable-static
"
]
"
--enable-static
"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment