[Rivet] genser news

Andy Buckley andy.buckley at ed.ac.uk
Fri Jul 22 22:18:47 BST 2011


Hi Mikhail,

I'm pretty sure that we had this exact discussion before... maybe 
something useful can be found in email history but I have to leave now 
so can't do the "research"! I think it is related to something like a 
mismatch of GCC versions and paths and Python versions, but the paths 
you've copied in below look ok.

As a check, what happens if you set up your environment with these GCC 
and Python versions, open a Python prompt, and call

 >>> import dl
 >>> import ctypes

?

It looks like this failure only occurs during the documentation build... 
in that we do have to play some tricks to point paths at the build 
directory, but I wouldn't expect to get this error.

Cheers,
Andy


On 22/07/11 22:08, Mikhail KIRSANOV wrote:
> Hello,
> I cannot compile Rivet 1.5.1
>
> The error is
>
> PYTHONPATH=../pyext: \
> /afs/cern.ch/sw/lcg/external/Python/2.6.5/x86_64-slc5-gcc43-opt/bin/python
> mk-analysis-html analyses.html
> Traceback (most recent call last):
> File "mk-analysis-html", line 41, in <module>
> import dl
> ImportError: No module named dl
> make[1]: *** [analyses.html] Error 1
> make[1]: Leaving directory
> `/genser1/mkirsano/GENSER/simu/work/tmp28/Rivet-1.5.1/doc'
> make: *** [all-recursive] Error 1
>
> The configuration command:
>
> ./configure
> --prefix=/genser1/mkirsano/GENSER/simu/work/tmp28/Rivet-1.5.1
> --with-hepmc=/afs/cern.ch/sw/lcg/external/HepMC/2.03.11/x86_64-slc5-gcc43-opt
> --with-boost-incpath=/afs/cern.ch/sw/lcg/external/Boost/1.44.0_python2.6/x86_64-slc5-gcc43-opt/include/boost-1_44
> --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.6.5/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
>
>
> Probably it is not a fatal error. Before, pkgsrc did not stop on errors
> and rivet could be compiled in spite of this. Now pkgsrc is fixed and it
> stops here.
>
> Mikhail
>
>


-- 
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