Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
singularity-devbio-napari
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
BiA-PoL
singularity-devbio-napari
Commits
1f471309
Commit
1f471309
authored
2 years ago
by
Till Korten
Browse files
Options
Downloads
Patches
Plain Diff
added support for ws_allocate
parent
2069ee0a
No related branches found
No related tags found
1 merge request
!3
synced branches
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Singularity
+14
-0
14 additions, 0 deletions
Singularity
ws_allocate
+3
-0
3 additions, 0 deletions
ws_allocate
with
17 additions
and
0 deletions
Singularity
+
14
−
0
View file @
1f471309
...
...
@@ -13,6 +13,7 @@ From: nvidia/cuda:11.3.1-base-ubuntu20.04
environment.yml
runner.sh
datamover.sh
ws_allocate
%environment
export DEBIAN_FRONTEND=noninteractive
...
...
@@ -93,6 +94,19 @@ From: nvidia/cuda:11.3.1-base-ubuntu20.04
ln -s "$datamover" "${slurmtools}"dtls
ln -s "$datamover" "${slurmtools}"dtcp
# set up the ws_allocate wrapper script
# enabling us to use the ws_* tools via ssh on the login node
mv /ws_allocate /usr/bin/
ws_exe=/usr/bin/ws_allocate
ln -s "$ws_exe" /usr/bin/ws_extend
ln -s "$ws_exe" /usr/bin/ws_release
ln -s "$ws_exe" /usr/bin/ws_register
ln -s "$ws_exe" /usr/bin/ws_restore
ln -s "$ws_exe" /usr/bin/ws_list
ln -s "$ws_exe" /usr/bin/ws_find
#####################
## run python file ##
#####################
...
...
This diff is collapsed.
Click to expand it.
ws_allocate
0 → 100644
+
3
−
0
View file @
1f471309
#!/bin/bash
exe
=
$(
basename
"
$0
"
)
ssh
-i
/.ssh/id_rsa
-o
UserKnownHostsFile
=
/.ssh/known_hosts tauruslogin3 /usr/bin/
"
$exe
"
"
$@
"
\ No newline at end of file
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