#!/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 ..