Important notice: in the following a generic name `lmgc90_user_xxxx` is used in the instruction, but each time the `xxxx` is met, it must be replaced by the real name of the version used. For example the `2020.rc1` or `2020`.
# Singularity
Here are provided some very basics directions on how to use LMGC90 in a Singularity container.
On how to install and use Singularity properly, check their [official website](https://apptainer.org/).
Then, next to a `example` directory containing a `gen_sample.py` (with
NO `visuAvatars` command) and a `command.py`, a docker container
can be run sharing the `example` directory and run a single command with:
```cmd
docker run -it -v $PWD/example:/root/compute lmgc90_user:2022.rc1 python command.py
```
To stay in the container for, let's say run python in interactive mode, or run
several commands, preferably use:
```cmd
docker run -it -v $PWD/example:/root/compute lmgc90_user:xxxx /bin/bash
python gen_sample.py --novisu
python command.py
exit
```
When using docker, it is good practice to sometime clean the
container leftovers with:
```cmd
docker container prune
Important notice: in the following a generic name `lmgc90_user_xxxx` is used in the instruction, but each time the `xxxx` is met, it must be replaced by the real name of the version used. For example the `2020.rc1` or `2020`.
# Singularity
Here are provided some very basics directions on how to use LMGC90 in a Singularity container.
On how to install and use Singularity properly, check their [official website](https://apptainer.org/).