#!/bin/bash
#SBATCH --job-name=job01   # Job name
#SBATCH --output=job01.out # Stdout (%j expands to jobId)
#SBATCH --error=job01.err  # Stderr (%j expands to jobId)
#SBATCH --ntasks=1         # Number of Tasks
#SBATCH --nodes=1          # Number of nodes requested
#SBATCH --time=02:00:00    # walltime (2 hours)

#SBATCH --array=1-4

module load itpp           # You need to first manually create directories run1 - run4  
                           # And also to copy control files into each directory
			   # enter directory run_ and execute the program 'sttc'
cd run$SLURM_ARRAY_TASK_ID/ && ./sttc    # change 'sttc' to your program name