Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bioinfo_utils
Manage
Activity
Members
Labels
Plan
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
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
Blaise LI
bioinfo_utils
Commits
7bf6683b
Commit
7bf6683b
authored
11 months ago
by
Blaise Li
Browse files
Options
Downloads
Patches
Plain Diff
Update script to run on cluster or pisa.
parent
43ec501e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
singularity/workflows_shell.sh
+2
-2
2 additions, 2 deletions
singularity/workflows_shell.sh
with
2 additions
and
2 deletions
singularity/workflows_shell.sh
+
2
−
2
View file @
7bf6683b
...
...
@@ -49,7 +49,7 @@ then
module
--version
2> /dev/null
&&
have_modules
=
1
if
[
${
have_modules
}
]
then
module load
singularity
||
error_exit
"singularity is needed to run the pipelines (see
${
install_doc
}
)"
module load
apptainer
||
error_exit
"singularity is needed to run the pipelines (see
${
install_doc
}
)"
else
error_exit
"singularity is needed to run the pipelines (see
${
install_doc
}
)"
fi
...
...
@@ -77,6 +77,6 @@ case ${1} in
# -B /pasteur will mount /pasteur in the container
# so that it finds the Genome configuration and gene lists
# that are expected to be in a specific location there.
singularity shell
-B
/pasteur
-B
/run/shm:/run/shm
${
container
}
$@
[[
$(
hostname
)
=
"pisa"
]]
&&
SINGULARITYENV_USER
=
${
USER
}
singularity shell
-B
/pasteur
-B
/run/shm:/run/shm
${
container
}
$@
||
APPTAINERENV_USER
=
${
USER
}
apptainer shell
-B
/opt/hpc/slurm
-B
/var/run/munge
-B
/pasteur
${
container
}
$@
;;
esac
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