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:42] – [Motivation] admin | anaconda_sing [2023/12/08 08:29] (Version actuelle) – [Motivation] admin |
|---|
| |
| ===== Motivation ===== | ===== Motivation ===== |
| Because lumière cluster is based on an old operating system (''Centos 6.10''), GLIBC errors may occur when installing or using new conda packages. | Because lumière cluster is based on an old operating system (''Centos 6.10''), GLIBC errors may occur when installing or using new conda packages. For example: |
| | |
| | |
| | <code> |
| | ./python3: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./python3) |
| | ./python3: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./python3) |
| | ./python3: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by ./python3)'' |
| | </code> |
| | ---- |
| | |
| | |
| | |
| |
| __**Solution:** the idea is to use a more recent version of ''GLIBC'' embedded in a singularity container.__ | __**Solution:** the idea is to use a more recent version of ''GLIBC'' embedded in a singularity container.__ |
| <color #22b14c>**advantage: access to the most recent version of Python and the majority of recent packages.**</color> | <color #22b14c>**advantage: access to the most recent version of Python and the majority of recent packages.**</color> |
| |
| **disadvantage: lack of conda activate and deactivate options.<color #ed1c24>It is therefore impossible to use ''conda activate''.</color>** | **disadvantage: lack of conda activate and deactivate options.<color #ed1c24>It is therefore impossible to use ''conda activate''.</color>** command. |
| |
| ===== How to use conda within Singularity ? ===== | ===== How to use conda within Singularity ? ===== |
| $ conda_sing create -n myEnv | $ conda_sing create -n myEnv |
| </code> | </code> |
| | |
| |
| To list conda environments | To list conda environments |