diff --git a/run.sh b/run.sh new file mode 100644 index 0000000000000000000000000000000000000000..34db0418499ebbc950e3ea4518f471829935e0ba --- /dev/null +++ b/run.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +#SBATCH -n 6 +#SBATCH --time=0:05:00 +#SBATCH --job-name=nbody_run +#SBATCH --mem-per-cpu=512 +#SBATCH --output=slurm_output.txt +#SBATCH --error=slurm_error.txt +#SBATCH --open-mode=truncate + +export OMP_NUM_THREADS=6 +cd build/ +./nbody +cd .. \ No newline at end of file