[Rivet] Problem with Rivet installed on CVMFS

Simon Berlendis simon.berlendis at gmail.com
Fri Nov 28 12:35:21 GMT 2014


Hi Andy,

 First, sorry for the french error message. I didn't realize it that it was
in french ...

 As you said, the boost_1_56_0 folder was empty (don't know why...). I
reinstalled it.
 Now this message error disappear. But the the others are still there.

 There you can find the (english) error messages :






























































* berlendis at lpsc-emi3-ui:~/Programme/Rivet$ rivet-buildplugin
ATLAS_WJETS2011.cc Using default library name
'RivetAnalysis.so'/cvmfs/atlas.cern.ch/repo/sw/software/x86_64-slc6-gcc47-opt/19.2.1/AtlasSite/gcc-links/x86_64-slc6-gcc47-opt/bin/g++
<http://atlas.cern.ch/repo/sw/software/x86_64-slc6-gcc47-opt/19.2.1/AtlasSite/gcc-links/x86_64-slc6-gcc47-opt/bin/g++>
-o "RivetAnalysis.so" -shared -fPIC
-I/atlas/berlendis/Programme/Rivet/local/include
-I/atlas/berlendis/Programme/Rivet/local/include
-I/atlas/berlendis/Programme/Rivet/local/include
-I/atlas/berlendis/Programme/Rivet/local/include
-I/atlas/berlendis/Programme/Rivet/local/include
-I/atlas/berlendis/Programme/Rivet/local/include -pedantic -ansi -Wall
-Wno-long-long -Wno-format -Werror=uninitialized
-Werror=delete-non-virtual-dtor -O2 -Wl,--no-as-needed
-L/atlas/berlendis/Programme/Rivet/local/lib
-L/atlas/berlendis/Programme/Rivet/local/lib
-L/atlas/berlendis/Programme/Rivet/local/lib
-Wl,-rpath,/atlas/berlendis/Programme/Rivet/local/lib -lm
-L/atlas/berlendis/Programme/Rivet/local/lib -lfastjettools -lfastjet
-lfastjetplugins -lsiscone_spherical -lsiscone ATLAS_WJETS2011.cc
-lRivetATLAS_WJETS2011.cc: In member function 'virtual void
Rivet::ATLAS_WJETS2011::init()':ATLAS_WJETS2011.cc:119:47: error: no
matching function for call to
'Rivet::IdentifiedFinalState::IdentifiedFinalState(std::vector<std::pair<double,
double> >&, double)'ATLAS_WJETS2011.cc:119:47: note: candidates are:In file
included from
ATLAS_WJETS2011.cc:5:0:/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:21:5:
note: Rivet::IdentifiedFinalState::IdentifiedFinalState(double, double,
double)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:21:5:
note:   no known conversion for argument 1 from
'std::vector<std::pair<double, double> >' to
'double'/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:18:5:
note: Rivet::IdentifiedFinalState::IdentifiedFinalState(const
Rivet::FinalState&)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:18:5:
note:   candidate expects 1 argument, 2
provided/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:11:9:
note: Rivet::IdentifiedFinalState::IdentifiedFinalState(const
Rivet::IdentifiedFinalState&)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:11:9:
note:   candidate expects 1 argument, 2 providedATLAS_WJETS2011.cc:126:74:
error: no matching function for call to
'Rivet::DressedLeptons::DressedLeptons(Rivet::FinalState&,
Rivet::IdentifiedFinalState&, double, bool, std::vector<std::pair<double,
double> >&, double)'ATLAS_WJETS2011.cc:126:74: note: candidates are:In file
included from
ATLAS_WJETS2011.cc:9:0:/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:55:5:
note: Rivet::DressedLeptons::DressedLeptons(const Rivet::FinalState&, const
Rivet::FinalState&, double, bool, Rivet::Cut,
bool)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:55:5:
note:   no known conversion for argument 5 from
'std::vector<std::pair<double, double> >' to 'Rivet::Cut {aka
boost::shared_ptr<Rivet::CutBase>}'/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:49:5:
note: Rivet::DressedLeptons::DressedLeptons(const Rivet::FinalState&, const
Rivet::FinalState&, double, bool, double, double, double,
bool)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:49:5:
note:   candidate expects 8 arguments, 6
provided/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:45:9:
note: Rivet::DressedLeptons::DressedLeptons(const
Rivet::DressedLeptons&)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:45:9:
note:   candidate expects 1 argument, 6 providedATLAS_WJETS2011.cc:132:47:
error: no matching function for call to
'Rivet::IdentifiedFinalState::IdentifiedFinalState(std::vector<std::pair<double,
double> >&, double)'ATLAS_WJETS2011.cc:132:47: note: candidates are:In file
included from
ATLAS_WJETS2011.cc:5:0:/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:21:5:
note: Rivet::IdentifiedFinalState::IdentifiedFinalState(double, double,
double)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:21:5:
note:   no known conversion for argument 1 from
'std::vector<std::pair<double, double> >' to
'double'/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:18:5:
note: Rivet::IdentifiedFinalState::IdentifiedFinalState(const
Rivet::FinalState&)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:18:5:
note:   candidate expects 1 argument, 2
provided/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:11:9:
note: Rivet::IdentifiedFinalState::IdentifiedFinalState(const
Rivet::IdentifiedFinalState&)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/IdentifiedFinalState.hh:11:9:
note:   candidate expects 1 argument, 2 providedATLAS_WJETS2011.cc:139:70:
error: no matching function for call to
'Rivet::DressedLeptons::DressedLeptons(Rivet::FinalState&,
Rivet::IdentifiedFinalState&, double, bool, std::vector<std::pair<double,
double> >&, double)'ATLAS_WJETS2011.cc:139:70: note: candidates are:In file
included from
ATLAS_WJETS2011.cc:9:0:/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:55:5:
note: Rivet::DressedLeptons::DressedLeptons(const Rivet::FinalState&, const
Rivet::FinalState&, double, bool, Rivet::Cut,
bool)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:55:5:
note:   no known conversion for argument 5 from
'std::vector<std::pair<double, double> >' to 'Rivet::Cut {aka
boost::shared_ptr<Rivet::CutBase>}'/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:49:5:
note: Rivet::DressedLeptons::DressedLeptons(const Rivet::FinalState&, const
Rivet::FinalState&, double, bool, double, double, double,
bool)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:49:5:
note:   candidate expects 8 arguments, 6
provided/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:45:9:
note: Rivet::DressedLeptons::DressedLeptons(const
Rivet::DressedLeptons&)/atlas/berlendis/Programme/Rivet/local/include/Rivet/Projections/DressedLeptons.hh:45:9:
note:   candidate expects 1 argument, 6 providedIn file included from
/atlas/berlendis/Programme/Rivet/local/include/YODA/Dbn0D.h:10:0,
from
/atlas/berlendis/Programme/Rivet/local/include/YODA/Counter.h:10,
from
/atlas/berlendis/Programme/Rivet/local/include/YODA/Writer.h:10,
from
/atlas/berlendis/Programme/Rivet/local/include/YODA/WriterYODA.h:10,
from
/atlas/berlendis/Programme/Rivet/local/include/Rivet/Tools/RivetYODA.hh:13,
from
/atlas/berlendis/Programme/Rivet/local/include/Rivet/Analysis.hh:12,
from
ATLAS_WJETS2011.cc:1:/atlas/berlendis/Programme/Rivet/local/include/YODA/Utils/MathUtils.h:
At global
scope:/atlas/berlendis/Programme/Rivet/local/include/YODA/Utils/MathUtils.h:30:16:
warning: 'YODA::MAXDOUBLE' defined but not used
[-Wunused-variable]/atlas/berlendis/Programme/Rivet/local/include/YODA/Utils/MathUtils.h:31:16:
warning: 'YODA::MAXINT' defined but not used [-Wunused-variable]In file
included from
/atlas/berlendis/Programme/Rivet/local/include/Rivet/Math/MathUtils.hh:5:0,
from
/atlas/berlendis/Programme/Rivet/local/include/Rivet/Math/Math.hh:5,
from
/atlas/berlendis/Programme/Rivet/local/include/Rivet/Tools/Utils.hh:5,
from
/atlas/berlendis/Programme/Rivet/local/include/Rivet/Config/RivetCommon.hh:26,
from
/atlas/berlendis/Programme/Rivet/local/include/Rivet/Analysis.hh:5,
from
ATLAS_WJETS2011.cc:1:/atlas/berlendis/Programme/Rivet/local/include/Rivet/Math/MathHeader.hh:45:16:
warning: 'Rivet::MAXINT' defined but not used [-Wunused-variable]In file
included from
/atlas/berlendis/Programme/Rivet/local/include/Rivet/Config/RivetCommon.hh:35:0,
from
/atlas/berlendis/Programme/Rivet/local/include/Rivet/Analysis.hh:5,
from
ATLAS_WJETS2011.cc:1:/atlas/berlendis/Programme/Rivet/local/include/Rivet/Math/Constants.hh:42:23:
warning: 'Rivet::electron_charge' defined but not used [-Wunused-variable]*
 Thank you so much for your help !


* Cheers*


* Simon*


2014-11-27 14:07 GMT+01:00 Andy Buckley <andy.buckley at cern.ch>:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20141128/b10e2e67/attachment.html>


More information about the Rivet mailing list