[Rivet] found a bug when plotting with rivet?

Hao Liu hao.l at cern.ch
Wed May 28 17:08:07 BST 2014


Hi Andy,

I am setting my Rivet as below:

export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase<http://atlas.cern.ch/repo/ATLASLocalRootBase>
source /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/user/atlasLocalSetup.sh<http://atlas.cern.ch/repo/ATLASLocalRootBase/user/atlasLocalSetup.sh>
asetup 19.0.1

I remember that you said the 19.0.1 contains the Rivet with version 2.X. I think I tried to source the rivetenv.sh manually before which gave no help.

I could test this once again.

Best,
Hao

On May 28, 2014, at 12:03 PM, Andy Buckley <andy.buckley at cern.ch<mailto:andy.buckley at cern.ch>> wrote:

On 28/05/14 18:01, Andy Buckley wrote:
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>
<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"

Sorry, my email client cut the bottom off this reply for some reason. It
was meant to finish with a question:

How are you setting up your environment for running Rivet?

Thanks again!
Andy

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20140528/97b6ee3c/attachment.html>


More information about the Rivet mailing list