rsnt_translations
56,430
edits
No edit summary |
No edit summary |
||
Line 177: | Line 177: | ||
<!--T:45--> | <!--T:45--> | ||
On our clusters, you will want to use a number of additional options (that appear after <code>run</code>, but before <code>your-container-name.sif</code>). These options | On our clusters, you will want to use a number of additional options (that appear after <code>run</code>, but before <code>your-container-name.sif</code>). These options include <code>-C</code>, <code>-c</code>, <code>-e</code>, <code>-W</code> as well as various bind mount options to make your disk space available to the programs that run in your container. For example: | ||
<!--T:46--> | <!--T:46--> | ||
apptainer run -C -W $SLURM_TMPDIR | apptainer run -C -W $SLURM_TMPDIR -B /project -B /scratch your-container-name.sif g++ -O2 -march=broadwell ./myprog.cpp | ||
apptainer run -C -W $SLURM_TMPDIR | apptainer run -C -W $SLURM_TMPDIR -B /project -B /scratch ./a.out | ||
<!--T:47--> | <!--T:47--> |