[Rivet] rivet module could not be loaded

Albert Knutsson albert.knutsson at desy.de
Wed Jan 12 15:22:18 GMT 2011


Dear All,

thanks Andy. Yes, maybe the error was that I still uses 1.2.1.

So I try to change to a later version. I thought it was simplest to stay 
on lxplus and use the genser version on for now (I will change to 
cms-env as soon as we sorted out some cms-internal things).

After doing

setenv PATH 
"/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin":$PATH
source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.csh
source /afs/cern.ch/sw/lcg/external/MCGenerators/rivet/rivetenv.csh

setenv PYTHONPATH "/afs/cern.ch/user/k/knutsson/professor":$PYTHONPATH
setenv PATH "/afs/cern.ch/user/k/knutsson/professor/contrib":$PATH
setenv PATH "/afs/cern.ch/user/k/knutsson/professor/bin":$PATH


prof-tune, prof-envelopes,  prof-sensitivities  gives segmenation errors 
(just after "Please cite doi...."). No other error messages.

prof-runcombs and prof-interpolate works.

(rivet works.)

Any idea what is wrong now?

Thanks and cheers,
Albert



On 1/7/11 12:10 PM, Andy Buckley wrote:
> Hi Albert,
>
> I'm copying this to the Rivet list as it's not really a Professor
> problem: it looks to me like your copy of Rivet is too old to have the
> function needed to find the Rivet reference data files. Which version of
> Rivet are you using?
>
> Andy
>
>
> On 07/01/11 10:56, Albert Knutsson wrote:
>> Dear Professor experts,
>>
>> I'm following the tutorial on the Professor wiki.
>>
>>
>> [lxplus438] ~/professor/lep-exercise $ prof-sensitivities --datadir .
>> --ipoldir ipols --runsfile runcombs.dat --obsfile weights --plotmode
>> extremal -o sensitivity_plots
>>
>> gives me
>>
>> ===
>>
>> Could not create RivetDataProxy: 'module' object has no attribute
>> 'getAnalysisRefPaths'
>> Output directory for sensitivity plots: sensitivity_plots/sensitivities
>> Using center of hyper-cube spanned by anchor points as center of cross.
>> Using QuadraticBinInterpolationWeave for interpolation.
>> ---------------------------------------------------------------------------
>> ValueError                                Traceback (most recent call last)
>>
>> /afs/cern.ch/user/k/knutsson/professor/bin/prof-sensitivities
>>      321
>>      322 ## Load AIDA-path =>  title dictionary.
>> -->  323 pp = prof.PlotParser()
>>      324 histoinfos = {}
>>      325 for obs in obsnames:
>>
>> /afs/cern.ch/user/k/knutsson/professor/professor/histo/lighthisto.pyc in
>> __init__(self, plotpaths)
>>      495                 self.plotpaths = rivet.getAnalysisRefPaths()
>>      496             except Exception:
>> -->  497                 raise ValueError("No plotpaths given and the
>> rivet module could not be loaded!")
>>      498
>>      499     def getSection(self, section, hpath):
>>
>> ValueError: No plotpaths given and the rivet module could not be loaded!
>>
>> === end of output
>>
>> "rivet --list-analyses" works.
>>
>> "import rivet" in python works.
>>
>>
>> Any suggestions?
>>
>> Thanks and cheers,
>> Albert
>>
>>
>> ps. from python I often get the warning
>> "/usr/lib64/python2.4/site-packages/scipy/weave/__init__.py:22:
>> DeprecationWarning: NumpyTest will be removed in the next release;
>> please update your code to use nose or unittest
>>    test = NumpyTest().test" but I assume it is not related to the above.
>>
>>
>>
>>
>



More information about the Rivet mailing list