...
If you would like to generate simulated events for SpinQuest experiments and save the output file in RUS format, you should follow these steps.
1. Access the Rivanna computer*
Rivanna Open OnDemand(https://ood.hpc.virginia.edu/pun/sys/dashboard).
2. Clone the repository:
`bash
git clone *
git clone https://github.com/uva-spin/UVA_RUS_Basic `
3. Go to the repository:
`bash
cd `cd UVA_RUS_Basic
`Basic`
4. Set up the environment:
`bash
source `source /project/ptgroup/spinquest/this-e1039.sh
`sh`
5. Run the simulation macro locally for testing. You can use the package based on your interest. For example, let's use Drell-Yan events, where the beam interaction point is at the target location: `bash
cd
`cd DY_TargetTarget`
root `root -b 'Fun4Sim.C(1000)'
``
6. Once the job runs locally and looks alright, you can submit a few jobs on the grid before submitting large jobs:
`bash
`./jobscript.sh test 2 1000
`
- 1000`
- test is the name of this job, used as the name of a new directory to store job outputs.
...
- 2 is the number of jobs.
...
- 1000 is the number of events per job.
...
- Job outputs will appear under /swekascratch<username>MC.
...
- You can use
...
- `squeue -u
...
- user` to check the status of your jobs (or use the "Active Jobs" tab on your UVA OpenOnDemand web page(https://ood.hpc.virginia.edu/pun/sys/dashboard/activejobs?jobcluster=all&jobfilter=user
)).
7. Once everything looks alright, submit large jobs. For example:
.jobscript.shDYTar≥t10010000
8. For more detailed information regarding job submissions, read the instructions here: SpinQuest Monte Carlo Generation on Rivanna(https://confluence.admin.virginia.edu/display/twist/SpinQuest+Monte+Carlo+Generation+on+Rivanna).
Here are the updated instruction of generating Monte Carlo for SpinQuest simulations and analysis
...