[Rivet] Small problem with the latest version

David Yallup dyallup at cern.ch
Fri Aug 19 16:11:26 BST 2016


This isn't actually using lxplus (I think theres special install scripts 
for lxplus?) but I think the SL6 version I'm using here is pretty much 
identical in version to lxplus so I could probably recreate the problem 
on there,

  [yallup at pc135 ~]$ which python
/usr/bin/python
[yallup at pc135 ~]$ python --version
Python 2.6.6
[yallup at pc135 ~]$ which latex
/usr/bin/latex
[yallup at pc135 ~]$ latex --version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
...

[yallup at pc135 ~]$ *scl enable python27 bash*
[yallup at pc135 ~]$ which python
/opt/rh/python27/root/usr/bin/python
[yallup at pc135 ~]$ python --version
Python 2.7.5
[yallup at pc135 ~]$ which latex
/usr/bin/latex
[yallup at pc135 ~]$ latex --version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
...

So I dont think I'm setting up anything other than python27? I could be 
wrong though
I note that I could also 'fix' the no latex error by directly swapping 
the make-plots script in from rivet 2.4.0

Cheers,
David


On 19/08/16 15:50, Chris Pollard wrote:
> Hi David,
>
> How do you setup python2.7? I wonder if you're also setting up a latex 
> distribution in parallel.
>
> Chris
>
> On Thu, Aug 18, 2016 at 3:22 PM, David Yallup <dyallup at cern.ch 
> <mailto:dyallup at cern.ch>> wrote:
>
>     Hello,
>
>     I don't know if this has been reported but something I thought I
>     should flag this up. I was helping someone set up the latest rivet
>     install v2.5.1 on an SL6 machine, where the default python is v2.6.
>
>     Everything compiles "correctly", however when attempting to run
>     rivet-mkhtml, it errors with the following:
>     ERROR: required program 'latex' could not be found. Exiting...
>
>     This is something that came in with rivet 2.5.0 I think (I've had
>     earlier versions of rivet running on the same architecture), and
>     is solved by using python2.7 (I think its something new in
>     make-plots that doesnt play nicely with old python versions), but
>     you then need to compile with python 2.7, so I'm wondering if
>     compilation of rivet should be stopped if you are using python
>     <=v2.6 as we do with the c++11 headers now, or enforce some check
>     on whatever feature make-plots is trying to use.
>
>     This is a fairly niche problem but I thought it was worth mentioning
>
>     Cheers,
>     David
>     _______________________________________________
>     Rivet mailing list
>     Rivet at projects.hepforge.org <mailto:Rivet at projects.hepforge.org>
>     https://www.hepforge.org/lists/listinfo/rivet
>     <https://www.hepforge.org/lists/listinfo/rivet>
>
>

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


More information about the Rivet mailing list