On Genotoul, use your "work" folder: /home/<mylogin>/work
On Genotoul, use your "work" folder: /work/<mylogin>
[source, bash]
cd /home/<mylogin>/work
...
...
@@ -78,6 +78,24 @@ singularity run shub://GodloveD/lolcow
You can also use pull with the docker:// URI to reference Docker images served from a registry. In this case, pull does not just download an image file. Docker images are stored in layers, so pull must also combine those layers into a usable Singularity file.
To run it using SLURM on Genotoul:
[source, bash]
----
#!/bin/sh
#SBATCH --job-name=lolcow
#SBATCH -N 1
#SBATCH --ntasks-per-node=1
#SBATCH --time=01:00:00
module load system/singularity-3.5.3
echo « Running on: $SLURM_NODELIST »
singularity run lolcow_latest.sif
----
[source, bash]
singularity pull docker://godlovedc/lolcow # with the default name