|
[Rivet] Problems with Rivet2Dominic Hirschbuehl dhirsch at mail.cern.chWed Sep 3 15:41:29 BST 2014
Hi Andy, I found the problem. subprocess.check_output() is only available for Python 2.7 and upwards. I used python 2.6.6 and therefore the routine try_cmd(args) gave always False back. Maybe you can put this check in your bootstrap script, that one needs at least python 2.7. Cheers Dominic P.S. Why it doesn't work within Athena I still don't know. On Tue, Sep 02, 2014 at 04:18:04PM +0100, Andy Buckley wrote: > Hi Dominic, > > Actually the (non-ATLAS) Rivet mailing list is the best place to ask: > I've CC'd that now. > > But I don't know why this is happening. There are sometimes problems > with latex installations and how they specify the max memory allowed by > a document build (sometimes this is large (by 1980s standards) for > plotting because there are lots of points and lines on plots). But that > thing with the CentOS machine saying that latex isn't in your path... > that is weird. > > Has anyone else got suggestions? > > Andy > > > On 02/09/14 15:37, Dominic Hirschbuehl wrote: > > Hi Andy, James, > > > > Thorsten told me, to write to you, if I have problems with Rivet. > > Unfortuntaly I don't have much time to really dig into the problems. > > > > I first try to use the Rivet version in Athena: > > asetup devval,64,rel1,slc6 > > > > I got out a yoda file from the Rivet run ( I will have more questions in > > the next days concering this) but the if I run > > [hirsch at electron run]$ rivet-mkhtml 111003.tt_dilep_hpp_HERA15_7TeV.aida.yoda -o ~/www/Rivet > > > > Making 20 plots > > Plotting /common/home/hirsch/www/Rivet/ATLAS_2012_I1094568/d01-x01-y01.dat (19 remaining) > > ... > > dvips: ! DVI file can't be opened. > > dvips: ! DVI file can't be opened. > > .. and many more > > > > > > I tried also to run: > > rivet-mkhtml 111003.tt_dilep_hpp_HERA15_7TeV.aida.yoda -o ~/www/Rivet --pdf > > with the same output and > > rivet-mkhtml 111003.tt_dilep_hpp_HERA15_7TeV.aida.yoda -o ~/www/Rivet --ps > > with this output > > dvips: ! DVI file can't be opened. > > dvips: ! DVI file can't be opened. > > dvips: ! DVI file can't be opened. > > dvips: ! DVI file can't be opened. > > dvips: ! DVI file can't be opened. > > dvips: ! DVI file can't be opened. > > dvips: ! DVI file can't be opened. > > convert: unable to open image `d01-x01-y01.ps': No such file or directory @ blob.c/OpenBlob/2480. > > convert: missing an image filename `d01-x01-y01.png' @convert.c/ConvertImageCommand/2800. > > > > > > Then I thought I can install Rivet on my own machine (CentOS release 6.3 (Final)). > > The installation worked fine, but I get then the following: > > > > hirsch at physd922hirschb files]$ rivet-mkhtml 111003.tt_dilep_hpp_HERA15_7TeV.yoda -o ~/www/Rivet > > ERROR: required program 'latex' could not be found. Exiting... > > > > But: > > [hirsch at physd922hirschb files]$ which latex > > /usr/bin/latex > > > > I have no idea how to proceed. > > > > Cheers > > Dominic > > > > > > > > > -- > Dr Andy Buckley, Royal Society University Research Fellow > Particle Physics Expt Group, University of Glasgow / PH Dept, CERN -- /---------------------------------------------------------------------\ | Dr. Dominic Hirschbuehl | \ Bergische Universitaet Wuppertal - Exp. Elementarteilchenphysik / / hirsch at physik.uni-wuppertal.de / dominic.hirschbuehl at cern.ch \ | office : D.09.22 phone : 0049 - 202 - 439 - 3751 | \---------------------------------------------------------------------/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 230 bytes Desc: not available URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20140903/a6074d02/attachment.pgp>
More information about the Rivet mailing list |