|
[Rivet] Problem with Rivet installed on CVMFSAndy Buckley andy.buckley at cern.chThu Nov 27 13:07:11 GMT 2014
Re-sending with the Rivet list re-added to CC. Please remember to reply-all... On 27/11/14 13:06, Andy Buckley wrote: > Hi Simon, > > I had to use Google Translate to decode the French compiler messages! > This part: > > /atlas/berlendis/Programme/Qualif/local/include/boost/algorithm/string/trim.hpp:20:47: > erreur: boost/range/iterator_range_core.hpp : Aucun fichier ou dossier > de ce type > > seems to be the first error and indicates that this > boost/range/iterator_range_core.hpp header is not present in the -I > include paths that rivet-buildplugin is using (see the big g++ command > immediately printed out at the start of this message). Can you check > that your local Boost version is sufficient and contains this file? If > it is not, you will need to add a -I/path/to/better/boost/include to the > rivet-buildplugin argument list. > > Andy > > > On 27/11/14 09:05, Simon Berlendis wrote: >> Hi, >> >> Thanx for the fast answer ! >> >> Here is the error when I use buildplugin : >> / >> berlendis at lpsc-emi3-ui:~/Programme/SherpaWjets$ rivet-buildplugin >> ATLAS_WJETS2011.cc >> Using default library name 'RivetAnalysis.so' >> /usr/bin/g++ -o "RivetAnalysis.so" -shared -fPIC >> -I/atlas/berlendis/Programme/Qualif/local/include >> -I/atlas/berlendis/Programme/Qualif/local/include >> -I/atlas/berlendis/Programme/Qualif/local/include >> -I/atlas/berlendis/Programme/Qualif/local/include >> -I/atlas/berlendis/Programme/Qualif/local/include >> -I/atlas/berlendis/Programme/Qualif/local/include -pedantic -ansi -Wall >> -Wno-long-long -Wno-format -Werror=uninitialized -O2 -Wl,--no-as-needed >> -L/atlas/berlendis/Programme/Qualif/local/lib >> -L/atlas/berlendis/Programme/Qualif/local/lib >> -L/atlas/berlendis/Programme/Qualif/local/lib >> -Wl,-rpath,/atlas/berlendis/Programme/Qualif/local/lib -lm >> -L/atlas/berlendis/Programme/Qualif/local/lib -lfastjettools -lfastjet >> -lfastjetplugins -lsiscone_spherical -lsiscone ATLAS_WJETS2011.cc -lRivet >> Dans le fichier inclus à partir de >> /atlas/berlendis/Programme/Qualif/local/include/boost/algorithm/string.hpp:19, >> à partir de >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Tools/RivetBoost.hh:8, >> à partir de >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Config/RivetCommon.hh:23, >> à partir de >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Analysis.hh:5, >> à partir de ATLAS_WJETS2011.cc:1: >> /atlas/berlendis/Programme/Qualif/local/include/boost/algorithm/string/trim.hpp:20:47: >> erreur: boost/range/iterator_range_core.hpp : Aucun fichier ou dossier >> de ce type >> Dans le fichier inclus à partir de >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Tools/RivetBoost.hh:12, >> à partir de >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Config/RivetCommon.hh:23, >> à partir de >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Analysis.hh:5, >> à partir de ATLAS_WJETS2011.cc:1: >> /atlas/berlendis/Programme/Qualif/local/include/boost/foreach.hpp:83:53: >> erreur: boost/type_traits/is_rvalue_reference.hpp : Aucun fichier ou >> dossier de ce type >> ATLAS_WJETS2011.cc: In member function ‘virtual void >> Rivet::ATLAS_WJETS2011::init()’: >> ATLAS_WJETS2011.cc:119: erreur: no matching function for call to >> ‘Rivet::IdentifiedFinalState::IdentifiedFinalState(std::vector<std::pair<double, >> double>, std::allocator<std::pair<double, double> > >&, double)’ >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/IdentifiedFinalState.hh:21: >> note: candidats sont: >> Rivet::IdentifiedFinalState::IdentifiedFinalState(double, double, double) >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/IdentifiedFinalState.hh:18: >> note: >> Rivet::IdentifiedFinalState::IdentifiedFinalState(const Rivet::FinalState&) >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/IdentifiedFinalState.hh:11: >> note: >> Rivet::IdentifiedFinalState::IdentifiedFinalState(const >> Rivet::IdentifiedFinalState&) >> ATLAS_WJETS2011.cc:126: erreur: no matching function for call to >> ‘Rivet::DressedLeptons::DressedLeptons(Rivet::FinalState&, >> Rivet::IdentifiedFinalState&, double, bool, >> std::vector<std::pair<double, double>, std::allocator<std::pair<double, >> double> > >&, double)’ >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/DressedLeptons.hh:55: >> note: candidats sont: Rivet::DressedLeptons::DressedLeptons(const >> Rivet::FinalState&, const Rivet::FinalState&, double, bool, Rivet::Cut, >> bool) >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/DressedLeptons.hh:49: >> note: Rivet::DressedLeptons::DressedLeptons(const >> Rivet::FinalState&, const Rivet::FinalState&, double, bool, double, >> double, double, bool) >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/DressedLeptons.hh:45: >> note: Rivet::DressedLeptons::DressedLeptons(const >> Rivet::DressedLeptons&) >> ATLAS_WJETS2011.cc:132: erreur: no matching function for call to >> ‘Rivet::IdentifiedFinalState::IdentifiedFinalState(std::vector<std::pair<double, >> double>, std::allocator<std::pair<double, double> > >&, double)’ >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/IdentifiedFinalState.hh:21: >> note: candidats sont: >> Rivet::IdentifiedFinalState::IdentifiedFinalState(double, double, double) >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/IdentifiedFinalState.hh:18: >> note: >> Rivet::IdentifiedFinalState::IdentifiedFinalState(const Rivet::FinalState&) >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/IdentifiedFinalState.hh:11: >> note: >> Rivet::IdentifiedFinalState::IdentifiedFinalState(const >> Rivet::IdentifiedFinalState&) >> ATLAS_WJETS2011.cc:139: erreur: no matching function for call to >> ‘Rivet::DressedLeptons::DressedLeptons(Rivet::FinalState&, >> Rivet::IdentifiedFinalState&, double, bool, >> std::vector<std::pair<double, double>, std::allocator<std::pair<double, >> double> > >&, double)’ >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/DressedLeptons.hh:55: >> note: candidats sont: Rivet::DressedLeptons::DressedLeptons(const >> Rivet::FinalState&, const Rivet::FinalState&, double, bool, Rivet::Cut, >> bool) >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/DressedLeptons.hh:49: >> note: Rivet::DressedLeptons::DressedLeptons(const >> Rivet::FinalState&, const Rivet::FinalState&, double, bool, double, >> double, double, bool) >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Projections/DressedLeptons.hh:45: >> note: Rivet::DressedLeptons::DressedLeptons(const >> Rivet::DressedLeptons&) >> /atlas/berlendis/Programme/Qualif/local/include/YODA/Utils/MathUtils.h: >> At global scope: >> /atlas/berlendis/Programme/Qualif/local/include/YODA/Utils/MathUtils.h:30: >> attention : ‘YODA::MAXDOUBLE’ defined but not used >> /atlas/berlendis/Programme/Qualif/local/include/YODA/Utils/MathUtils.h:31: >> attention : ‘YODA::MAXINT’ defined but not used >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Math/MathHeader.hh:45: >> attention : ‘Rivet::MAXINT’ defined but not used >> /atlas/berlendis/Programme/Qualif/local/include/Rivet/Math/Constants.hh:42: >> attention : ‘Rivet::electron_charge’ defined but not used/ >> >> Well, if it is too complicated to fix this problem, I think I will >> continue to use lxplus despite the fact It would really facilitate me... >> >> Thanx again ! >> >> Cheers, >> >> Simon >> >> 2014-11-26 11:03 GMT+01:00 Andy Buckley <andy.buckley at cern.ch >> <mailto:andy.buckley at cern.ch>>: >> >> Hi Simon, >> >> It's hard to know what is wrong without an error message, but I suspect >> that the problem with rivet-buildplugin is that it references AFS paths >> detected during the build. We don't make the CVMFS installation and have >> complained many times that the way it is installed breaks paths. >> >> The workaround is to either make a local copy of the script and to fix >> the paths in it, or to copy the g++ command line which it prints out, >> and fix that: rivet-buildplugin is just a very thin wrapper for passing >> the right options to the compiler. >> >> For rivet-mkhtml I don't know what the problem is. Again, if you can >> provide an error message we can try to help properly ;-) >> >> Andy >> >> >> On 26/11/14 09:57, Simon Berlendis wrote: >> > Hi, >> > >> > I'm trying to use Rivet on the local server of my institute where >> cvmfs >> > is installed. But Rivet doesn't seem to work. >> > >> > The installation looks fine : no error message. But when I use >> > rivet-buildplugin or rivet-mkhtml, the message errors appears. >> > >> > The thing is that, I did install Rivet on afs. And there, >> everything is >> > working. So I think that the problem come from the installation on >> cvmfs. >> > >> > Do you have an idea where the problem comes from ? Is there >> anything to >> > do when I Install rivet on cvmfs ? >> > >> > Cheers , >> > >> > Simon >> > >> > >> > _______________________________________________ >> > Rivet mailing list >> > Rivet at projects.hepforge.org <mailto:Rivet at projects.hepforge.org> >> > https://www.hepforge.org/lists/listinfo/rivet >> > >> >> >> -- >> Dr Andy Buckley, Royal Society University Research Fellow >> Particle Physics Expt Group, University of Glasgow / PH Dept, CERN >> >> > > -- Dr Andy Buckley, Royal Society University Research Fellow Particle Physics Expt Group, University of Glasgow / PH Dept, CERN
More information about the Rivet mailing list |