2
# Define location of slurm executables (if not in default search path)
3
#slurm_bin="/home/jette/slurm.way/bin/"
5
# Create private config file
6
# Set AuthType=auth/dummy
7
file_orig=`${slurm_bin}scontrol show config | awk '{ if ( $1 ~ /SLURM_CONFIG_FILE/ ) { print $3 } }'`
8
grep -iv AuthType <$file_orig >tmp.$$
9
echo "AuthType=auth/dummy" >>tmp.$$
11
echo "#!/bin/sh" >tmp2.$$
14
# Run srun using this config file
15
export SLURM_CONF=tmp.$$
16
${slurm_bin}sbatch tmp2.$$