[Rivet] rivet and problems with python lib

Zenonas Zenonos zinon123 at gmail.com
Mon Feb 14 16:00:46 GMT 2011


Hello Andy

thanks for looking at this.
Previously, I was running with python 2.5.4p2, Rivet
1.2.1, slc4_amd64_gcc34, AGILe-1.1.4 and it was working fine.
Now, I moved to py 2.6.2,  rivet 1.4.0, x86_64-slc5-gcc43-opt, AGILe-1.2.1
and I'm having this python problem.

The result of doing "locate libpython2.6.so.1.0" interactively is good
/usr/lib64/libpython2.6.so.1.0
but empty when running with bsub. Which path must be normally taken when
running?
In the other hand, I saw that  libpython2.4.so.1.0 exist when running with
bsub. What might be the solution to that?
How can I point to libpython2.6.so.1.0 correctly when running with bsub?

Thank you!
z

On Mon, Feb 14, 2011 at 3:06 PM, Andy Buckley <andy.buckley at ed.ac.uk> wrote:

> Hi Zenonas,
>
> This does indeed look like an environment issue: does your batch system
> have the same operating system (and Python version) as the workstation on
> which you've successfully run it interactively? Are the same environment
> scripts being sourced?
>
> Might be worth submitting a "locate libpython2.6.so.1.0" job to your batch
> system via bsub, to see whether that library is available at all.
>
> By the way, I guess from the bsub output that you've been running this on
> lxplus/lxbatch -- why not use the pre-installed Rivet and AGILe in the
> Genser repository?
>
> I was traditionally running  on lxplus/lxbatch ... I am not aware of the
Genser facility actually

> Cheers,
> Andy
>
>
> Zenonas Zenonos wrote:
>
>> Dear Rivet experts
>>
>> I would like to ask you a bit of help on running Rivet.
>>
>> I am installing Rivet and agile by executing the 2 HOW*.sh files attached.
>> Then I 'm setting the rivet environment with the rivetenv.sh (in my rivet
>> area) and setup.sh(in my analysis dir) files, also attached in the email.
>> Later on I use agile to run rivet and works normally when I run
>> interactively. However, I have some troubles when I submit my jobs with
>> "bsub" (with script simXsect.exe). In particular, the libpython2.6.so.1.0
>> cannot be found. One example is at the end of the email.
>>
>> What can be wrong?
>> I tried several combinations, i.e. with python 2.6.2, 2.6.5 etc but the
>> problem remains. Maybe it's just a matter of setting the env correctly.
>> Maybe you have already met this problem.
>>
>> Please, I need your help on this!
>> Thank you in anticipation.
>>
>> My best regards
>> Zinonas
>>
>> *PS*
>>
>> Traceback (most recent call last):
>>  File "/afs/cern.ch/user/z/zenon/Rivet2011pro/rivet/local/bin/rivet <
>> http://cern.ch/user/z/zenon/Rivet2011pro/rivet/local/bin/rivet>", line
>> 26, in <module>
>>
>>    import os, time
>> ImportError: libpython2.6.so.1.0: cannot open shared object file: No such
>> file or directory
>> Traceback (most recent call last):
>>  File "/afs/cern.ch/user/z/zenon/Rivet2011pro/agile/local/bin/agile-runmc<
>> http://cern.ch/user/z/zenon/Rivet2011pro/agile/local/bin/agile-runmc>",
>> line 53, in <module>
>>
>>    import os, logging, re, sys
>>  File "/afs/
>> cern.ch/sw/lcg/external/Python/2.6.5/x86_64-slc5-gcc43-opt/lib/python2.6/logging/__init__.py<
>> http://cern.ch/sw/lcg/external/Python/2.6.5/x86_64-slc5-gcc43-opt/lib/python2.6/logging/__init__.py>",
>> line 34, in <module>
>>
>>
>> Job finished at Mon Feb 14 14:16:36 CET 2011 on node
>>  under linux version Scientific Linux CERN SLC release 5.6 (Boron)
>>
>>
>> CERN statistics: This job used 0:00:02 NCU hours (2 NCU seconds)
>>
>> CERN statistics: This job used 0:00:02 KSI2K hours (2 KSI2K seconds)
>>
>> KSI2K = kilo-SpecInt2000 benchmark units = 1.00 NCU
>>    import sys, os, types, time, string, cStringIO, traceback
>> ImportError: libpython2.6.so.1.0: cannot open shared object file: No such
>> file or directory
>>
>> *or in other cases:*
>>
>>
>> python: error while loading shared libraries: libpython2.6.so.1.0: cannot
>> open shared object file: No such file or directory
>>
>>
>>
>>
>>
>
> --
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20110214/6cd6d421/attachment.html>


More information about the Rivet mailing list