Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| glibc_singularity [2020/10/07 12:34] – créée admin | glibc_singularity [2020/10/07 12:40] (Version actuelle) – [Use newer version] admin | ||
|---|---|---|---|
| Ligne 11: | Ligne 11: | ||
| ===== Use newer version ===== | ===== Use newer version ===== | ||
| - | To use a more recent version of the GLIBC, an upgrade of the system is required. However, an alternative solution exists through the container solution using Singularity. | + | To use a more recent version of the GLIBC, an upgrade of the system is required. |
| + | However, an alternative solution exists through the container solution using **Singularity**. | ||
| ==== Using Singularity ==== | ==== Using Singularity ==== | ||
| Ligne 23: | Ligne 24: | ||
| <note tip>We will use the container image **gcc-8.3.0.simg**</ | <note tip>We will use the container image **gcc-8.3.0.simg**</ | ||
| - | For example let's compile our C/C++ program inside the container: | + | |
| + | < | ||
| + | <code bash>$ singularity exec $SING_SPOOL/ | ||
| + | |||
| + | GNU ld (GNU Binutils for Debian) 2.28 | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | **For example let's compile our C/C++ program inside the container: | ||
| <code bash> | <code bash> | ||
| $ singularity exec $SING_SPOOL/ | $ singularity exec $SING_SPOOL/ | ||
| </ | </ | ||
| - | And Finlay run the program inside the container: | + | **And Finlay run the program inside the container:** |
| <code bash> | <code bash> | ||
| $ singularity exec $SING_SPOOL/ | $ singularity exec $SING_SPOOL/ | ||
| </ | </ | ||