[Rivet] [Herwig] Fwd: probelm in fastjet(Rivet) while installing herwig

Dr. Prabhdeep Kaur prabhdevgun at gmail.com
Mon Mar 20 14:34:29 GMT 2017


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> 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 [herwig-bounces at projects.
> hepforge.org] on behalf of RICHARDSON, PETER [
> peter.richardson at durham.ac.uk]
> *Sent:* 20 March 2017 10:56
> *To:* Dr. Prabhdeep Kaur
> *Cc:* herwig at projects.hepforge.org; 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]
> *Sent:* 20 March 2017 10:53
> *To:* RICHARDSON, PETER
> *Cc:* rivet at projects.hepforge.org; 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> 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]
>> *Sent:* 20 March 2017 10:40
>>
>> *To:* RICHARDSON, PETER
>> *Cc:* rivet at projects.hepforge.org; 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> wrote:
>>
>>> Dear Prabhdeep,
>>>
>>>   Which compiler and version are you using?
>>>
>>> Peter
>>> ------------------------------
>>> *From:* Dr. Prabhdeep Kaur [prabhdevgun at gmail.com]
>>> *Sent:* 20 March 2017 09:55
>>>
>>> *To:* RICHARDSON, PETER
>>> *Cc:* rivet at projects.hepforge.org; 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/R
>>> ivet/include/fastjet/SharedPtr.hh:41:0,
>>>                  from /home/prabhdeep/HerwigManIns/R
>>> ivet/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/R
>>> ivet/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/R
>>> ivet/include/fastjet/SharedPtr.hh:41:0,
>>>                  from /home/prabhdeep/HerwigManIns/R
>>> ivet/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/R
>>> ivet/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/R
>>> ivet/include/fastjet/SharedPtr.hh:41:0,
>>>                  from /home/prabhdeep/HerwigManIns/R
>>> ivet/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> 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]
>>>> *Sent:* 20 March 2017 05:46
>>>> *To:* RICHARDSON, PETER
>>>> *Cc:* rivet at projects.hepforge.org; 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> 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 [
>>>>> herwig-bounces at projects.hepforge.org] on behalf of Holger Schulz [
>>>>> holger.schulz at durham.ac.uk]
>>>>> *Sent:* 17 March 2017 13:48
>>>>> *To:* 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>
>>>>> <prabhdevgun at gmail.com>
>>>>> To: 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/R
>>>>> ivet/include/fastjet/SharedPtr.hh:41:0,
>>>>>                  from /home/prabhdeep/HerwigManIns/R
>>>>> ivet/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/20170320/ed02b698/attachment.html>


More information about the Rivet mailing list