Strumenti Utente

Strumenti Sito


calcoloscientifico:userguide:apptainer

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisioneRevisione precedente
Prossima revisione
Revisione precedente
calcoloscientifico:userguide:apptainer [20/02/2023 20:02] – [Bacterial Genomics software collection] fabio.spatarocalcoloscientifico:userguide:apptainer [14/01/2025 13:00] (versione attuale) – [Apptainer] fabio.spataro
Linea 1: Linea 1:
 ===== Apptainer ===== ===== Apptainer =====
  
-[[https://apptainer.org|Apptainer]]+  * [[https://apptainer.org|Apptainer]] 
 +  * [[https://github.com/apptainer/apptainer|Apptainer on GitHub]]
  
 Apptainer is already available on the HPC cluster. Apptainer is already available on the HPC cluster.
Linea 7: Linea 8:
 Users are encouraged to use it on their system. Users are encouraged to use it on their system.
  
-=== Install a binary package ===+==== Install a binary package ====
  
 These instructions are intended for users who wish to install Apptainer on their Linux system. These instructions are intended for users who wish to install Apptainer on their Linux system.
Linea 14: Linea 15:
  
 <code> <code>
-yum install https://github.com/apptainer/apptainer/releases/download/v1.0.1/apptainer-1.0.1-1.x86_64.rpm+yum install https://github.com/apptainer/apptainer/releases/download/v1.1.8/apptainer-1.1.8-1.x86_64.rpm
 </code> </code>
  
Linea 20: Linea 21:
  
 <code> <code>
-sudo apt install https://github.com/apptainer/apptainer/releases/download/v1.0.1/apptainer_1.0.1_amd64.deb+wget -qc https://github.com/apptainer/apptainer/releases/download/v1.1.8/apptainer_1.1.8_amd64.deb 
 +sudo dpkg -i apptainer_1.1.8_amd64.deb
 </code> </code>
  
-=== Extract NVIDIA driver ===+==== Extract NVIDIA driver ====
  
 The following commands The following commands
Linea 41: Linea 43:
 </code> </code>
  
-=== Apptainer on a worker node with CPU ===+==== Apptainer on a worker node with CPU ====
  
 On the login node of the HPC cluster run the following command: On the login node of the HPC cluster run the following command:
Linea 127: Linea 129:
  
 Users who have installed a binary package do not have to load the ''apptainer'' module. Users who have installed a binary package do not have to load the ''apptainer'' module.
 +
 +===== Apptainer containers =====
  
 ==== Bacterial Genomics software collection ==== ==== Bacterial Genomics software collection ====
  
-Script ''slurm-bactgen.sh'' to run some commands for demonstration purposes on 1 node (1 task, 4 CPUs per task):+''slurm-bactgen.sh'' script to get list of packages present in ''bactgen'' environment and help from ''tormes'' on 1 node (1 task, 4 CPUs per task):
  
 <code bash slurm-bactgen.sh> <code bash slurm-bactgen.sh>
Linea 149: Linea 153:
 module load bactgen module load bactgen
  
-apptainer run "$CONTAINER" dRep +apptainer run "$CONTAINER" micromamba list 
-apptainer run "$CONTAINER" tormes --version +echo '─────────────────────────────────────────────────────────────────────────────────────────' 
-apptainer run "$CONTAINER" lissero --version +apptainer run "$CONTAINER" tormes --help 
-apptainer run "$CONTAINER" roary -h +echo '─────────────────────────────────────────────────────────────────────────────────────────'
-apptainer run "$CONTAINER" roary -w +
-apptainer run "$CONTAINER" scoary -h +
-apptainer run "$CONTAINER" scoary --version +
-apptainer run "$CONTAINER" prokka --version +
-apptainer run "$CONTAINER" staramr -V+
 </code> </code>
  
calcoloscientifico/userguide/apptainer.1676919746.txt.gz · Ultima modifica: 20/02/2023 20:02 da fabio.spataro

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki