<div dir="ltr">I agree with Andy here: a warning at configure time is the right level of information for a user; an error is too much. Maybe we could also print out more useful error messages when make-plots (et al) fail to find latex or imagemagick on the system? I think right now it's unclear to users what the problem is when plot making crashes.<div><div><br></div><div>Chris</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 12, 2016 at 12:10 PM, Andy Buckley <span dir="ltr"><<a href="mailto:andy.buckley@cern.ch" target="_blank">andy.buckley@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">These are a blocker for plotting, not all use of Rivet. I think making configure fail because they are missing would be overkill, and maybe unhelpful for e.g. deployment to Grid sites from which the YODA files will be retrieved before plotting.<br>
<br>
Warnings would be fine, though.<br>
<br>
Andy<div><div><br>
<br>
<br>
On 12/05/16 11:52, David Grellscheid wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
We should add configure checks for these in Rivet. Then the herwig<br>
bootstrap would not have gone ahead and created a broken installation.<br>
<br>
What's the list to check for?<br>
<br>
ImageMagick (just 'convert' I guess?)<br>
LaTeX<br>
check for explicit LaTeX packages?<br>
<br>
anything else?<br>
<br>
David<br>
<br>
<br>
On 05/05/2016 22:51, roberto franceschini wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
I needed imagemagick, which was not installed on this machine. Now it<br>
works!<br>
Thanks for helping.<br>
Roberto<br>
<br>
PS<br>
Have I missed it (maybe because I got rivet from the big package of<br>
Herwig7<br>
bootstrap) or is written somewhere that Latex and imagemagick are needed?<br>
<br>
<br>
<br>
<br>
On Thu, May 5, 2016 at 2:39 PM, Chris Pollard <<a href="mailto:cpollard@cern.ch" target="_blank">cpollard@cern.ch</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Roberto,<br>
<br>
You can try a few things here:<br>
<br>
- pass the -v flag to make-plots, which should print out more detailed<br>
information on what is failing<br>
- passing the --tex flag to make-plots should give you a tex document<br>
that<br>
you can try to compile using latex directly.<br>
<br>
Maybe that will help you figure out what is still missing?<br>
<br>
Chris<br>
<br>
On Thu, May 5, 2016 at 1:07 PM, roberto franceschini <<br>
<a href="mailto:franceschini.roberto@gmail.com" target="_blank">franceschini.roberto@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Chris, thanks a lot for your reply.<br>
<br>
The make-plot exists<br>
stat /afs/<a href="http://cern.ch/user/r/rfrances/p/hw7/bin/make-plots" rel="noreferrer" target="_blank">cern.ch/user/r/rfrances/p/hw7/bin/make-plots</a><br>
File: `/afs/<a href="http://cern.ch/user/r/rfrances/p/hw7/bin/make-plots" rel="noreferrer" target="_blank">cern.ch/user/r/rfrances/p/hw7/bin/make-plots</a>'<br>
Size: 123716 Blocks: 242 IO Block: 4096 regular file<br>
Device: 12h/18d Inode: 61247862 Links: 1<br>
Access: (0755/-rwxr-xr-x) Uid: (56252/rfrances) Gid: ( 1081/<br>
t3)<br>
Access: 2016-04-02 22:06:41.000000000 +0200<br>
Modify: 2016-04-02 22:06:41.000000001 +0200<br>
Change: 2016-04-02 22:06:41.000000000 +0200<br>
<br>
but I did not have latex. I have installed it now and checked it<br>
works on<br>
a very simple document, but still there are errors from<br>
rivet-mkhtml. Is<br>
there a particular subset of latex I should check is working?<br>
<br>
Thanks a lot for your help,<br>
Roberto<br>
<br>
<br>
<br>
<br>
<br>
On Thu, May 5, 2016 at 1:16 PM, Chris Pollard <<a href="mailto:cpollard@cern.ch" target="_blank">cpollard@cern.ch</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Roberto,<br>
<br>
Can you confirm that /afs/<a href="http://cern.ch/user/r/rfrances/p/hw7/bin/make-plots" rel="noreferrer" target="_blank">cern.ch/user/r/rfrances/p/hw7/bin/make-plots</a><br>
exists? Can you also verify that you have a suitable latex suite<br>
installed?<br>
That is required for the Rivet plotting scripts.<br>
<br>
Cheers,<br>
<br>
Chris<br>
<br>
On Wed, May 4, 2016 at 5:07 PM, roberto franceschini <<br>
<a href="mailto:franceschini.roberto@gmail.com" target="_blank">franceschini.roberto@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear authors, I hope this message finds you well.<br>
<br>
I have run DELPHI_2002_069_CONF_603 through Herwig7 and I got a Yoda<br>
file. Using yoda2plain and manually plotting the data all seems to<br>
be fine.<br>
However I have trouble with the rest of options offered by RIvet,<br>
e.g.<br>
rivet-mkhtml and make-plots.<br>
They give some errors, reported in the attached log file, starting<br>
with<br>
"Problem while testing for external packages".<br>
Maybe this is a common issue, do you have any idea how to fix these<br>
errors?<br>
<br>
My rivet came with the boostrap script of Herwig7, and I guess you<br>
might wonder about my<br>
echo $PYTHONPATH<br>
/afs/<br>
<a href="http://cern.ch/user/r/rfrances/p/hw7/lib64/python2.6/site-packages:/afs/cern.ch/user/r/rfrances/p/hw7/lib/python2.6/site-packages:/afs/cern.ch/user/r/rfrances/root/lib:/afs/cern.ch/user/r/rfrances/LHAPDF-6.1.5/buildt/lib64/python2.6/site-packages:/afs/cern.ch/user/r/rfrances/LHAPDF-6.1.5/buildt/lib64/python2.6/site-packages:/afs/cern.ch/user/r/rfrances/LHAPDF-6.1.5/buildt/lib64/python2.6/site-packages" rel="noreferrer" target="_blank">cern.ch/user/r/rfrances/p/hw7/lib64/python2.6/site-packages:/afs/cern.ch/user/r/rfrances/p/hw7/lib/python2.6/site-packages:/afs/cern.ch/user/r/rfrances/root/lib:/afs/cern.ch/user/r/rfrances/LHAPDF-6.1.5/buildt/lib64/python2.6/site-packages:/afs/cern.ch/user/r/rfrances/LHAPDF-6.1.5/buildt/lib64/python2.6/site-packages:/afs/cern.ch/user/r/rfrances/LHAPDF-6.1.5/buildt/lib64/python2.6/site-packages</a><br>
<br>
:<br>
<br>
and<br>
<br>
h7ee>tree /afs/<br>
<a href="http://cern.ch/user/r/rfrances/p/hw7/lib64/python2.6/site-packages/" rel="noreferrer" target="_blank">cern.ch/user/r/rfrances/p/hw7/lib64/python2.6/site-packages/</a><br>
/afs/<a href="http://cern.ch/user/r/rfrances/p/hw7/lib64/python2.6/site-packages/" rel="noreferrer" target="_blank">cern.ch/user/r/rfrances/p/hw7/lib64/python2.6/site-packages/</a><br>
├── LHAPDF-6.1.5-py2.6.egg-info<br>
├── lhapdf.so<br>
├── rivet<br>
│ ├── core.so<br>
│ ├── __init__.py<br>
│ ├── __init__.pyc<br>
│ ├── plotinfo.py<br>
│ ├── plotinfo.pyc<br>
│ ├── spiresbib.py<br>
│ ├── spiresbib.pyc<br>
│ ├── util.py<br>
│ └── util.pyc<br>
├── rivet-2.4.0-py2.6.egg-info<br>
├── yoda<br>
│ ├── core.so<br>
│ ├── __init__.py<br>
│ ├── __init__.pyc<br>
│ ├── plotting.py<br>
│ ├── plotting.pyc<br>
│ ├── script_helpers.py<br>
│ ├── script_helpers.pyc<br>
│ ├── search.py<br>
│ ├── search.pyc<br>
│ └── util.so<br>
└── yoda-1.5.5-py2.6.egg-info<br>
<br>
Thanks a lot for your help,<br>
Roberto<br>
<br>
<br>
_______________________________________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org" target="_blank">Rivet@projects.hepforge.org</a><br>
<a href="https://www.hepforge.org/lists/listinfo/rivet" rel="noreferrer" target="_blank">https://www.hepforge.org/lists/listinfo/rivet</a><br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<br>
_______________________________________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org" target="_blank">Rivet@projects.hepforge.org</a><br>
<a href="https://www.hepforge.org/lists/listinfo/rivet" rel="noreferrer" target="_blank">https://www.hepforge.org/lists/listinfo/rivet</a><br>
<br>
</blockquote>
_______________________________________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org" target="_blank">Rivet@projects.hepforge.org</a><br>
<a href="https://www.hepforge.org/lists/listinfo/rivet" rel="noreferrer" target="_blank">https://www.hepforge.org/lists/listinfo/rivet</a><br>
</blockquote>
<br>
<br></div></div><span><font color="#888888">
-- <br>
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow<br>
Particle Physics Expt Group, University of Glasgow</font></span><div><div><br>
_______________________________________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org" target="_blank">Rivet@projects.hepforge.org</a><br>
<a href="https://www.hepforge.org/lists/listinfo/rivet" rel="noreferrer" target="_blank">https://www.hepforge.org/lists/listinfo/rivet</a></div></div></blockquote></div><br></div></div></div>