...
Scipt to run the Fun4sim:
Go into the following directory:
/e906/app/users/(username)/e1039-analysis/SimChainDev.
Example : cd /e906/app/users/aarora/e1039-analysis/SimChainDev
./gridsub.sh file n1 n2 n3
n1→ This denotes if the job is run locally or on the grid. 1(run the job on the grid) 2(run the job on the local machine)
n2→ number of jobs at a time (usually should be kept 1)
n3→ number of events.
for example the following command will create an output directory called 'output' after running locally 1 job at a time with 100 events:
./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:
once you successfully run the a folder named scratch will be created which will contain a folder name your output file.