Strumenti Utente

Strumenti Sito


oph:cluster:apptainer

Questa è una vecchia versione del documento!


Apptainer

This page is still To Be Done. FIXME

Some useful links:

  • Recording of the meeting with betatesters (ITA)
  • A tutorial (skip to “Building Singularity Containers” and remember you don't have 'sudo' access on the cluster!)
  • Another tutorial, more in-depth

Examples

Python Container

By Amalie Louise Stokholm

apptainer build --sandbox rockylinux8/ docker://rockylinux:8 
find rockylinux8 -type d -not -writable -exec chmod +w {} +
apptainer run -f --writable rockylinux8/ yum groupinstall -y "Development Tools"
apptainer run -f --writable rockylinux8/ yum install -y zlib-devel libffi-devel openssl-devel bzip2-devel readline-devel sqlite-devel xz-devel
mv .pyenv/versions/3.9.12{,_old4}
apptainer run rockylinux8/ ~/.pyenv/bin/pyenv install 3.9.12
.pyenv/versions/3.9.12/bin/python3 -c 'import ctypes'
oph/cluster/apptainer.1700119663.txt.gz · Ultima modifica: 2023/11/16 07:27 da diego.zuccato@unibo.it

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki