Update container authored by Rémy Mozul's avatar Rémy Mozul
...@@ -4,28 +4,28 @@ Important notice: in the following a generic name `lmgc90_user_xxxx` is used in ...@@ -4,28 +4,28 @@ Important notice: in the following a generic name `lmgc90_user_xxxx` is used in
_To come..._ _To come..._
# Singularity # Apptainer/Singularity
Here are provided some very basics directions on how to use LMGC90 in a Singularity container. Here are provided some very basics directions on how to use LMGC90 in a Apptainer (formerly Singularity) container.
On how to install and use Singularity properly, check their [official website](https://apptainer.org/). On how to install and use Singularity properly, check their [official website](https://apptainer.org/).
For a direct use, download the image file: For a direct use, download the image file:
* [lmgc90_user_2025_rc2.sif](https://seafile.lmgc.univ-montp2.fr/f/5f07db4f0da5405baed0/?dl=1)
* [lmgc90_user_2025_rc2.sif](https://seafile.lmgc.univ-montp2.fr/f/2d491427303640218a7f/?dl=1)(md5sum e4fb0e5fad0b9fc07062effbceef90a0) * [lmgc90_user_2025_rc2.sif](https://seafile.lmgc.univ-montp2.fr/f/2d491427303640218a7f/?dl=1)(md5sum e4fb0e5fad0b9fc07062effbceef90a0)
* [lmgc90_user_2025_rc1.sif](https://seafile.lmgc.univ-montp2.fr/f/ae579e69cac749a6938b/?dl=1)(md5sum e305fb305dafce88bfa2e806dc891ae4) * [lmgc90_user_2025_rc1.sif](https://seafile.lmgc.univ-montp2.fr/f/ae579e69cac749a6938b/?dl=1)(md5sum e305fb305dafce88bfa2e806dc891ae4)
* [lmgc90_user_2024.sif](https://seafile.lmgc.univ-montp2.fr/f/6c0a172ff64b4efc9ff5/?dl=1) (md5sum 3456a4f6cec9fba8529a505db31ffbc0) * [lmgc90_user_2024.sif](https://seafile.lmgc.univ-montp2.fr/f/6c0a172ff64b4efc9ff5/?dl=1) (md5sum 3456a4f6cec9fba8529a505db31ffbc0)
* [lmgc90_user_2024_rc1.sif](https://seafile.lmgc.univ-montp2.fr/f/0213f8323051431d8744/?dl=1) (md5sum e58a398352a64b41567e0aaf816863df)
On a server or computer with singularity installed, you can directly use the On a server or computer with singularity installed, you can directly use the
singularity image to run a single command with: singularity image to run a single command with:
```cmd ```cmd
cd path_to_example cd path_to_example
singularity run lmgc90_user_xxxx.sif python command.py apptainer run lmgc90_user_xxxx.sif python command.py
``` ```
It is preferred to stay in the same image ; for example in order to It is preferred to stay in the same image ; for example in order to
run several python commands: run several python commands:
```cmd ```cmd
singularity shell lmgc90_user_xxxx.sif apptainer shell lmgc90_user_xxxx.sif
python gen_sample.py --novisu && python command.py python gen_sample.py --novisu && python command.py
exit exit
``` ```
...@@ -64,7 +64,7 @@ From: ubuntu:noble ...@@ -64,7 +64,7 @@ From: ubuntu:noble
``` ```
Then the image file can be created with: Then the image file can be created with:
```cmd ```cmd
singularity build --fakeroot lmgc90_user_xxxx.sif lmgc90.def apptainer build --fakeroot lmgc90_user_xxxx.sif lmgc90.def
``` ```
... ...
......