#!/bin/bash
#SBATCH --job-name=Seq              # name of the job
#SBATCH --nodes=1                   # number of nodes
#SBATCH --ntasks-per-node=1         # number of MPI tasks per node
#SBATCH --hint=nomultithread        # reservation of physical cores (no hyperthreading)
#SBATCH --time=00:01:00             # maximum execution time requested (HH:MM:SS)
#SBATCH --output=Seq%j.out          # name of output file
#SBATCH --error=Seq%j.out           # name of error file (here, in common with the output)

# go into the submission directory 
cd ${SLURM_SUBMIT_DIR}

# clean out the modules loaded in interactive and inherited by default
module purge

# loading the modules
module load ...

# echo of launched commands
set -x

# execution
./a.out