Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
easybuild-repository-public-release
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
DEEP-SEA
easybuild-repository-public-release
Commits
a2b14851
Commit
a2b14851
authored
2 years ago
by
Alexandre Strube
Browse files
Options
Downloads
Patches
Plain Diff
shpc version from december
parent
bf0339cb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Golden_Repo/s/shpc/shpc-0.1.17-GCCcore-11.3.0.eb
+70
-0
70 additions, 0 deletions
Golden_Repo/s/shpc/shpc-0.1.17-GCCcore-11.3.0.eb
with
70 additions
and
0 deletions
Golden_Repo/s/shpc/shpc-0.1.17-GCCcore-11.3.0.eb
0 → 100644
+
70
−
0
View file @
a2b14851
easyblock = 'PythonBundle'
name = 'shpc'
version = '0.1.17'
homepage = 'https://github.com/singularityhub/singularity-hpc'
description = """Local filesystem registry for containers (intended for HPC) using Lmod or
Environement Modules. Works for users and admins."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
#
# sources = ['%(version)s.tar.gz']
builddependencies = [('binutils', '2.38')]
dependencies = [
('Python', '3.10.4'),
('Apptainer-Tools', '2023'),
]
use_pip = True
download_dep_fail = True
exts_list = [
('spython', '0.3.0', {
'checksums': ['1bbadb18829aaf18e68bcdb9850e6e8c1e1be9066fbd4b71e1fff88f7d80b76f'],
}),
('ruamel.yaml.clib', '0.2.7', {
'modulename': False,
'checksums': ['1f08fd5a2bea9c4180db71678e850b995d2a5f4537be0e94557668cf0f5f9497'],
}),
('ruamel.yaml', '0.17.21', {
'checksums': ['8b7ce697a2f212752a35c1ac414471dc16c424c9573be4926b56ff3f5d23b7af'],
}),
(name, version, {
'source_urls': ['https://github.com/singularityhub/singularity-hpc/archive/refs/tags/'],
'sources': ['%(version)s.tar.gz'],
'checksums': ['ca5315142d0b3690a07fc12ea147c404a05ed75f9552ce7f563f833cf8832b58'],
}),
]
allow_prepend_abs_path = True
# Tries to create its directory on the home dir during the module load, as it cannot be
# done beforehand.
modluafooter = """
require "lfs"
lfs.mkdir(pathJoin(os.getenv("HOME"), "easybuild", os.getenv("SYSTEMNAME"), "modules", "containers"))
prepend_path("MODULEPATH", pathJoin(os.getenv("HOME"), "easybuild", os.getenv("SYSTEMNAME"), "modules", "containers"))
"""
sanity_pip_check = True
sanity_check_paths = {
'files': ['bin/shpc'],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
# Shpc needs to be installed so it can be configured. So I have to do it on sanity_check
# instead of postinstallcmds. In any case, those commands are equally valid as sanity check
sanity_check_commands = [
"shpc config --central set module_base:\$HOME/easybuild/\$SYSTEMNAME/modules/containers",
"shpc config --central set container_base:\$HOME/easybuild/\$SYSTEMNAME/modules/containers",
"shpc config --central set container_features:gpu:nvidia",
]
moduleclass = 'tools'
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