Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
glibc_singularity [2020/10/07 12:34] – créée adminglibc_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>  <note tip>We will use the container image **gcc-8.3.0.simg**</note> 
  
-For example let's compile our C/C++ program inside the container:  + 
 +<note>Check the GLIBC inside the container:  
 +<code bash>$ singularity exec $SING_SPOOL/gcc-8.3.0.simg ld -v 
 + 
 +GNU ld (GNU Binutils for Debian) 2.28 
 +</code> 
 +</note> 
 + 
 + 
 +**For example let's compile our C/C++ program inside the container: ** 
 <code bash> <code bash>
 $ singularity exec $SING_SPOOL/gcc-8.3.0.simg gcc main.c  $ singularity exec $SING_SPOOL/gcc-8.3.0.simg gcc main.c 
 </code> </code>
  
-And Finlay run the program inside the container:+**And Finlay run the program inside the container:**
  
 <code bash> <code bash>
 $ singularity exec $SING_SPOOL/gcc-8.3.0.simg ./a.out  $ singularity exec $SING_SPOOL/gcc-8.3.0.simg ./a.out 
 </code> </code>
  • glibc_singularity.1602074061.txt.gz
  • Dernière modification : 2020/10/07 12:34
  • de admin