...
./gridsub.sh output 2 1 100
the following command will create an output directory called 'example' after running locally 5 jobs at a time with 470 events:
./gridsub.sh example 1 5 470
To access the output file:
...
/e906/app/users/aarora/e1039-analysis/SimChainDev/scratch/out1/1
the following command will create an output directory called 'example' after running on the grid 5 jobs at a time with 470 events:
./gridsub.sh example 1 5 470