<div dir="ltr"><div><div><div><div>Hello Peter,<br><br></div>Actually fastjet configured by default (by rivet) shall I try installing it separately? <br><br></div>Thanks!<br></div>Regards,<br></div>Prabhdeep<br><div><div><div><br><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 20, 2017 at 4:15 PM, RICHARDSON, PETER <span dir="ltr"><<a href="mailto:peter.richardson@durham.ac.uk" target="_blank">peter.richardson@durham.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi Prabhdeep,<br>
<br>
O.K. In that case you're getting at least C++11 by default. Can you try rebuilding fastjet with<br>
<br>
--disable-auto-ptr<br>
<br>
in the configure<br>
<br>
Peter<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_-7738895804259460820divRpF342294" style="direction:ltr"><font size="2" color="#000000" face="Tahoma"><span class=""><b>From:</b> Dr. Prabhdeep Kaur [<a href="mailto:prabhdevgun@gmail.com" target="_blank">prabhdevgun@gmail.com</a>]<br>
</span><b>Sent:</b> 20 March 2017 10:40<div><div class="h5"><br>
<b>To:</b> RICHARDSON, PETER<br>
<b>Cc:</b> <a href="mailto:rivet@projects.hepforge.org" target="_blank">rivet@projects.hepforge.org</a>; <a href="mailto:herwig@projects.hepforge.org" target="_blank">herwig@projects.hepforge.org</a><br>
<b>Subject:</b> Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig<br>
</div></div></font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Dear Peter,<br>
<br>
</div>
Please have a look:<br>
<br>
CC: gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)<br>
CXX: g++ (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)<br>
FC: GNU Fortran (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)<br>
<br>
</div>
Thanks!<br>
</div>
Regards,<br>
</div>
Prabhdeep<br>
<div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Mar 20, 2017 at 4:05 PM, RICHARDSON, PETER <span dir="ltr">
<<a href="mailto:peter.richardson@durham.ac.uk" target="_blank">peter.richardson@durham.ac.uk</a><wbr>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Dear Prabhdeep,<br>
<br>
Which compiler and version are you using?<br>
<br>
Peter<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_-7738895804259460820m_2748298958246543099divRpF424909" style="direction:ltr"><font size="2" color="#000000" face="Tahoma"><span><b>From:</b> Dr. Prabhdeep Kaur [<a href="mailto:prabhdevgun@gmail.com" target="_blank">prabhdevgun@gmail.com</a>]<br>
</span><b>Sent:</b> 20 March 2017 09:55
<div>
<div class="m_-7738895804259460820h5"><br>
<b>To:</b> RICHARDSON, PETER<br>
<b>Cc:</b> <a href="mailto:rivet@projects.hepforge.org" target="_blank">rivet@projects.hepforge.org</a>;
<a href="mailto:herwig@projects.hepforge.org" target="_blank">herwig@projects.hepforge.org</a><br>
<b>Subject:</b> Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig<br>
</div>
</div>
</font><br>
</div>
<div>
<div class="m_-7738895804259460820h5">
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hello Peter,<br>
<br>
</div>
I followed your instructions (that is configured The PEG and HERWIG using --enable -stdcxx11), but did not get any success.
<br>
<br>
</div>
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:<br>
<br>
<br>
<br>
In file included from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/SharedPtr<wbr>.hh:41:0,<br>
from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/PseudoJet<wbr>.hh:42,<br>
from LEPFourJetsAnalysis.cc:21:<br>
/home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/internal/<wbr>deprecated.hh:41:42: error: expected unqualified-id before ‘[’ token<br>
#define FASTJET_DEPRECATED_MSG(message<wbr>) [[deprecated(message)]]<br>
<wbr> ^<br>
/home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/SharedPtr<wbr>.hh:222:3: note: in expansion of macro ‘FASTJET_DEPRECATED_MSG’<br>
FASTJET_DEPRECATED_MSG("Use SharedPtr<T>::get() instead")<br>
^~~~~~~~~~~~~~~~~~~~~~<br>
In file included from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/PseudoJet<wbr>.hh:42:0,<br>
from LEPFourJetsAnalysis.cc:21:<br>
/home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/SharedPtr<wbr>.hh:271:26: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11<br>
inline operator bool() const{<br>
^~~~~<br>
In file included from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/SharedPtr<wbr>.hh:41:0,<br>
from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/PseudoJet<wbr>.hh:42,<br>
from LEPJetAnalysis.cc:19:<br>
/home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/internal/<wbr>deprecated.hh:41:42: error: expected unqualified-id before ‘[’ token<br>
#define FASTJET_DEPRECATED_MSG(message<wbr>) [[deprecated(message)]]<br>
<wbr> ^<br>
/home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/SharedPtr<wbr>.hh:222:3: note: in expansion of macro ‘FASTJET_DEPRECATED_MSG’<br>
FASTJET_DEPRECATED_MSG("Use SharedPtr<T>::get() instead")<br>
^~~~~~~~~~~~~~~~~~~~~~<br>
In file included from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/PseudoJet<wbr>.hh:42:0,<br>
from LEPJetAnalysis.cc:19:<br>
/home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/SharedPtr<wbr>.hh:271:26: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11<br>
inline operator bool() const{<br>
^~~~~<br>
In file included from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/SharedPtr<wbr>.hh:41:0,<br>
from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/PseudoJet<wbr>.hh:42,<br>
from LEPFourJetsAnalysis.cc:21:<br>
/home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/internal/<wbr>deprecated.hh:41:42: error: expected unqualified-id before ‘[’ token<br>
#define FASTJET_DEPRECATED_MSG(message<wbr>) [[deprecated(message)]]<br>
<wbr> ^<br>
/home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/JetDefini<wbr>tion.hh:365:3: note: in expansion of macro ‘FASTJET_DEPRECATED_MSG’<br>
FASTJET_DEPRECATED_MSG("This argument ordering is deprecated. Use JetDefinition(alg, R, strategy, scheme[, n_parameters]) instead")<br>
<br>
<br>
</div>
Could you please have a look into it and guide me accordingly?<br>
<br>
</div>
Thanks very much!<br>
</div>
Best Regards,<br>
</div>
Prabhdeep<br>
<div>
<div>
<div>
<div><br>
<br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Mar 20, 2017 at 1:11 PM, RICHARDSON, PETER <span dir="ltr">
<<a href="mailto:peter.richardson@durham.ac.uk" target="_blank">peter.richardson@durham.ac.uk</a><wbr>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi Prabhdeep,<br>
<br>
In that case can you try configuring Herwig and ThePEG with the<br>
<br>
--enable-stdcxx11<br>
<br>
option as I think that fastjet is using C++11 features which is the cause of your compilation error.<br>
<br>
Best Wishes<br>
<br>
Peter<br>
<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_-7738895804259460820m_2748298958246543099m_-6762782123878206240divRpF989046" style="direction:ltr">
<font size="2" color="#000000" face="Tahoma"><b>From:</b> Dr. Prabhdeep Kaur [<a href="mailto:prabhdevgun@gmail.com" target="_blank">prabhdevgun@gmail.com</a>]<br>
<b>Sent:</b> 20 March 2017 05:46<br>
<b>To:</b> RICHARDSON, PETER<br>
<b>Cc:</b> <a href="mailto:rivet@projects.hepforge.org" target="_blank">rivet@projects.hepforge.org</a>;
<a href="mailto:herwig@projects.hepforge.org" target="_blank">herwig@projects.hepforge.org</a><br>
<b>Subject:</b> Re: [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig<br>
</font><br>
</div>
<div>
<div class="m_-7738895804259460820m_2748298958246543099h5">
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Dear Peter,<br>
<br>
</div>
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:<br>
<div class="gmail_quote"><br>
fastjet-3.2.0/libtool:6992: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)<br>
fastjet-3.2.0/plugins/SISCone/<wbr>siscone/libtool:6992: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -<br>
library=stlport4 "*)<br>
fastjet-3.2.0/plugins/SISCone/<wbr>siscone/ltmain.sh:6480: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*"<br>
-library=stlport4 "*)<br>
fastjet-3.2.0/ltmain.sh:6480: <wbr> *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)<br>
Rivet-2.5.3/m4/ax_cxx_compile_<wbr>stdcxx.m4:18:# -std=c++11). If neither is specified, you get whatever works, with<br>
Rivet-2.5.3/m4/ax_cxx_compile_<wbr>stdcxx.m4:96: dnl HP's aCC needs +std=c++11 according to:<br>
Rivet-2.5.3/m4/ax_cxx_compile_<wbr>stdcxx.m4:98: dnl Cray's crayCC needs "-h std=c++11"<br>
Rivet-2.5.3/m4/ax_cxx_compile_<wbr>stdcxx.m4:99: for switch in -std=c++$1 -std=c++0x +std=c++$1 "-h std=c++$1"; do<br>
Rivet-2.5.3/configure:5561: <wbr> for switch in -std=c++11 -std=c++0x +std=c++11 "-h std=c++11"; do<br>
Rivet-2.5.3/ChangeLog:1869: <wbr> * Add -std=c++11 or -std=c++0x to the Rivet compiler flags if supported.<br>
<br>
<br>
</div>
<div class="gmail_quote">and this I got for Herwig directory:<br>
</div>
<br>
m4/ax_cxx_compile_stdcxx_11.m4<wbr>:16:# -std=c++11). If neither is specified, you get whatever works, with<br>
m4/ax_cxx_compile_stdcxx_11.m4<wbr>:99: for switch in -std=c++11 -std=c++0x; do<br>
Config/ltmain.sh:6480: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)<br>
configure:4991: for switch in -std=c++11 -std=c++0x; do<br>
Contrib/HJets++/config/ltmain.<wbr>sh:6480: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)<br>
libtool:6992: *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)<br>
<br>
</div>
Thanks very much!<br>
</div>
Best Regards,<br>
</div>
Prabhdeep<br>
<div>
<div>
<div><br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 17, 2017 at 8:07 PM, RICHARDSON, PETER <span dir="ltr">
<<a href="mailto:peter.richardson@durham.ac.uk" target="_blank">peter.richardson@durham.ac.uk</a><wbr>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF">
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Dear Prabhdeep,<br>
<br>
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.<br>
<br>
Thanks<br>
<br>
Peter<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_-7738895804259460820m_2748298958246543099m_-6762782123878206240m_-5925255452595941194divRpF39139" style="direction:ltr">
<font size="2" color="#000000" face="Tahoma"><b>From:</b> <a href="mailto:herwig-bounces@projects.hepforge.org" target="_blank">
herwig-bounces@projects.hepfor<wbr>ge.org</a> [<a href="mailto:herwig-bounces@projects.hepforge.org" target="_blank">herwig-bounces@projects.hepfo<wbr>rge.org</a>] on behalf of Holger Schulz [<a href="mailto:holger.schulz@durham.ac.uk" target="_blank">holger.schulz@durham.ac.uk</a>]<br>
<b>Sent:</b> 17 March 2017 13:48<br>
<b>To:</b> <a href="mailto:herwig@projects.hepforge.org" target="_blank">herwig@projects.hepforge.org</a><br>
<b>Subject:</b> [Herwig] Fwd: [Rivet] probelm in fastjet(Rivet) while installing herwig<br>
</font><br>
</div>
<div></div>
<div>
<p>Hi Herwigs,</p>
<p>do you have an idea what the issue might be here?</p>
<p>Thanks,<br>
Holger<br>
</p>
<div>
<div class="m_-7738895804259460820m_2748298958246543099m_-6762782123878206240h5">
<div class="m_-7738895804259460820m_2748298958246543099m_-6762782123878206240m_-5925255452595941194moz-forward-container">
<br>
<br>
-------- Forwarded Message --------
<table class="m_-7738895804259460820m_2748298958246543099m_-6762782123878206240m_-5925255452595941194moz-email-headers-table" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">Subject: </th>
<td>[Rivet] probelm in fastjet(Rivet) while installing herwig</td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">Date: </th>
<td>Fri, 17 Mar 2017 15:48:16 +0530</td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">From: </th>
<td>Dr. Prabhdeep Kaur <a class="m_-7738895804259460820m_2748298958246543099m_-6762782123878206240m_-5925255452595941194moz-txt-link-rfc2396E" href="mailto:prabhdevgun@gmail.com" target="_blank">
<prabhdevgun@gmail.com></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap align="RIGHT">To: </th>
<td><a class="m_-7738895804259460820m_2748298958246543099m_-6762782123878206240m_-5925255452595941194moz-txt-link-abbreviated" href="mailto:rivet@projects.hepforge.org" target="_blank">rivet@projects.hepforge.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<div dir="ltr">Dear Rivet Team,<br>
<br>
I am installing Herwig7, and have installed fastjet (with Rivet), but while I do make -j$(nproc) (for Herwig), I get following error:<br>
<br>
<br>
<br>
In file included from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/SharedPtr<wbr>.hh:41:0,<br>
<div> from /home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/PseudoJet<wbr>.hh:42,<br>
from LEPFourJetsAnalysis.cc:21:<br>
/home/prabhdeep/HerwigManIns/R<wbr>ivet/include/fastjet/internal/<wbr>deprecated.hh:41:42: error: expected unqualified-id before ‘[’ token<br>
#define FASTJET_DEPRECATED_MSG(message<wbr>) [[deprecated(message)]]<br>
<wbr> ^<br>
<br>
<br>
</div>
<div>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.<br>
<br>
</div>
<div>Looking forward for your reply,<br>
</div>
<div>Prabhdeep<br>
</div>
<div>Assistant Prof. in Physics,<br>
</div>
<div>SLIET, Punjab India.<br>
</div>
<div><br>
</div>
<div>P.S.: I have 64 bit fedora OS.</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>