Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| anaconda_sing [2023/12/07 19:24] – [How to use Singularity ?] admin | anaconda_sing [2023/12/08 08:29] (Version actuelle) – [Motivation] admin | ||
|---|---|---|---|
| Ligne 2: | Ligne 2: | ||
| ===== Motivation ===== | ===== Motivation ===== | ||
| - | Because lumière cluster is based on an old operating system (Centos 6.10), GLIBC errors may occur when installing or using conda packages. | + | Because lumière cluster is based on an old operating system ('' |
| - | The idea is to use a more recent version of GLIBC embedded in a singularity container. | ||
| - | **advantage: | + | < |
| + | ./python3: / | ||
| + | ./python3: / | ||
| + | ./python3: / | ||
| + | </ | ||
| + | ---- | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | __**Solution: | ||
| + | |||
| + | <color #22b14c>**advantage: | ||
| - | disadvantage: | + | **disadvantage: |
| - | ===== How to use Singularity ? ===== | + | ===== How to use |
| We have created a wrapper around conda called **conda_sing**.\\ | We have created a wrapper around conda called **conda_sing**.\\ | ||
| Ligne 23: | Ligne 35: | ||
| <note important> | <note important> | ||
| - | Since $HOME directory is read-only on compute nodes. You'll need to run the following command __**once**__ to configure '' | + | Since '' |
| <code bash> | <code bash> | ||
| $ module load miniconda/ | $ module load miniconda/ | ||
| Ligne 36: | Ligne 48: | ||
| $ conda_sing create -n myEnv | $ conda_sing create -n myEnv | ||
| </ | </ | ||
| + | |||
| To list conda environments | To list conda environments | ||
| Ligne 55: | Ligne 68: | ||
| </ | </ | ||
| + | |||
| + | To list installed packages: | ||
| + | <code bash> | ||
| + | $ conda_sing list -n myEnv | ||
| + | </ | ||
| ==== Run program in the environment ==== | ==== Run program in the environment ==== | ||
| To run program using Singularity : | To run program using Singularity : | ||