<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hi, </div><div><br></div><div>I follow the instructions on the following page <a href="http://projects.hepforge.org/rivet/trac/wiki/WritingAnAnalysis">http://projects.hepforge.org/rivet/trac/wiki/WritingAnAnalysis</a> and stuck at some point. </div><div><br></div><div><div><i><font class="Apple-style-span" color="#D81A00">Rivet.AnalysisInfo: ERROR Parse error when reading analysis data from ./test.info</font></i></div><div><i><font class="Apple-style-span" color="#D81A00">'TEST' is not a valid analysis. Available analyses are:</font></i></div><div><i><font class="Apple-style-span" color="#D81A00"> test</font></i></div></div><div><br></div><div>Please see below for the details. Does anybody have any idea of what is going wrong ?</div><div><br></div><div>Thanks a lot </div><div>Sercan </div><div><br></div><div><i>=======================================================================================</i></div><div><div><i>ssen> <b>pwd</b></i></div><div><i>/home/ssen/RivetTmp</i></div></div><div><div><i>ssen><b> rivet-mkanalysis test</b></i></div><div><i>Writing implementation template to ./test.cc</i></div><div><i>Writing info template to ./test.info</i></div><div><i>Writing plot template to ./test.plot</i></div><div><i>ssen> <b>ls</b></i></div><div><i>test.cc test.info test.plot</i></div></div><div><div><i>ssen><b> rivet-buildplugin Rivettest.so test.cc</b></i></div><div><i>which: no sw_vers in (/usr/local/python-2.5.5/bin:/unix/cedar/software/slc5/rivet-1.2.1/bin:/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/usr/bin/X11:/usr/sue/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/root-pro/bin)</i></div><div><i>g++ -o "Rivettest.so" -shared -fPIC -I/unix/cedar/software/slc5/rivet-1.2.1/include -I/afs/cern.ch/sw/lcg/external/HepMC/2.03.11/x86_64-slc5-gcc43-opt/include test.cc</i></div><div><i>In file included from /unix/cedar/software/slc5/rivet-1.2.1/include/Rivet/ProjectionHandler.hh:6,</i></div><div><i> from /unix/cedar/software/slc5/rivet-1.2.1/include/Rivet/ProjectionApplier.hh:9,</i></div><div><i> from /unix/cedar/software/slc5/rivet-1.2.1/include/Rivet/Projection.hh:7,</i></div><div><i> from /unix/cedar/software/slc5/rivet-1.2.1/include/Rivet/Event.hh:6,</i></div><div><i> from /unix/cedar/software/slc5/rivet-1.2.1/include/Rivet/Analysis.hh:7,</i></div><div><i> from test.cc:2:</i></div><div><i>/unix/cedar/software/slc5/rivet-1.2.1/include/Rivet/RivetBoost.hh:8:29: error: boost/foreach.hpp: No such file or directory</i></div><div><i><br></i></div><div><b>I guess, it couldn't find the "boost". So, I recompile it with "boost". </b></div><div><i><br></i></div><div><i>ssen> </i></div><div><i>ssen> <b>ls</b></i></div><div><i>test.cc test.info test.plot</i></div></div><div><i>ssen> <b>g++ -o "Rivettest.so" -shared -fPIC -I/unix/cedar/software/slc5/rivet-1.2.1/include -I/afs/cern.ch/sw/lcg/external/HepMC/2.03.11/x86_64-slc5-gcc43-opt/include -I/afs/cern.ch/sw/lcg/external/Boost/1.42.0_python2.5/x86_64-slc5-gcc43-opt/include/boost-1_42/ test.cc</b></i></div><div><div><i>ssen> ls</i></div><div><i>Rivettest.so test.cc test.info test.plot</i></div></div><div><div><i>ssen> <b>export RIVET_ANALYSIS_PATH=$PWD</b></i></div><div><i>ssen> <b>echo $RIVET_ANALYSIS_PATH</b></i></div><div><i>/home/ssen/RivetTmp</i></div><div><i>ssen> <b>pwd</b></i></div><div><i>/home/ssen/RivetTmp</i></div></div><div><div><i>ssen> <b>rivet --list-analyses </b></i></div><div><i>Rivet.AnalysisInfo: ERROR Parse error when reading analysis data from ./test.info</i></div><div><i>test</i></div></div><div><div><i>ssen> <b>rivet --show-analysis test</b> </i></div><div><i>Rivet.AnalysisInfo: ERROR Parse error when reading analysis data from ./test.info</i></div><div><i>Rivet.AnalysisInfo: ERROR Parse error when reading analysis data from ./test.info</i></div><div><i><br></i></div><div><i>test</i></div><div><i>====</i></div><div><i><br></i></div><div><i><br></i></div><div><i><br></i></div><div><i>Status: </i></div><div><i><br></i></div><div><i>Spires ID: </i></div><div><i>Spires URL: <a href="http://www.slac.stanford.edu/spires/find/hep/www?rawcmd=key+">http://www.slac.stanford.edu/spires/find/hep/www?rawcmd=key+</a></i></div><div><i>HepData URL: <a href="http://hepdata.cedar.ac.uk/view/irn">http://hepdata.cedar.ac.uk/view/irn</a></i></div><div><i>Experiment: </i></div><div><i>Year of publication: </i></div><div><i>Authors:</i></div><div><i><br></i></div><div><i>Description:</i></div><div><i><br></i></div><div><i><br></i></div><div><i>Run details:</i></div><div><i><br></i></div><div><i>ssen> </i></div></div><div><div><i>ssen> rivet --analysis=test P8diffhepmcout.dat </i></div><div><i>Rivet.AnalysisInfo: ERROR Parse error when reading analysis data from ./test.info</i></div><div><i>'TEST' is not a valid analysis. Available analyses are:</i></div><div><i> test</i></div></div><div><br></div><div><br></div><div><b>No Problem if I run the EXAMPLE analysis. </b></div><div><br></div><div><div><i>ssen> <b>rivet --analysis=EXAMPLE P8diffhepmcout.dat</b></i></div><div><i>Rivet running on machine pc127.hep.ucl.ac.uk (x86_64)</i></div><div><i>Rivet.Analysis.Handler: WARN Analysis 'EXAMPLE' is unvalidated: be careful!</i></div><div><i>Reading events from 'P8diffhepmcout.dat'</i></div><div><i>#--------------------------------------------------------------------------</i></div><div><i># FastJet release 2.4.2</i></div><div><i># Written by M. Cacciari, G.P. Salam and G. Soyez </i></div><div><i># <a href="http://www.fastjet.fr">http://www.fastjet.fr</a> </i></div><div><i># </i></div><div><i># Longitudinally invariant Kt, anti-Kt, and inclusive Cambridge/Aachen </i></div><div><i># clustering using fast geometric algorithms, with area measures and optional</i></div><div><i># external jet-finder plugins. </i></div><div><i># Please cite Phys. Lett. B641 (2006) [hep-ph/0512210] if you use this code.</i></div><div><i># </i></div><div><i># This package uses T.Chan's closest pair algorithm, Proc.13th ACM-SIAM </i></div><div><i># Symp. Discr. Alg, p.472 (2002), S.Fortune's Voronoi algorithm and code .</i></div><div><i>#-------------------------------------------------------------------------</i></div><div><i>Event 100 (1 s elapsed)</i></div><div><i>Event 200 (3 s elapsed)</i></div><div><i>Event 300 (4 s elapsed)</i></div><div><i>Event 400 (5 s elapsed)</i></div><div><i>Event 500 (6 s elapsed)</i></div><div><i>Event 600 (8 s elapsed)</i></div><div><i>Event 700 (9 s elapsed)</i></div><div><i>Event 800 (11 s elapsed)</i></div><div><i>Event 900 (12 s elapsed)</i></div><div><i>Event 1000 (13 s elapsed)</i></div><div><i>Finished event loop</i></div><div><i>Rivet.Analysis.Handler: INFO Finalising analyses</i></div><div><i>Rivet.Analysis.Handler: INFO Processed 1000 events</i></div><div><i><br></i></div><div><i>The MCnet usage guidelines apply to Rivet: see <a href="http://www.montecarlonet.org/GUIDELINES">http://www.montecarlonet.org/GUIDELINES</a></i></div><div><i>Please acknowledge plots made with Rivet analyses, and cite arXiv:1003.0694 (<a href="http://arxiv.org/abs/1003.0694">http://arxiv.org/abs/1003.0694</a>)</i></div><div><i>=======================================================================================</i></div></div></body></html>