File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
# SBATCH --job-name=fidibench_build
3
- # SBATCH --partition=milan
4
3
# SBATCH --time=0-02:00:00
5
4
# SBATCH --mem=10GB
6
5
# SBATCH --cpus-per-task=2
7
- # load environment module
8
6
module purge
9
- module load Apptainer/1.2.2
10
- # recent Apptainer modules set APPTAINER_BIND, which typically breaks
11
- # container builds, so unset it here
12
- unset APPTAINER_BIND
13
- # create a build and cache directory on nobackup storage
14
- export APPTAINER_CACHEDIR=" /nesi/nobackup//pletzera/apptainer_cache"
15
- export APPTAINER_TMPDIR=" /nesi/nobackup//pletzera/apptainer_tmpdir"
16
- mkdir -p $APPTAINER_CACHEDIR $APPTAINER_TMPDIR
17
- setfacl -b $APPTAINER_TMPDIR
18
7
# build the container
19
8
apptainer build --force --fakeroot fidibench_intel.sif fidibench_intel.def
You can’t perform that action at this time.
0 commit comments