Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
m2bsgreprod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KHAM Chaimae
m2bsgreprod
Commits
6f38a4a6
Commit
6f38a4a6
authored
8 months ago
by
KHAM Chaimae
Browse files
Options
Downloads
Patches
Plain Diff
Ajout d'explications au niveau des scripts
parent
95dc1780
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Doc/01install.md
+9
-3
9 additions, 3 deletions
Doc/01install.md
Doc/02run.md
+6
-2
6 additions, 2 deletions
Doc/02run.md
with
15 additions
and
5 deletions
Doc/01install.md
+
9
−
3
View file @
6f38a4a6
#Install the micromamba
#Install the micromamba
#Download and extract micromamba:
curl -L https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
curl -L https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
mkdir -p $HOME/.local/bin
mkdir -p $HOME/.local/bin
mv bin/micromamba $HOME/.local/bin/
mv bin/micromamba $HOME/.local/bin/
#Create the root directory for micromamba:
mkdir -p $HOME/micromamba
mkdir -p $HOME/micromamba
#Add the
se
lines to ~/.bashrc
#Add the
following
lines to
your
~/.bashrc
to configure the environment:
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
...
@@ -16,15 +20,17 @@ export MAMBA_ROOT_PREFIX=$HOME/micromamba
...
@@ -16,15 +20,17 @@ export MAMBA_ROOT_PREFIX=$HOME/micromamba
eval "$(micromamba shell hook -s posix)"
eval "$(micromamba shell hook -s posix)"
#Create a
m2bsgreprod
micromamba environment
and install apptainer 1.3.2
#Create a
new
micromamba environment
named m2bsgreprod with Python 3.12:
micromamba create --name m2bsgreprod python=3.12 -c conda-forge
micromamba create --name m2bsgreprod python=3.12 -c conda-forge
micromamba activate m2bsgreprod
micromamba activate m2bsgreprod
#Install Apptainer 1.3.2:
micromamba install conda-forge::apptainer=1.3.2
micromamba install conda-forge::apptainer=1.3.2
#
B
uild the apptainer image
#
Create the output directory and b
uild the apptainer image
:
mkdir -p results/containers
mkdir -p results/containers
...
...
This diff is collapsed.
Click to expand it.
Doc/02run.md
+
6
−
2
View file @
6f38a4a6
#Execute the Rscripts
#Execution guide
#Activate the Environment
micromamba activate m2bsgreprod
micromamba activate m2bsgreprod
#Use Apptainer to execute the make command inside the container and run the Makefile:
apptainer exec results/containers/m2bsgreprod3.sif make -f workflows/makefile
apptainer exec results/containers/m2bsgreprod3.sif make -f workflows/makefile
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