|
[Rivet] [Herwig] Fwd: probelm in fastjet(Rivet) while installing herwigRICHARDSON, PETER peter.richardson at durham.ac.ukThu Mar 23 14:09:54 GMT 2017
Dear Prabhdeep, Those warns are standard and should be all right Best wishes Peter ________________________________ From: Dr. Prabhdeep Kaur [prabhdevgun at gmail.com] Sent: 21 March 2017 11:48 To: RICHARDSON, PETER Cc: herwig at projects.hepforge.org; rivet at projects.hepforge.org Subject: Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig Dear Peter, Thanks, I actually have two copies of lhapdf, i forgot to mention it, and in the config.thepeg I have : /home/prabhdeep/HerwigManIns/LHAPDF/bin/lhapdf-config i.e. the one I installed particularly for the Herwig and ThePEG (it was not accepting the other one which i have in /usr/local/share/). But I just installed the PDF set mentioned in the previous email to lhapdf in /usr/local/ and everything worked well. How it could be that ThePEG has /home/prabhdeep/HerwigManIns/LHAPDF/bin/lhapdf-config, while Herwig has /usr/local/share/LHAPDF. Is it okay or shall I keep single LHAPDF, and retry doing all installations? Another thing is which I run make check, for LEP it runs without any warning, but for LHC its copied below, it looks like some warning msg. # check-LHC OK ./Herwig read -i . LHC-RPV.in -D SusyBase::findValue() Parameter m_H1^2 = 21 not found in BLOCK MSOFT SusyBase::findValue() Parameter m_H2^2 = 22 not found in BLOCK MSOFT SusyBase::resetRepositoryMasses() Resetting mass of W+ using SLHA file, this can affect parts of the Standard Model simulation and is strongly discouraged. ./Herwig run LHC-RPV.run -N500 -d1 -D event> 500 500 Is it okay or it is a serious issue? Thanks very much for all your help! Best Regards, Prabhdeep On Tue, Mar 21, 2017 at 2:14 PM, RICHARDSON, PETER <peter.richardson at durham.ac.uk<mailto:peter.richardson at durham.ac.uk>> wrote: Hi Prabhdeep, Do you have more than one copy of lhapdf ? Can you check in the config.thepeg file in ThePEG source where its getting lhapdf form. Peter ________________________________ From: Dr. Prabhdeep Kaur [prabhdevgun at gmail.com<mailto:prabhdevgun at gmail.com>] Sent: 21 March 2017 08:36 To: RICHARDSON, PETER Cc: herwig at projects.hepforge.org<mailto:herwig at projects.hepforge.org>; rivet at projects.hepforge.org<mailto:rivet at projects.hepforge.org> Subject: Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig Dear Peter, Thanks for the code, now make command works fine. But when I do make check I get following error: make[4]: Entering directory '/home/prabhdeep/HerwigManIns/Herwig-7.0.4/src' ./Herwig init -L../lib defaults/HerwigDefaults.in -D Error: 'set /Herwig/Partons/HardLOPDF:PDFName MMHT2014lo68cl': PDF not installed. Try 'lhapdf install'. Makefile:1135: recipe for target 'HerwigDefaults.rpo' failed and if I do make install then again I get: make install-data-hook make[5]: Entering directory '/home/prabhdeep/HerwigManIns/Herwig-7.0.4/src' Creating repository Error: 'set /Herwig/Partons/HardLOPDF:PDFName MMHT2014lo68cl': PDF not installed. Try 'lhapdf install'. Makefile:1194: recipe for target 'install-data-hook' failed make[5]: *** [install-data-hook] Error 1 make[5]: Leaving directory '/home/prabhdeep/HerwigManIns/Herwig-7.0.4/src' Makefile:1054: recipe for target 'install-data-am' failed make[4]: *** [install-data-am] Error 2 make[4]: Leaving directory '/home/prabhdeep/HerwigManIns/Herwig-7.0.4/src' Makefile:1004: recipe for target 'install-am' failed make[3]: *** [install-am] Error 2 make[3]: Leaving directory '/home/prabhdeep/HerwigManIns/Herwig-7.0.4/src' Makefile:840: recipe for target 'install-recursive' failed make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory '/home/prabhdeep/HerwigManIns/Herwig-7.0.4/src' Makefile:998: recipe for target 'install' failed make[1]: *** [install] Error 2 I installed the required pdf which iand it is present at: ~/HerwigManIns/LHAPDF/share/LHAPDF/ But still I get the same error. Details about my configuring and installation directories are as following: I do configure in /home/prabhdeep/HerwigManIns/Herwig-7.0.4 with prefix as : ./configure --prefix=/home/prabhdeep/HerwigManIns/Herwig and run make check and make install command from /home/prabhdeep/HerwigManIns/Herwig-7.0.4 again. Where I could be doing mistake now? Thanks! Best Regards, Prabhdeep On Mon, Mar 20, 2017 at 10:14 PM, RICHARDSON, PETER <peter.richardson at durham.ac.uk<mailto:peter.richardson at durham.ac.uk>> wrote: Dear Prabhdeep, Sorry I forgot about that issue with gcc6 as it has proven impossible to come up with a solution that works for both gcc6 and earlier versions. All I can suggest is something like using sed to do a global replace in the Herwig++ source, although there may be some cases where you get std::std which will need to be editted by hand, you'll probably need to do the same for isinf as well for i in `find . -name "*.cc"`; do sed s"|isnan|std::isnan|g" -i $i; done Best Wishes Peter ________________________________ From: Dr. Prabhdeep Kaur [prabhdevgun at gmail.com<mailto:prabhdevgun at gmail.com>] Sent: 20 March 2017 14:55 To: RICHARDSON, PETER Cc: herwig at projects.hepforge.org<mailto:herwig at projects.hepforge.org>; rivet at projects.hepforge.org<mailto:rivet at projects.hepforge.org> Subject: Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig Dear Peter, I started configuring the latest HERWIG version, and I get following types of error: MEPP2VVPowheg.cc:5230:19: error: ‘isnan’ was not declared in this scope if(isnan(p56/GeV)||cth>1.||cth<-1.) return false; I manually changed isnan to std::isnan and isinf to std::isinf, the error goes for that particular case. But is there any solution so that it could just go with one command or so? Thanks very much! Best Regards, Prabhdeep On Mon, Mar 20, 2017 at 8:04 PM, Dr. Prabhdeep Kaur <prabhdevgun at gmail.com<mailto:prabhdevgun at gmail.com>> wrote: Dear Peter, Thanks very much! I have herwig 7.0.0, I will try installing the latest version tomorrow and will let you know. Best Regards, Prabhdeep On Mon, Mar 20, 2017 at 5:46 PM, RICHARDSON, PETER <peter.richardson at durham.ac.uk<mailto:peter.richardson at durham.ac.uk>> wrote: Dear Prabhdeep, I think I've finally found the cause of the problem, which is the presence of the ansi flag in the compiler flags for that bit of code. Can I check whether or not you are using the latest Herwig 7.0.4 or if its a version 7.0.2 or before as it should have been fixed in later versions of the 7.0 series Peter ________________________________ From: herwig-bounces at projects.hepforge.org<mailto:herwig-bounces at projects.hepforge.org> [herwig-bounces at projects.hepforge.org<mailto:herwig-bounces at projects.hepforge.org>] on behalf of RICHARDSON, PETER [peter.richardson at durham.ac.uk<mailto:peter.richardson at durham.ac.uk>] Sent: 20 March 2017 10:56 To: Dr. Prabhdeep Kaur Cc: herwig at projects.hepforge.org<mailto:herwig at projects.hepforge.org>; rivet at projects.hepforge.org<mailto:rivet at projects.hepforge.org> Subject: Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig Hi Prabhdeep, Can you at least check what the options used in the configure of fastjet were? They should be at the top of the config.log file in the fastjet source. Peter ________________________________ From: Dr. Prabhdeep Kaur [prabhdevgun at gmail.com<mailto:prabhdevgun at gmail.com>] Sent: 20 March 2017 10:53 To: RICHARDSON, PETER Cc: rivet at projects.hepforge.org<mailto:rivet at projects.hepforge.org>; herwig at projects.hepforge.org<mailto:herwig at projects.hepforge.org> Subject: Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig Hello Peter, Actually fastjet configured by default (by rivet) shall I try installing it separately? Thanks! Regards, Prabhdeep On Mon, Mar 20, 2017 at 4:15 PM, RICHARDSON, PETER <peter.richardson at durham.ac.uk<mailto:peter.richardson at durham.ac.uk>> wrote: Hi Prabhdeep, O.K. In that case you're getting at least C++11 by default. Can you try rebuilding fastjet with --disable-auto-ptr in the configure Peter ________________________________ From: Dr. Prabhdeep Kaur [prabhdevgun at gmail.com<mailto:prabhdevgun at gmail.com>] Sent: 20 March 2017 10:40 To: RICHARDSON, PETER Cc: rivet at projects.hepforge.org<mailto:rivet at projects.hepforge.org>; herwig at projects.hepforge.org<mailto:herwig at projects.hepforge.org> Subject: Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig Dear Peter, Please have a look: CC: gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1) CXX: g++ (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1) FC: GNU Fortran (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1) Thanks! Regards, Prabhdeep On Mon, Mar 20, 2017 at 4:05 PM, RICHARDSON, PETER <peter.richardson at durham.ac.uk<mailto:peter.richardson at durham.ac.uk>> wrote: Dear Prabhdeep, Which compiler and version are you using? Peter ________________________________ From: Dr. Prabhdeep Kaur [prabhdevgun at gmail.com<mailto:prabhdevgun at gmail.com>] Sent: 20 March 2017 09:55 To: RICHARDSON, PETER Cc: rivet at projects.hepforge.org<mailto:rivet at projects.hepforge.org>; herwig at projects.hepforge.org<mailto:herwig at projects.hepforge.org> Subject: Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig Hello Peter, I followed your instructions (that is configured The PEG and HERWIG using --enable -stdcxx11), but did not get any success. Then I tried the same for Rivet (and included software in boot-strap file for rivet), and again configured ThePEG and HERWIG with enabling stdcxx11) but still having the same problem, the lines are copied below: In file included from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/SharedPtr.hh:41:0, from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/PseudoJet.hh:42, from LEPFourJetsAnalysis.cc:21: /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/internal/deprecated.hh:41:42: error: expected unqualified-id before ‘[’ token #define FASTJET_DEPRECATED_MSG(message) [[deprecated(message)]] ^ /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/SharedPtr.hh:222:3: note: in expansion of macro ‘FASTJET_DEPRECATED_MSG’ FASTJET_DEPRECATED_MSG("Use SharedPtr<T>::get() instead") ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/PseudoJet.hh:42:0, from LEPFourJetsAnalysis.cc:21: /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/SharedPtr.hh:271:26: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11 inline operator bool() const{ ^~~~~ In file included from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/SharedPtr.hh:41:0, from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/PseudoJet.hh:42, from LEPJetAnalysis.cc:19: /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/internal/deprecated.hh:41:42: error: expected unqualified-id before ‘[’ token #define FASTJET_DEPRECATED_MSG(message) [[deprecated(message)]] ^ /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/SharedPtr.hh:222:3: note: in expansion of macro ‘FASTJET_DEPRECATED_MSG’ FASTJET_DEPRECATED_MSG("Use SharedPtr<T>::get() instead") ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/PseudoJet.hh:42:0, from LEPJetAnalysis.cc:19: /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/SharedPtr.hh:271:26: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11 inline operator bool() const{ ^~~~~ In file included from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/SharedPtr.hh:41:0, from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/PseudoJet.hh:42, from LEPFourJetsAnalysis.cc:21: /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/internal/deprecated.hh:41:42: error: expected unqualified-id before ‘[’ token #define FASTJET_DEPRECATED_MSG(message) [[deprecated(message)]] ^ /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/JetDefinition.hh:365:3: note: in expansion of macro ‘FASTJET_DEPRECATED_MSG’ FASTJET_DEPRECATED_MSG("This argument ordering is deprecated. Use JetDefinition(alg, R, strategy, scheme[, n_parameters]) instead") Could you please have a look into it and guide me accordingly? Thanks very much! Best Regards, Prabhdeep On Mon, Mar 20, 2017 at 1:11 PM, RICHARDSON, PETER <peter.richardson at durham.ac.uk<mailto:peter.richardson at durham.ac.uk>> wrote: Hi Prabhdeep, In that case can you try configuring Herwig and ThePEG with the --enable-stdcxx11 option as I think that fastjet is using C++11 features which is the cause of your compilation error. Best Wishes Peter ________________________________ From: Dr. Prabhdeep Kaur [prabhdevgun at gmail.com<mailto:prabhdevgun at gmail.com>] Sent: 20 March 2017 05:46 To: RICHARDSON, PETER Cc: rivet at projects.hepforge.org<mailto:rivet at projects.hepforge.org>; herwig at projects.hepforge.org<mailto:herwig at projects.hepforge.org> Subject: Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig Dear Peter, Thanks for your email, sorry I could not reply earlier due to week-end engagements. I am using Rivet version 2.5.3, and fastjet 3.2.0, on fedora. I am copying some more lines which I got by using grep command for "std=c++" and got following options for fastjet and Rivet: fastjet-3.2.0/libtool:6992: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) fastjet-3.2.0/plugins/SISCone/siscone/libtool:6992: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" - library=stlport4 "*) fastjet-3.2.0/plugins/SISCone/siscone/ltmain.sh:6480: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) fastjet-3.2.0/ltmain.sh:6480: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) Rivet-2.5.3/m4/ax_cxx_compile_stdcxx.m4:18:# -std=c++11). If neither is specified, you get whatever works, with Rivet-2.5.3/m4/ax_cxx_compile_stdcxx.m4:96: dnl HP's aCC needs +std=c++11 according to: Rivet-2.5.3/m4/ax_cxx_compile_stdcxx.m4:98: dnl Cray's crayCC needs "-h std=c++11" Rivet-2.5.3/m4/ax_cxx_compile_stdcxx.m4:99: for switch in -std=c++$1 -std=c++0x +std=c++$1 "-h std=c++$1"; do Rivet-2.5.3/configure:5561: for switch in -std=c++11 -std=c++0x +std=c++11 "-h std=c++11"; do Rivet-2.5.3/ChangeLog:1869: * Add -std=c++11 or -std=c++0x to the Rivet compiler flags if supported. and this I got for Herwig directory: m4/ax_cxx_compile_stdcxx_11.m4:16:# -std=c++11). If neither is specified, you get whatever works, with m4/ax_cxx_compile_stdcxx_11.m4:99: for switch in -std=c++11 -std=c++0x; do Config/ltmain.sh:6480: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) configure:4991: for switch in -std=c++11 -std=c++0x; do Contrib/HJets++/config/ltmain.sh:6480: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) libtool:6992: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) Thanks very much! Best Regards, Prabhdeep On Fri, Mar 17, 2017 at 8:07 PM, RICHARDSON, PETER <peter.richardson at durham.ac.uk<mailto:peter.richardson at durham.ac.uk>> wrote: Dear Prabhdeep, The rivet people forwarded your email to us as it looks like it may well be a Herwig issue rather than one with rivet. Could you tells us which versions of fastjet and rivet you are using as it looks likely that your issue may well be that some of the packages already require C++11 and some don't. Thanks Peter ________________________________ From: herwig-bounces at projects.hepforge.org<mailto:herwig-bounces at projects.hepforge.org> [herwig-bounces at projects.hepforge.org<mailto:herwig-bounces at projects.hepforge.org>] on behalf of Holger Schulz [holger.schulz at durham.ac.uk<mailto:holger.schulz at durham.ac.uk>] Sent: 17 March 2017 13:48 To: herwig at projects.hepforge.org<mailto:herwig at projects.hepforge.org> Subject: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig Hi Herwigs, do you have an idea what the issue might be here? Thanks, Holger -------- Forwarded Message -------- Subject: [Rivet] probelm in fastjet(Rivet) while installing herwig Date: Fri, 17 Mar 2017 15:48:16 +0530 From: Dr. Prabhdeep Kaur <prabhdevgun at gmail.com><mailto:prabhdevgun at gmail.com> To: rivet at projects.hepforge.org<mailto:rivet at projects.hepforge.org> Dear Rivet Team, I am installing Herwig7, and have installed fastjet (with Rivet), but while I do make -j$(nproc) (for Herwig), I get following error: In file included from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/SharedPtr.hh:41:0, from /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/PseudoJet.hh:42, from LEPFourJetsAnalysis.cc:21: /home/prabhdeep/HerwigManIns/Rivet/include/fastjet/internal/deprecated.hh:41:42: error: expected unqualified-id before ‘[’ token #define FASTJET_DEPRECATED_MSG(message) [[deprecated(message)]] ^ Actually I get this type of error many time and I have copied just one. Could you please help me solving it? I Would be very thankful to you. Looking forward for your reply, Prabhdeep Assistant Prof. in Physics, SLIET, Punjab India. P.S.: I have 64 bit fedora OS. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20170323/3c06e232/attachment.html>
More information about the Rivet mailing list |