Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
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
Container registry
Model registry
Operate
Environments
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
containers
eic_container
Merge requests
!174
Add SINGULARITY_BINDPATH at autodetection stage to avoid duplication.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add SINGULARITY_BINDPATH at autodetection stage to avoid duplication.
sly2j-master-patch-67057
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Sylvester Joosten
requested to merge
sly2j-master-patch-67057
into
master
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 1
2747486f
3 years ago
master (base)
and
latest version
latest version
be5a9930
2 commits,
3 years ago
version 1
2747486f
1 commit,
3 years ago
1 file
+
5
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
install.sh
+
5
−
5
Options
@@ -180,17 +180,17 @@ function install_linux() {
## is always bound. We also check for the existence of a few standard
## locations (/scratch /volatile /cache) and bind those too if found
echo
" - Determining additional bind paths"
BINDPATH
=
${
SINGULARITY_BINDPATH
}
echo
" --> system bindpath:
$BINDPATH
"
PREFIX_ROOT
=
"/
$(
realpath
$PREFIX
|
cut
-d
"/"
-f2
)
"
BINDPATH
=
$PREFIX_ROOT
echo
" -->
$PREFIX_ROOT
"
for
dir
in
/work /scratch /volatile /cache /gpfs /gpfs01 /gpfs02
;
do
for
dir
in
/work /scratch /volatile /cache /gpfs /gpfs01 /gpfs02
$PREFIX_ROOT
;
do
## only add directories once
if
[[
${
BINDPATH
}
=
~
$(
basename
$dir
)
]]
;
then
continue
fi
if
[
-d
$dir
]
;
then
echo
" -->
$dir
"
BINDPATH
=
"
${
BINDPATH
}
,
$dir
"
BINDPATH
=
${
dir
}
${
BINDPATH
:+,
$BINDPATH
}
fi
done
@@ -279,7 +279,7 @@ if [ ! -z \${UPGRADE} ]; then
fi
export ATHENA_PREFIX=
$PREFIX
/local
export SINGULARITY_BINDPATH=
$BINDPATH
\$
{SINGULARITY_BINDPATH:+:
\$
SINGULARITY_BINDPATH}
export SINGULARITY_BINDPATH=
$BINDPATH
$SINGULARITY
exec
$SIF
eic-shell
\$
@
EOF
Loading