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:26] – 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 conda within Singularity ? ===== | ===== How to use conda within Singularity ? ===== | ||
| 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 : | ||