Skip to content

Commit

Permalink
slurm script to submit autobuild run
Browse files Browse the repository at this point in the history
  • Loading branch information
ericjbohm committed Nov 3, 2023
1 parent 11a4013 commit bbc78d5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/delta-sbatch-slurm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash -l
#SBATCH -N 2
#SBATCH -n 32
#SBATCH -t 02:00:00
#SBATCH -J autobuild
#SBATCH -o $output
#SBATCH -e $output
#SBATCH -p regular
#SBATCH --partition=cpu
#SBATCH -A mzu-delta-cpu
cd $indir
cd $testdir
module load libfabric; module load cmake
#$make clean
$make -C ../tests $target OPTS="$flags" TESTOPTS="$testopts" $maketestopts
$make -C ../examples $target OPTS="$flags" TESTOPTS="$testopts" $maketestopts
$make -C ../benchmarks $target OPTS="$flags" TESTOPTS="$testopts" $maketestopts
# Save make exit status
status=\$?
echo \$? > $result

0 comments on commit bbc78d5

Please sign in to comment.