| 1 | |
| 2 | |
| 3 | === The gridpack seems sometimes very large in size? Can I improve on this? === |
| 4 | The MadGraph code (and also the gridpack) has a directory for each subprocess contributing to a process. For process with many external legs, for example when using matching, the number of subprocesses can be very large. This makes the size of the gridpack large. There are two ways to reduce the size of the gridpacks: |
| 5 | |
| 6 | ==== Dynamic Libraries ==== |
| 7 | Each of the subprocess directories in the gridpack has a separate madevent executable. They are build from the subprocess dependent part in that particular subprocess directory as well as an independent part containing the MODEL files, HELAS and integration routines. This is included in each executable via a set of Libraries. By default they are linked statically to the madevent executables, such that each of these executables can be used independently from the libraries. |
| 8 | |
| 9 | However, when running over the grid, the use of dynamic libraries is recommended. Instead of compiling with |
| 10 | {{{ |
| 11 | ./bin/compile, |
| 12 | }}} |
| 13 | the command |
| 14 | {{{ |
| 15 | ./bin/compile dynamic |
| 16 | }}} |
| 17 | can be used to create dynamic libraries and link them appropriately. This reduces the size of the gridpack, but generates exactly the same events as with static libraries. |
| 18 | |
| 19 | For more technical details on setting up and running the gridpacks, see [:Library.GridDevelopment:here]. |
| 20 | |
| 21 | |
| 22 | ==== [:Software.TheChopper:The Chopper] ==== |
| 23 | [:Software.TheChopper:TheChopper-pl] is a perl script that removes subprocesses of which the sum contributes less then a given percentage to the total cross section. It can be found in the |
| 24 | {{{ |
| 25 | ./madevent/bin/ |
| 26 | }}} |
| 27 | directory of the gridpack. For more details on how to use it click on this [:Software.TheChopper:link]. |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | -- Main.RikkertFrederix - 02 Mar 2009 |