|
[Rivet] poblems installing rivet on macHannes Jung hannes.jung at cern.chTue Feb 22 11:20:18 GMT 2011
Dear Hendrik thanks a lot for your reply. I guess it was just the way how to define the AGILE_GEN_PATH which I was missing. Following your instructions lead to: ------- ~/jung/cvs/rivet/tmp> export AGILE_GEN_PATH=/Users/jung/jung/cvs/rivet/gensertest ~/jung/cvs/rivet/tmp> agile-runmc --list-gens Pythia6:424 ~/jung/cvs/rivet/tmp> agile-runmc Pythia6:424 -P lhc7000.params -n 10 -o events.hepmc Generating 10 events Generator is Pythia6:424 terminate called after throwing an instance of 'std::bad_cast' what(): std::bad_cast zsh: abort agile-runmc Pythia6:424 -P lhc7000.params -n 10 -o events.hepmc ~/jung/cvs/rivet/tmp> ------- at least the generator is found.... now I have to find, why pythia is not working, but that is a different issue. Thanks a lot cheers Hannes On 22.02.2011, at 10:49, Hendrik Hoeth wrote: > Hi Hannes, > > Thus spake Hannes Jung (hannes.jung at cern.ch): > >> But, when I have MC generators installed via genser, how do I tell >> agile to use them ? Just setting the variable $AGILE_GEN_PATH does >> not really work, since there is not a common lib for all the >> generators... > > Well, setting AGILE_GEN_PATH certainly works for me. > >> I looked how it is on lxplus, where it is linked to genser, and there >> these variable is not set (at least not on my machine, altough agile >> works.) > > This phenomenon is called "default search path" I think. > > Let's do a brief test: > > mkdir /tmp/gensertest > cd /tmp/gensertest > wget http://service-spi.web.cern.ch/service-spi/external/MCGenerators/distribution/pythia6-424.2-src.tgz > tar -xzf pythia6-424.2-src.tgz > cd pythia6/424.2 > ./configure --prefix=$PWD --enable-shared > make > make install # ignore error saying pyt_str_s.inc and /tmp/gensertest/pythia6/424.2/include/pyt_str_s.inc are identical > export AGILE_GEN_PATH=/tmp/gensertest > cd /tmp > agile-runmc Pythia6:424 -P lhc7000.params -n 10 -o events.hepmc > > Does this work? If yes: Congratulations. If not: What's the error? > >> And another thing... some time ago CASCADE was include into >> rivet/agile (I think), but when I look on the available generators on >> lxplus, it is not there, although it is in genser.... i there anything >> special one has to do to include it again ? > > Not sure what you mean with "include it again". Agile should support > Cascade. If it's not installed in Genser, talk to the Genser people. > > Cheers, > > Hendrik > > -- > It pays to be obvious, especially if you have > a reputation for subtlety. -- Isaac Asimov *********************************************************************** Hannes Jung Email: Hannes.Jung at cern.ch mobile :+49 40 8998 93741 http://www.desy.de/~jung Tel: +49 (0) 40 8998 3741 (DESY) Tel: +41 22 76 71691 (CERN) CERN - PH 40-3 B11 CH-1211 Genève 23 Switzerland ***********************************************************************
More information about the Rivet mailing list |