| 1 | |
| 2 | |
| 3 | == MadGraph for the Grid == |
| 4 | |
| 5 | === Scattered information === |
| 6 | |
| 7 | Here is a copy and paste of first Tim's email on the MadGraph4Grid. Outdated! Needs revision... |
| 8 | |
| 9 | {{{ |
| 10 | Hi |
| 11 | |
| 12 | I have made progress on creating scripts for "grid" running. Below is a printout of the file in |
| 13 | madgraph@madgraph.uiuc.edu/MG_ME_Grid/GridReadme.txt. |
| 14 | |
| 15 | Until everything is fully integrated, I just created a script to "gridify" a process. That makes it relatively easy to play/test w/o making any changes to our templates etc. |
| 16 | |
| 17 | Basically you can generate a process on the web, |
| 18 | then from a terminal "gridify it", then when you run from the web it will do a "warm-up". Once that is done you can generate "jobs" that are stand-alone and generate unweighted events that can be combined together. I'll work on optimizing and testing more. But wanted you to know the status in case anyone wants to start playing with it. |
| 19 | |
| 20 | Tim |
| 21 | |
| 22 | |
| 23 | Creating a grid-ready process |
| 24 | |
| 25 | ******* Initialization (done once) ********* |
| 26 | |
| 27 | 1) Generate process as normal (via web) |
| 28 | |
| 29 | 2) Open terminal window and go to base directory for process |
| 30 | (e.g. MadGraphData/tstelzer@uiuc.edu/PROC30 ) |
| 31 | |
| 32 | 3) run ~madgraph/bin/gridify |
| 33 | (Note this updates several files... but all are compatable |
| 34 | with the standard local runs except that it comments out the refine |
| 35 | call from bin/generate_events. ) |
| 36 | |
| 37 | |
| 38 | 4) run generate events (via web) |
| 39 | |
| 40 | You now have a "good" run and plots etc. This will be used for |
| 41 | determining the # of events to collect from the different channels. |
| 42 | |
| 43 | |
| 44 | ******* Event Generation (repeat as many times as necessary) ***** |
| 45 | |
| 46 | 1) In terminal window run ./bin/gen_grid_jobs |
| 47 | (this will create gridpack.tar.gz) |
| 48 | |
| 49 | 2) unpack gridpack.tar.gz on grid computer |
| 50 | |
| 51 | 3) run bin/run_grid_jobs on grid computer |
| 52 | |
| 53 | 4) Specified number of unweighted events will be in SubProcesses/unweighted_events.lhe |
| 54 | |
| 55 | |
| 56 | ************************* Parameters ************************ |
| 57 | |
| 58 | Cards/grid_card.dat |
| 59 | GridRun = .true. |
| 60 | This tells symmetry.f, gen_ximprove.f and combine.f if this |
| 61 | is a standard run, or a grid run. (.false. will result in standard run) |
| 62 | |
| 63 | Source/run_config.inc |
| 64 | double precision acc_wu |
| 65 | parameter (acc_wu = 0.01) !Desired accuracy from warmup run |
| 66 | integer npoints_wu, itmax_wu !warmup # points/iterations |
| 67 | parameter (npoints_wu = 4000, itmax_wu = 8) |
| 68 | integer min_gevents_wu |
| 69 | parameter (min_gevents_wu=200) !Minumum # unweighted events to generate from chan= |
| 70 | |
| 71 | }}} |
| 72 | |
| 73 | -- Main.FabioMaltoni - 07 Nov 2007 |
| 74 | |
| 75 | |