<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
hmm interesting, its only showing the one file that im loading
<div class=""><br class="">
<div class="">
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">[rkunnawa@lxplus0031 YpJet]$ pwd</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/PLOTS/YpJet" class="">cern.ch/work/r/rkunnawa/JEWEL/PLOTS/YpJet</a></span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">[rkunnawa@lxplus0031 YpJet]$ rivet-mkhtml --font=helvetica --outputdir=plots_Official_YpJet --mc-errs mc.yoda:'$JEWEL+PYTHIA$ PbPb'</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Output from rivet-cmphistos</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/PLOTS/YpJet/mc.yoda" class="">cern.ch/work/r/rkunnawa/JEWEL/PLOTS/YpJet/mc.yoda</a></span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Errors from rivet-cmphistos</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Traceback (most recent call last):</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  File "/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos" class="">cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos</a>", line 319, in <module></span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    refhistos2 = getRivetRefData()</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  File "/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos" class="">cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos</a>", line 148, in getRivetRefData</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">    analysisobjects = yoda.read(infile, patterns=opts.PATHPATTERNS, unpatterns=opts.PATHUNPATTERNS)</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">  File "yoda/include/IO.pyx", line 109, in yoda.core.read (yoda/core.cpp:75237)</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">yoda.ReadError: Unexpected line in YODA format parsing when BEGIN expected: '4.000000e+01<span class="Apple-tab-span" style="white-space:pre">
</span>5.000000e+01<span class="Apple-tab-span" style="white-space:pre"> </span>0.9676752<span class="Apple-tab-span" style="white-space:pre">
</span>0.0564941<span class="Apple-tab-span" style="white-space:pre"> </span>0.0564941' on line 9</span></div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Crash in rivet-cmphistos code =  1  exiting</span></div>
<div><br class="">
</div>
<div>i wonder why its not showing the reference data file sitting here: </div>
<div>
<div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(217, 209, 173); background-color: rgb(0, 0, 0);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/ANALYSIS" class="">cern.ch/work/r/rkunnawa/JEWEL/ANALYSIS</a></span></div>
</div>
<div><br class="">
</div>
<div>the aforementioned path is in my RIVET_DATA_PATH and also RIVET_ANALYSIS_PATH so im not sure what file its loading now. </div>
<div>I even moved them to the same location and it still complained. </div>
<div>then i added the export statements to point both to the same location in lxplus and still the same error. </div>
<div><br class="">
</div>
<div>Cheers</div>
<div>Raghav</div>
<div><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jun 29, 2016, at 5:59 PM, Andy Buckley <<a href="mailto:a.g.buckley@gmail.com" class="">a.g.buckley@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Probably loading *something* with a matching name. The line being complained about *does* look like part of a YODA file... or maybe a .dat file that accidentally got named .yoda.<br class="">
<br class="">
I'd like to know the answer -- could you try adding a "print infile" line to rivet-cmphistos just above the "analysisobjects = yoda.read(infile, ..." line on line ~110, and run again without the double-colon path forcing?<br class="">
<br class="">
Thanks (and glad we've got a workaround),<br class="">
Andy<br class="">
<br class="">
<br class="">
On 29/06/16 16:53, Raghav Kunnawalkam Elayavalli wrote:<br class="">
<blockquote type="cite" class="">Ok instead of waiting for it to finish, i tested it locally (yoda v1.5.9) with adding the data and analysis path definitions you mentioned and it worked. Does this mean that its loading another yoda file or something somewhere
 with a matching name etc?<br class="">
<br class="">
Cheers<br class="">
Raghav<br class="">
<br class="">
<blockquote type="cite" class="">On Jun 29, 2016, at 5:32 PM, Andy Buckley <<a href="mailto:a.g.buckley@gmail.com" class="">a.g.buckley@gmail.com</a>> wrote:<br class="">
<br class="">
If using YODA 1.6.x you will need to build Rivet + analyses using the C++11 compiler mode. Not *hard* but an extra technicality, and YODA 1.5.9 should be fine so that's what I recommend until the Rivet 2.5.x series.<br class="">
<br class="">
Do you actually know what file is producing this parser error? It's very strange. And there are line breaks in the "line" written out in the error message, which shouldn't be possible... is that just an email formatting thing?<br class="">
<br class="">
I think that rivet-cmphistos will try to parse *all* the .yoda files found in Rivet's ref data collection, in case any of them match your MC histogram path. If both your MC and reference .yoda file are in the current directory, try setting<br class="">
export RIVET_DATA_PATH=$PWD::<br class="">
and/or<br class="">
export RIVET_ANALYSIS_PATH=$PWD::<br class="">
and run rivet-cmphistos again.<br class="">
(NB. the double-colon on the end matters, to stop fallback to the default Rivet data search paths)<br class="">
<br class="">
Cheers,<br class="">
Andy<br class="">
<br class="">
<br class="">
On 29/06/16 16:15, Chris Pollard wrote:<br class="">
<blockquote type="cite" class="">Hi Raghav,<br class="">
<br class="">
I don't have this problem with yoda v1.6.0. Do you mind reinstalling the<br class="">
latest version of yoda and seeing if it works? I'll let Andy chime in,<br class="">
but I don't think there are big differences between your version of yoda<br class="">
and mine, so performing a clean install of 1.5.9 may also do the trick.<br class="">
<br class="">
Chris<br class="">
<br class="">
On Wed, Jun 29, 2016 at 11:09 AM, Raghav Kunnawalkam Elayavalli<br class="">
<<a href="mailto:raghav.k.e@cern.ch" class="">raghav.k.e@cern.ch</a> <<a href="mailto:raghav.k.e@cern.ch" class="">mailto:raghav.k.e@cern.ch</a>>> wrote:<br class="">
<br class="">
   Hi Chris,<br class="">
<br class="">
   I currently have v1.5.9 installed. Ive attached a file which has the<br class="">
   first histogram d01-x01-y01 in both the analysis.yoda (data) and<br class="">
   mc.yoda (what i get after running rivet -a analysis test.hepmc)<br class="">
   Please let me know if you need anything else to debug the issue.<br class="">
   Cheers<br class="">
   Raghav<br class="">
<br class="">
<blockquote type="cite" class="">   On Jun 29, 2016, at 4:51 PM, Chris Pollard <<a href="mailto:chris.pollard@cern.ch" class="">chris.pollard@cern.ch</a><br class="">
   <<a href="mailto:chris.pollard@cern.ch" class="">mailto:chris.pollard@cern.ch</a>>> wrote:<br class="">
<br class="">
   Hi Raghav,<br class="">
<br class="">
   It looks like the .yoda file(s) you have don't conform to the file<br class="">
   format. Can you tell us which version of yoda you are using and<br class="">
   give us an example file?<br class="">
<br class="">
   Cheers,<br class="">
<br class="">
   Chris<br class="">
<br class="">
   On Wed, Jun 29, 2016 at 10:44 AM, Raghav Kunnawalkam Elayavalli<br class="">
   <<a href="mailto:raghav.k.e@cern.ch" class="">raghav.k.e@cern.ch</a> <<a href="mailto:raghav.k.e@cern.ch" class="">mailto:raghav.k.e@cern.ch</a>>> wrote:<br class="">
<br class="">
       Hi Rivet Experts,<br class="">
<br class="">
       I have an analysis with its corresponding yoda file with the<br class="">
       data points for reference<br class="">
       say <a href="http://analysis.cc" class="">analysis.cc</a> <<a href="http://analysis.cc/" class="">http://analysis.cc/</a>> and analysis.yoda. Now i<br class="">
       compile it and run it with my MC and when i do<br class="">
       rivet-mkhtml mc.yoda  , I get a weird error<br class="">
       [rkunnawa@lxplus008 YpJet]$ rivet-mkhtml mc.yoda<br class="">
       Errors from rivet-cmphistos<br class="">
       Traceback (most recent call last):<br class="">
         File<br class="">
       "/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos" class="">cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos</a><br class="">
       <<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos" class="">http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos</a>>",<br class="">
       line 318, in <module><br class="">
           refhistos2 = getRivetRefData()<br class="">
         File<br class="">
       "/afs/<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos" class="">cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos</a><br class="">
       <<a href="http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos" class="">http://cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-cmphistos</a>>",<br class="">
       line 147, in getRivetRefData<br class="">
           analysisobjects = yoda.read(infile,<br class="">
       patterns=opts.PATHPATTERNS, unpatterns=opts.PATHUNPATTERNS)<br class="">
         File "yoda/include/IO.pyx", line 109, in yoda.core.read<br class="">
       (yoda/core.cpp:75237)<br class="">
       yoda.ReadError: Unexpected line in YODA format parsing when<br class="">
       BEGIN expected:<br class="">
       '4.000000e+015.000000e+010.96767520.05649410.0564941' on line 9<br class="">
<br class="">
       I dont have this particular line it points to in both my<br class="">
       mc.yoda and analysis.yoda!<br class="">
       So i dont know what might cause this. any ideas?<br class="">
<br class="">
       thanks!<br class="">
       Cheers<br class="">
       Raghav<br class="">
<br class="">
       _______________________________________________<br class="">
       Rivet mailing list<br class="">
       <a href="mailto:Rivet@projects.hepforge.org" class="">Rivet@projects.hepforge.org</a> <<a href="mailto:Rivet@projects.hepforge.org" class="">mailto:Rivet@projects.hepforge.org</a>><br class="">
       <a href="https://www.hepforge.org/lists/listinfo/rivet" class="">https://www.hepforge.org/lists/listinfo/rivet</a><br class="">
<br class="">
<br class="">
</blockquote>
<br class="">
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Rivet mailing list<br class="">
<a href="mailto:Rivet@projects.hepforge.org" class="">Rivet@projects.hepforge.org</a><br class="">
https://www.hepforge.org/lists/listinfo/rivet<br class="">
<br class="">
</blockquote>
<br class="">
<br class="">
--<br class="">
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow<br class="">
Particle Physics Expt Group, University of Glasgow<br class="">
</blockquote>
<br class="">
</blockquote>
<br class="">
<br class="">
-- <br class="">
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow<br class="">
Particle Physics Expt Group, University of Glasgow<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>