Page MenuHomec4science

weak_looping.sh
No OneTemporary

File Metadata

Created
Sat, Nov 9, 02:37

weak_looping.sh

#!/bin/bash
touch cmd.sh
module load gcc mvapich2 openblas
rm slurm-*
for nprocs in {1..14}
do
cat skeleton1.txt > cmd.sh
echo "#SBATCH -n" $nprocs >> cmd.sh
echo srun cgsolver bandMatrix_nproc$nprocs.mtx >> cmd.sh
sbatch cmd.sh
done

Event Timeline