#!/bin/bash #SBATCH -p P1 #SBATCH -N 1 ## This scripts requires two arguments $1=numSources $2=numSpawn echo "START RUN" #mpicc BaseCode.c mpirun -np $1 ./a.out $2 echo "END RUN"