Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | Running Professor on Alpgen | |||||||
> > | Running Professor on Alpgen (December 2010) | |||||||
Part 1: running alpgen with agile & rivet | ||||||||
Line: 24 to 24 | ||||||||
Hack | ||||||||
Changed: | ||||||||
< < | export PATH=`pwd`/local/bin/:$PATH export LD_LIBRARY_PATH=`pwd`/local/lib ./rivet-bootstrap --install-boost ./rivet-bootstrap --install-agile | |||||||
> > | export PATH=`pwd`/local/bin/:$PATH export LD_LIBRARY_PATH=`pwd`/local/lib | |||||||
Changed: | ||||||||
< < | Then apply some patches: | |||||||
> > | ./rivet-bootstrap --install-boost | |||||||
Changed: | ||||||||
< < | patch -p0 -i XXX.patch | |||||||
> > | ./rivet-bootstrap --install-agile | |||||||
Changed: | ||||||||
< < | 1) HepMC.patch | |||||||
> > | As of 2012, there should only be one fix needed, and this is to handle the normalisation needed to combine the individual npX alpgen samples. If your rivet analysis does any kind of normalisation to cross section or number of events, you have to change this. I generally just turn it off and sort out the normalisation later. | |||||||
Changed: | ||||||||
< < | 2) rivet.patch | |||||||
> > | This can be done eg with this patch rivet.patch | |||||||
Deleted: | ||||||||
< < | These fix a crash when the last event is empty, and save the analysis normalisations to allow combination of algen samples. Agile has now been fixed to allow PYTUNE calls, so no need to patch that any more! | |||||||
Install the generatorsGet the rivet genser script: | ||||||||
Line: 47 to 46 | ||||||||
and set AGILE_GEN_PATH=`pwd`/genser | ||||||||
Changed: | ||||||||
< < | Now some more patches: | |||||||
> > | The main thing you need to check is that NMAXHEP is the same in agile and algpen. It can happen that agile defaults to 10000, but alpgen has 4000 hard-coded. You can just grep for 4000 to catch all instances, or this patch should work. It also fixes some other things, like automation of file names etc rather than having to type them in whenever you run. | |||||||
Changed: | ||||||||
< < | 1) alpgen.patch | |||||||
> > | alpgen.patch | |||||||
Changed: | ||||||||
< < | 2) pythia.patch to automate the alpgen matching stuff, and to allow the latest tunes in pytune. Remake the packages after patching... | |||||||
> > | Remake the packages after patching... | |||||||
Running |
Line: 1 to 1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Running Professor on Alpgen | |||||||||||||
Line: 14 to 14 | |||||||||||||
./rivet-bootstrap | |||||||||||||
Changed: | |||||||||||||
< < | Now, probably need to install gsl and a recent python: | ||||||||||||
> > | It probably won't work. Now, install gsl and a recent python: | ||||||||||||
Changed: | |||||||||||||
< < | ftp://ftp.gnu.org/gnu/gsl/ http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz | ||||||||||||
> > | ftp://ftp.gnu.org/gnu/gsl/ http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz | ||||||||||||
Download to the rivet "downoads" directory, unpack to the build directory. Configure with: | |||||||||||||
Changed: | |||||||||||||
< < | ./configure --prefix=`pwd`/../local --exec-prefix=`pwd`/../local | ||||||||||||
> > | ./configure --prefix=`pwd`/../../local --exec-prefix=`pwd`/../../local make make install | ||||||||||||
Changed: | |||||||||||||
< < | make | ||||||||||||
> > | Hack | ||||||||||||
Changed: | |||||||||||||
< < | make install | ||||||||||||
> > | export PATH=`pwd`/local/bin/:$PATH export LD_LIBRARY_PATH=`pwd`/local/lib ./rivet-bootstrap --install-boost ./rivet-bootstrap --install-agile | ||||||||||||
Then apply some patches: | |||||||||||||
Changed: | |||||||||||||
< < | patch -i XXX.patch | ||||||||||||
> > | patch -p0 -i XXX.patch | ||||||||||||
1) HepMC.patch | |||||||||||||
Changed: | |||||||||||||
< < | 2) | ||||||||||||
> > | 2) rivet.patch
These fix a crash when the last event is empty, and save the analysis normalisations to allow combination of algen samples. Agile has now been fixed to allow PYTUNE calls, so no need to patch that any more!
Install the generatorsGet the rivet genser script: http://svn.hepforge.org/agile/genser/agile-genser-bootstrap![]() RunningThat should be it. Assuming you have some unweighted alpgen events ready for the matching step, it should then be easy: export PATH=`pwd`/local/bin/:$PATH export LD_LIBRARY_PATH=`pwd`/local/lib export AGILE_GEN_PATH=`pwd`/genser | ||||||||||||
Changed: | |||||||||||||
< < | ./rivet-bootstrap --install-boost | ||||||||||||
> > | agile-runmc AlpGenPythia6:423:2.1.3d --beams=TVT:1960 -n 100 -P params.txt -o hepmc.fifo > agile.log & rivet --analysis=D0_2010_S8671338 --analysis=D0_2009_S8349509 --analysis=D0_2008_S7863608 --analysis=CDF_2008_NOTE_9351 hepmc.fif o TODO | ||||||||||||
Changed: | |||||||||||||
< < | ./rivet-bootstrap --install-agile | ||||||||||||
> > | Correct scale alteration in pythia - ktfac**2? | ||||||||||||
-- GavinHesketh - 2010-12-31 | |||||||||||||
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Running Professor on AlpgenPart 1: running alpgen with agile & rivetFirst, some setups. Grab the rivet bootstrap script: http://projects.hepforge.org/rivet/trac/wiki/GettingStarted cd /scratch/rivet/wget http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap ![]() chmod +x rivet-bootstrap Then: ./rivet-bootstrap Now, probably need to install gsl and a recent python: ftp://ftp.gnu.org/gnu/gsl/ http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz Download to the rivet "downoads" directory, unpack to the build directory. Configure with: ./configure --prefix=`pwd`/../local --exec-prefix=`pwd`/../local make make install Then apply some patches: patch -i XXX.patch 1) HepMC.patch 2) ./rivet-bootstrap --install-boost ./rivet-bootstrap --install-agile -- GavinHesketh - 2010-12-31
|