[Rivet] found a bug when plotting with rivet?

Andy Buckley andy.buckley at cern.ch
Wed May 28 17:01:41 BST 2014


On 28/05/14 15:42, Hao Liu wrote:
> Hi Andy and other experts,
> 
> Recently, I am using the rivet 2.* in lxplus6 (asetup 19.0.1). I found
> that there is bug when plotting using make-plots and rivet-mkhtml. The
> bug is that when I want to plot a plot that contains a ratio plot under
> the main plot. The rivet-cmphistos step works fine. But when using
> make-plots to make plots from the dat file, it usually fails. I checked
> the message it gives to me. It’s not the memory problem of latex.They
> are different bugs. For some reason this is caused by that
>  the TEXMFHOME value is empty. 
> 
> To make the plots with ratio successfully, I have to do steps below:
> 
> *export
> TEXMFHOME=/cvmfs/atlas.cern.ch/repo/sw/software/x86_64-slc6-gcc47-opt/19.0.1/sw/lcg/external/MCGenerators_lcgcmt67b/rivet/2.1.1/x86_64-slc6-gcc47-opt/share/Rivet/texmf
> <http://atlas.cern.ch/repo/sw/software/x86_64-slc6-gcc47-opt/19.0.1/sw/lcg/external/MCGenerators_lcgcmt67b/rivet/2.1.1/x86_64-slc6-gcc47-opt/share/Rivet/texmf>
> export LATEXINPUTS=$LATEXINPUTS:$TEXMFHOME
> export TEXINPUTS=$TEXINPUTS:$TEXMFHOME*
> *
> *
> I think this is a very big bug because the default configuration of the
> plots is with the ratio plots, which means that this could be seen very
> often.

Thanks for the report, but why is your TEXMFHOME variable empty? This
should be set by the rivetenv.sh script that's generated by the Rivet
build. Mine contains:

export TEXMFHOME="${datarootdir}/Rivet/texmf:$TEXMFHOME"

-- 
Dr Andy Buckley, Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow / PH Dept, CERN


More information about the Rivet mailing list