====== Downloading and Using MadDipole ====== Using MadDipole and even downloading it is more complicated than one would think. This is what I did: - Go to the MadGraph Homepage [[http://madgraph.hep.uiuc.edu/]] and register yourself. You should receive an email within minutes with a password. - Go to the Downloads page of the MadGraph site, [[http://madgraph.hep.uiuc.edu/Downloads/]]. If you visit it the first time you will need to login yourself with your e-mail and the password you received in step 1. - Pick the newest MadDipole tarball which are labeled as follows: ''MG_ME_DIP_V?.?.?.tar.gz''. At the time of writing, the newest version seems to 4.5.2 which is an empty or corrupt tarball, however. If this is still the case, pick the next-to-latest version instead. - Download and unpack the tarball. It is preferable to unpack it on a local drive and **not** to your home folder which is a network folder. The script that will later be run tries to access non-existent files which needs hours to fail on the networked directory. - Now go to the ''MadGraphII'' subdirectory of the unpacked archive and edit the ''makefile''. Change the Fortran compiler to ''gfortran'', i.e. change the line containing ''FF'' to ''FF = gfortran''. Remove the option ''-i4'' in the line containing the compiler flags, ''FFLAGS''. - Run ''make'' in the ''MadGraphhII'' directory. - Go up one directory (to the main directory of the unpacked MadDipole tarball) and copy the ''Template'' directory. You will later work with the copied directory, where MadDipole will create all of the neccessary files, i.e. the files for the dipoles, the integrated dipoles etc. for your process. It is therefore wise to name the copy after the process that you will generate. - Now go to the copied directory and edit the file ''Cards/proc_card.dat''. This file must contain the real radiation process, i.e. the process with the additional gluon/photon. - After editing the file, run ''bin/newprocess''. If you unpacked your tarball somewhere in your homefolder this will take hours.