Github: https://github.com/E1039-Collaboration/
Get FNAL User account: https://get-connected.fnal.gov/users/accounts/
Login to FNAL
kinit -f <usr>@FNAL.GOV
<type your password>
ssh -Y <usr>@spinquestgpvm01.fnal.gov
source /e906/app/software/osg/software/e1039/this-e1039.sh
git clone https://github.com/E1039-Collaboration/e1039-analysis.git
cd e1039-analysis/SimChainDev/
root -l Fun4Sim.C\(100\)
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.
/e906/app/users/aarora/e1039-analysis/SimChainDev/scratch/out1/1