#!/bin/bash

##Script to batch process TAPSIM simulations given existent TPASIM input meshgen results one thread per pillar
##Markus Kuehbach, 2017/12/18, m.kuehbach at mpie.de

##user required input
##which pillar queue
simid=$1

##start id and end id
pids=$2
pide=$3

for ((pid = $pids; pid <= $pide; pid += 1)); do
	sh run_single_tapsim_job.sh $simid $pid &
done
