|
[Rivet] swig version not compatible for rivet installationAndy Buckley andy.buckley at cern.chSun Jun 30 19:29:34 BST 2013
Sure: you don't need to rebuild the Rivet library to use new analyses. You use the rivet-buildplugin script to compile the analysis code into a plugin library and then use the RIVET_ANALYSIS_PATH environment variable to get Rivet to find it at runtime. There's information on the Rivet web pages and in the tutorials at http://rivet.hepforge.org Hope that helps, Andy On 30/06/13 18:17, Ulla Blumenschein wrote: > Hello Andy, > > Many thanks for the feedback! > We would like to add two new analyses. Is it possible to test them with > the prebuild installation? > > Cheers, > Ulla > > On Sun, Jun 30, 2013 at 12:41 PM, Andy Buckley <andy.buckley at cern.ch > <mailto:andy.buckley at cern.ch>> wrote: > > On 30/06/13 11:11, Ulla Blumenschein wrote: > > Dear all, > > > > I am > > using > /afs/cern.ch/atlas/software/releases/17.2.8/gcc-alt-436/x86_64-slc5-gcc43-opt/bin/gcc > <http://cern.ch/atlas/software/releases/17.2.8/gcc-alt-436/x86_64-slc5-gcc43-opt/bin/gcc> > > > <http://cern.ch/atlas/software/releases/17.2.8/gcc-alt-436/x86_64-slc5-gcc43-opt/bin/gcc> > > and my PATH > > contains > /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt > <http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt> > > <http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt> at > > the beginning > > > > When I install Rivet I get the message: > > checking if > > > /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig > <http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig> > > > <http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig> > > is compatible with the g++ compiler... no > > configure: error: Can't build Python extension since > > > /afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig > <http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig> > > > <http://cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig> > > is not compatible with g++. Get a newer SWIG version! > > Hi Ulla, > > The Rivet 1.x build system tries to get SWIG to make a Python interface > for a very simple C++ test program, then reports whether or not it was > successful. For some reason it is not being successful with your setup, > but this may be an issue with your environment's compiler setup rather > than SWIG specifically. Can you look in config.log to find the place > where the failure occurs, and post that bit so we have a bit more > information? > > Since you obviously have AFS access, is there a reason not to use the > pre-built Rivet installations from > /afs/cern.ch/sw/lcg/external/MCGenerators_lcgcmt* > <http://cern.ch/sw/lcg/external/MCGenerators_lcgcmt*>? > > Andy > > -- > Dr Andy Buckley, Royal Society University Research Fellow > Particle Physics Expt Group, University of Edinburgh / PH Dept, CERN > > > > > -- > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > Ulla Blumenschein > II Physik, Uni Goettingen > Friedrich-Hund-Platz 1, D01.110 > phone: 0049-551-397645 > /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ -- Dr Andy Buckley, Royal Society University Research Fellow Particle Physics Expt Group, University of Edinburgh / PH Dept, CERN
More information about the Rivet mailing list |