[Rivet] Rivet 1.5.0

Andy Buckley andy.buckley at ed.ac.uk
Thu Mar 3 17:42:00 GMT 2011


Thanks Anton,

I will put in the explicit use of $(PYTHON) for the doc-building
scripts... yuck, the LCG environment is so broken: it *should* be able
to find python in the PATH!

The other problems all look like failures to find the .info and .dat
files: I can't reproduce any of them in my setup. I suspect that the
--datadir argument to configure is responsible: we use a dynamic system
to determine those default paths but I think it has to assume that the
library location (from /proc) is also the location of e.g. the
corresponding share directory. I think that if you build and install
Rivet without --datadir, and then explicitly move and symlink the share
directory, it should work. The workaround is to run in an environment
with RIVET_REF_PATH, RIVET_INFO_PATH, and RIVET_PLOT_PATH all set and
exported to point at
/afs/cern.ch/sw/lcg/external/MCGenerators_hepmc20603/rivet/1.5.0a2/share

To test this hypothesis, try running "rivet --show-analyses ATLAS": if
you don't get any useful out, then set RIVET_INFO_PATH as described
above, and see if it works. And then reinstall so that it works by
default :)

Cheers,
Andy


On 03/03/11 15:30, Anton Karneyeu wrote:
> First of all, beta version of Rivet installed here:
> 
>   /afs/cern.ch/sw/lcg/external/MCGenerators_hepmc20603/rivet/1.5.0a2
> 
> with following parameters:
> 
>   $ ./configure
> 
> --prefix=/afs/cern.ch/sw/lcg/external/MCGenerators_hepmc20603/rivet/1.5.0a2/x86_64-slc5-gcc43-opt
> 
> 
> --datadir=/afs/cern.ch/sw/lcg/external/MCGenerators_hepmc20603/rivet/1.5.0a2/share
> 
> 
> --with-hepmc=/afs/cern.ch/sw/lcg/external/HepMC/2.06.03/x86_64-slc5-gcc43-opt
> 
> 
> --with-boost-incpath=/afs/cern.ch/sw/lcg/external/Boost/1.42.0_python2.5/x86_64-slc5-gcc43-opt/include/boost-1_42
> 
> 
> --with-fastjet=/afs/cern.ch/sw/lcg/external/fastjet/2.4.2p1/x86_64-slc5-gcc43-opt
> 
>   --with-gsl=/afs/cern.ch/sw/lcg/external/GSL/1.10/x86_64-slc5-gcc43-opt
>   --with-lcgtag=x86_64-slc5-gcc43-opt
>   --disable-pdfmanual
>   --enable-unvalidated
> 
> PYTHON=/afs/cern.ch/sw/lcg/external/Python/2.5.4p2/x86_64-slc5-gcc43-opt/bin/python
> 
> 
> SWIG=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig
> 
> 
> And I work with Rivet on lxplus.cern.ch machines.
> 
> 
> Here is a list of issues:
> 
> ========================================================================
> 1. very last step of build process fails:
> -----------------------------------------
> Making all in doc
> make[1]: Entering directory
> `/afs/.cern.ch/sw/lcg/external/MCGenerators/.work/GBUILD/noarch/pkgsrc/MCGenerators/rivet/work/rivet/1.5.0a2/doc'
> 
> LD_LIBRARY_PATH=../src/.libs:../src/Tools/yaml-cpp/.libs:/afs/cern.ch/sw/lcg/external/fastjet/2.4.2p1/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/HepMC/2.03.11/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/contrib/gcc/4.3.2/x86_64-slc5-gcc34-opt/lib64:/afs/cern.ch/sw/lcg/contrib/mpfr/2.3.1/x86_64-slc5-gcc34-opt/lib:/afs/cern.ch/sw/lcg/contrib/gmp/4.2.2/x86_64-slc5-gcc34-opt/lib:/afs/.cern.ch/sw/lcg/external/MCGenerators/.work/GBUILD/external/MCGenerators/rivet/1.5.0a2/x86_64-slc5-gcc43-opt/lib
> \
> DYLD_LIBRARY_PATH=../src/.libs:../src/Tools/yaml-cpp/.libs:/afs/cern.ch/sw/lcg/external/fastjet/2.4.2p1/x86_64-slc5-gcc43-opt/lib:/afs/cern.ch/sw/lcg/external/HepMC/2.03.11/x86_64-slc5-gcc43-opt/lib::/afs/.cern.ch/sw/lcg/external/MCGenerators/.work/GBUILD/external/MCGenerators/rivet/1.5.0a2/x86_64-slc5-gcc43-opt/lib
> \
> RIVET_INFO_PATH=../data/anainfo \
> PYTHONPATH=../pyext: \
> ./mk-analysis-html analyses.html
> Traceback (most recent call last):
>   File "./mk-analysis-html", line 43, in ?
>     import rivet
>   File
> "/afs/.cern.ch/sw/lcg/external/MCGenerators/.work/GBUILD/noarch/pkgsrc/MCGenerators/rivet/work/rivet/1.5.0a2/pyext/rivet/__init__.py",
> line 16, in ?
>     from rivetwrap import *
>   File
> "/afs/.cern.ch/sw/lcg/external/MCGenerators/.work/GBUILD/noarch/pkgsrc/MCGenerators/rivet/work/rivet/1.5.0a2/pyext/rivet/rivetwrap.py",
> line 28, in ?
>     import _rivetwrap
> ImportError: No module named _rivetwrap
> make[1]: *** [analyses.html] Error 1
> make[1]: Leaving directory
> `/afs/.cern.ch/sw/lcg/external/MCGenerators/.work/GBUILD/noarch/pkgsrc/MCGenerators/rivet/work/rivet/1.5.0a2/doc'
> 
> make: *** [all-recursive] Error 1
> ---------------------------------------------
> 
> Patch is pretty trivial:
> 
> 
> http://simu.cvs.cern.ch/cgi-bin/simu.cgi/simu/GENSER3/pkgsrc/MCGenerators/rivet/patches/patch-ba?revision=1.4&view=markup
> 
> 
> 
> 
> =========================================================================
> 
> 2. plots on html page produced by `rivet-mkhtml` do not have any
> titles/labels (probably this is an issue of `make-plots`), also short
> descriptions of analyses (which were on page in 1.4.0) are missing.
> 
> 
> =========================================================================
> 
> 3. There are some problems with plotting of UA5_1986_S1583476
> histograms. Here is part of output of `rivet-mkhtml`:
> 
> -------------------------------------------------
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d01-x01-y04.dat (17
> remaining)
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d01-x01-y03.dat (18
> remaining)
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d03-x01-y01.dat (16
> remaining)
> +++ Error in Histogram.divide(): Binning of histograms differs
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d03-x01-y02.dat (15
> remaining)
> +++ Error in Histogram.divide(): Binning of histograms differs
>  +++ Error in Histogram.divide(): Binning of histograms differs+++ Error
> in Histogram.divide(): Binning of histograms differs
> 
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d03-x01-y03.dat (14
> remaining)
> +++ Error in Histogram.divide(): Binning of histograms differs
> +++ Error in Histogram.divide(): Binning of histograms differs
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d03-x01-y04.dat (13
> remaining)
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d03-x01-y05.dat (12
> remaining)
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d03-x01-y06.dat (11
> remaining)
> dvips: ! DVI file can't be opened.
> dvips: ! DVI file can't be opened.
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d03-x01-y07.dat (10
> remaining)
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d03-x01-y08.dat (9
> remaining)
> Plotting
> /tmp/akorneev/tmp.AlOXM12905/html/UA5_1986_S1583476/d03-x01-y09.dat (8
> remaining)
> -----------------------------------------------
> 
> ============================================================================
> 
> 
> 4. now Rivet prints "Analysis is unvalidated" warning for any analysis.
> As example, here is part of output of Rivet running with UA1 and UA5
> analyses:
> 
> -------------------------------------------------------
> Rivet.Analysis.Handler: WARN  Analysis 'UA1_1990_S2044935' is
> unvalidated: be careful, it may be broken!
> Rivet.Analysis.Handler: WARN  Analysis 'UA5_1986_S1583476' is
> unvalidated: be careful, it may be broken!
> Rivet.Analysis.Handler: WARN  Analysis 'UA5_1988_S1867512' is
> unvalidated: be careful, it may be broken!
> Rivet.Analysis.Handler: WARN  Analysis 'UA5_1989_S1926373' is
> unvalidated: be careful, it may be broken!
> ----------------------------------------------------------
> 
> ==========================================================================
> 
> 5. Probably, this is not an issue exactly, but just unimplemented
> feature - `rivet-mkhtml` / `make-plots` do not react on CustomLegend and
> LogY parameters in .plot file.
> 
> For example, you can take STAR_2009_UE_HELEN which have following
> parameters:
> 
> CustomLegend={\large STAR preliminary}
> LogY=0
> 
> And this parameters do not affects page/plots produced by `rivet-mkhtml`.
> 
> =============================================================================
> 
> 
> 
> Sorry, this time I do not provide you any scripts which can show the
> issues, but if you can not reproduce any of above issues, please, let me
> know and I prepare small scripts immediately.
> 
> 
> Regards,
> Anton
> 
> 
> 
> 02.03.2011 09:58, Andy Buckley:
>> Frank S just pointed out a last-minute Python construct which isn't safe
>> in Python 2.4. I think it's anyway better if you can build against a
>> newer Python release than that, but I've updated the alpha2 tarballs to
>> use a safer bit of code.
>>
>> Cheers!
>> Andy
>>
>>
>> On 02/03/11 00:08, Andy Buckley wrote:
>>> Fantastic; thanks, Anton! I've just uploaded the latest and greatest
>>> test version to the Rivet downloads area on HepForge as Rivet-1.5.0a2.
>>> This will really help us to find any remaining problems before releasing
>>> -- validation is always a problem. I hope that we managed to fix all the
>>> problems that you found for us :)
>>>
>>> Cheers,
>>> Andy
>>>
>>>
>>> On 01/03/11 19:37, Anton Karneyeu wrote:
>>>> Hi Hendrik,
>>>> yes, no problem.
>>>>
>>>> Anton
>>>>
>>>>
>>>>
>>>> Hendrik Hoeth:
>>>>> Hi Anton, hi Stefan,
>>>>>
>>>>> we are about to release Rivet-1.5.0 and since you have a very complete
>>>>> set of run setups I wanted to ask if we could give you a tarball of
>>>>> the
>>>>> release candidate so that you can run your machinery with one
>>>>> generator
>>>>> to check if something major breaks. Would that be possible?
>>>>>
>>>>> Cheers,
>>>>>
>>>>>       Hendrik
>>>>>
>>>> _______________________________________________
>>>> Rivet mailing list
>>>> Rivet at projects.hepforge.org
>>>> http://www.hepforge.org/lists/listinfo/rivet
>>>>
>>>
>>>
>>
>>
> 


-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the Rivet mailing list