-
Notifications
You must be signed in to change notification settings - Fork 0
1. The Genesis Device: Madgraph
Jonathan Guiang edited this page Mar 23, 2022
·
11 revisions
All of the code here is taken from the 2022 CMSDAS example.
However, it has been consolidated for simplicity.
In particular, we will take the following steps using the code contained in the madgraph
directory in this repository to make a gridpack.
- Create a new set of cards for a process called
PROCESS
cd cards
mkdir PROCESS_4f_LO
cp WpToLNu_4f_LO/WpToLNu_4f_LO_run_card.dat PROCESS_4f_LO/PROCESS_4f_LO_run_card.dat
cp WpToLNu_4f_LO/WpToLNu_4f_LO_proc_card.dat PROCESS_4f_LO/PROCESS_4f_LO_proc_card.dat
- Edit the process card appropriately
- Create a gridpack
./mkgridpack.sh PROCESS_4f_LO cards/PROCESS_4f_LO local
- Check that the gridpack is good; the following command should produce an LHE file
mkdir temp
cd temp
tar xf ../PROCESS_4f_LO_slc7_amd64_gcc700_CMSSW_10_6_0_tarball.tar.xz # contains runcmsgrid.sh
./runcmsgrid.sh $NEVENTS $RANDOMSEED $NCPU
head cmsgrid_final.lhe # make sure that the file has content
cd ..
rm -rf temp
- Clean up
rm -rf PROCESS_4f_LO
rm -rf PROCESS_4f_LO.log
- Move the gridpack to Ceph (if it's large enough)
According to myth, the earth was created in six days. Now watch out! Here comes Genesis. We'll do it for you in six minutes! - Dr. Leonard McCoy