<div>I will postpone the Particles enhancement for a future release. The AnalysisLoader.analysisNames() call in the doc building is defined in the Python interface (in pyext/rivet/core.pyx): if that's not working then maybe "touch" that file to force a Cython rebuild.</div><br><div>Andy</div><br><div><signature id="initial"><div><table cellpadding="0" cellspacing="0"><tbody><tr><td colspan="2"><div style="padding-bottom:15px;"><div><strong>Dr Andy Buckley, Lecturer / Royal Society University Research Fellow</strong></div><div>Particle Physics Experiment Group, University of Glasgow</div></div></td></tr><tr><td style="vertical-align:top;"></td><td><div style="font-size:0.9em;white-space:nowrap;border-left:2px solid gray;margin-left:20px;padding-left:20px;"><div><div></div><div></div></div></div></td></tr></tbody></table></div></signature></div><div class="gmail_quote_attribution">On Jul 18 2018, at 10:11 am, David Yallup <david.yallup@cern.ch> wrote:</div><blockquote><br><div><div>Hi,</div><br><div>I also had some problems building the same stuff in doc, which I had to</div><div>do a bit of playing around with to work, for me it appeared there were</div><div>some problems when the python rivet module were being called during the</div><div>build.</div><br><br><div>Anyway I'll try with some more up to date compiler sets and see if I</div><div>make any headway,</div><br><div>Cheers,</div><br><div>David</div><br><br><div>On 18/07/18 11:05, Christian Gutschow wrote:</div><blockquote><div>Hi,</div><br><div>the 2-6-x release branch also doesn’t compile for me (on a mac), but only when it tries to do the doc bits at the end:</div><br><div>Making all in doc</div><div>LD_LIBRARY_PATH=../src/.libs: \</div><div>DYLD_LIBRARY_PATH=../src/.libs: \</div><div>PYTHONPATH=/Users/geon/software/yoda_trunk/yoda/local/lib/python2.7/site-packages:/Users/geon/software/rivet_trunk/rivet/local/lib/python2.7/site-packages: \</div><div>/usr/local/bin/python ./mk-analysis-html</div><div>LD_LIBRARY_PATH=../src/.libs: \</div><div>DYLD_LIBRARY_PATH=../src/.libs: \</div><div>PYTHONPATH=/Users/geon/software/yoda_trunk/yoda/local/lib/python2.7/site-packages:/Users/geon/software/rivet_trunk/rivet/local/lib/python2.7/site-packages: \</div><div>/usr/local/bin/python ./mk-analysis-json</div><div>Using output file name 'analyses.json'</div><div>Using output file name 'analyses.html' and directory 'analyses'</div><div>make[1]: *** [analyses.json] Segmentation fault: 11</div><div>make[1]: *** Waiting for unfinished jobs....</div><div>make[1]: *** [analyses.html] Segmentation fault: 11</div><div>make: *** [all-recursive] Error 1</div><br><br><div>This seems to be coming from e.g. L67 in doc/mk-analyses-html when it tries to do the following:</div><br><div>all_analyses = rivet.AnalysisLoader.analysisNames()</div><br><div>I’m not entirely sure where this is defined. Any ideas?</div><br><div>I’m using:</div><blockquote><div>gcc --version</div></blockquote><div>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1</div><div>Apple LLVM version 9.1.0 (clang-902.0.39.2)</div><div>Target: x86_64-apple-darwin17.6.0</div><div>Thread model: posix</div><div>InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</div><blockquote><div>python --version</div></blockquote><div>Python 2.7.15</div><br><br><div>Cheers,</div><div>Chris</div><br><br><blockquote><div>On 17 Jul 2018, at 23:49, Andy Buckley <andy.buckley@cern.ch> wrote:</div><br><div>That surprises me. Maybe what I did was too much C++11 for some compilers, and not quite compliant for later, stricter ones? But then it works ok on my GCC 7.3.0...</div><br><div>Andy</div><br><div>Dr Andy Buckley, Lecturer / Royal Society University Research Fellow</div><div>Particle Physics Experiment Group, University of Glasgow</div><div>On Jul 17 2018, at 8:41 pm, David Yallup <david.yallup@cern.ch> wrote:</div><br><br><div>Hi Andy,</div><div>I'm using what should be a fairly up to date compiler set on my laptop for this for now (although I do need to configure this on our SL6/CentOS7 clusters at some point):</div><div>david@yallup:~$ gcc --version</div><div>gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609</div><br><div>Which does surprise me a little if this isn't handling some C++11 structures?</div><br><div>Cheers,</div><div>David</div><br><div>On 17/07/18 20:48, Andy Buckley wrote:</div><br><div>Hi David,</div><br><div>What platform is this on? I found the same problem on SL7 without a "modern compiler" override of the native environment: looks like the required bit of C++11 is not supported in GCC 4.8.5.</div><br><div>Since this enhancement of Particles over the previous "typedef vector<Particle>" is syntactic sugar, and lots of people expect Rivet to build (not 100% unreasonably, despite not being an official HEP platform) on vanilla SL7, I think we probably have to postpone that change for a future version. Maybe reasonable for v3.</div><br><div>Andy</div><br><div>Dr Andy Buckley, Lecturer / Royal Society University Research Fellow</div><div>Particle Physics Experiment Group, University of Glasgow</div><br><br><div>On Jul 17 2018, at 6:40 pm, David Yallup <david.yallup@cern.ch> wrote:</div><br><div>Hi All,</div><br><div>This is probably down to something I'm messing up but I was wondering if</div><div>anyone has had any problems building the latest 2-6-x branch recently?</div><br><div>Specifically when I update to revision 6377 (current tip) I get a series</div><div>of errors all pertaining to Rivet::Particles</div><br><div>In file included from ../../include/Rivet/AnalysisHandler.hh:6:0,</div><div>from Run.cc:3:</div><div>../../include/Rivet/Particle.hh: In constructor</div><div>‘Rivet::Particle::Particle(const HepMC::GenParticle&)’:</div><div>../../include/Rivet/Particle.hh:53:32: error: no matching function for</div><div>call to ‘Rivet::Particles::Particles()’</div><div>_momentum(gp.momentum())</div><br><br><div>This is updating from revision 6250 (also on the 2-6-x branch) where</div><div>everything built fine (which makes me think I'm doing something too</div><div>stupid!). It looks like my compiler disagrees with the changes from</div><br><div>https://rivet.hepforge.org/hg/rivet/rev/5b2baf1011f6?revcount=120</div><br><br><div>If others have had no trouble with recent builds of rivet I will go back</div><div>to the drawing board but thought I would check with others first.</div><br><div>Thanks,</div><div>David</div><br><br><br><div>_______________________________________________</div><div>Rivet mailing list</div><div>Rivet@projects.hepforge.org</div><div>https://www.hepforge.org/lists/listinfo/rivet</div><div>_______________________________________________</div><div>Rivet mailing list</div><div>Rivet@projects.hepforge.org</div><div>https://www.hepforge.org/lists/listinfo/rivet</div></blockquote><br><br><br><div>—</div><br><div>Dr. Christian Gütschow</div><br><div>Department of Physics and Astronomy</div><div>University College London</div><div>Gower Street</div><div>London WC1E 6BT</div></blockquote></div></blockquote>