[Rivet] RIVET libgsl problem due to undefined symbol

Andy Buckley andy.buckley at cern.ch
Sun Jun 11 20:43:04 BST 2017


Me neither: I've been building and running on Ubuntu with stock GSL for 
*years*. Bizarre.

Did you use the bootstrap script to install?

Andy


On 11/06/17 16:47, Maria Vittoria Garzelli wrote:
> Hola Andy and Hannes,
> 
> actually I tried with both the gsl of ubuntu and the gsl downloaded by
> the rivet-bootstrap (which downloads and compile its autonomous version
> of gsl) and the problem looks exactly the same.
> May be when compiling gsl lib I have to use some special option ? May be 
> is a matter of gcc compiler ? I have an old gcc-4.8
> Or of python ? I have a 2.7 version....
> 
> These days I am in Les Houches Workshop (instead of Desy) and I am 
> needing this for some studies we are doing here with Rivet analyses. But 
> I was not imaging that installing Rivet on my laptop can be so complicated.
> 
> 
> On Sun, 11 Jun 2017, Hannes Jung wrote:
> 
>> Hi Maria
>> are you still at DESY ?
>> If yes, then perhaps I could help you, since I have both Rivet 2.4 and 
>> 2.5 installed
>> and working on the naf.
>> Let me know, if this could help
>> Cheers
>> Hannes
>>
>>       On 11. Jun 2017, at 16:04, Andy Buckley <andy.buckley at cern.ch> 
>> wrote:
>>
>> Hi Maria Vittoria,
>>
>> I'm not sure what this is coming from: we certainly don't use that 
>> function directly. (In fact, we use GSL sufficiently
>> little that we'd planned to drop it as a dependency in future -- 
>> although some experiment analysers have objected,
>> saying that they want access to a minimiser.)
>>
>> I note that you have a personal build of GSL rather than using the 
>> Ubuntu libgsl0-dev package: is there a reason for
>> that? It looks to me like the problem is with your build of GSL (and 
>> its dependency on CBLAS) rather than anything
>> specific to Rivet.
>>
>> Andy
>>
>>
>> On 11/06/17 02:07, Maria Vittoria Garzelli wrote:
>>       Hola Andy,
>>       today I am writing because I have the following problem related 
>> to the installation of Rivet on ubuntu
>>       laptop. I tried both old version of Rivet (2.4.0) and new one 
>> (2.5.3), both with rivet boostrap script and
>>       without it, as well as with many different version of libgsl, 
>> and the problem is always
>>       the same. It is not visible during the installation, but if I give
>>       commands like rivet-mkanalysis, they give the same mistake related
>>       to libgsl.so and undefined symbol cblas_sdsdot. So, even if Rivet
>>       seems to be installed, it does not work. See below for the output
>>       I got when I try to run.
>>       Do you have a suggestion how I could fix it ?
>>       Thank you very much in advance.
>>       garzelli at phenoOff:~/scratch/rivet/local/bin$ rivet-mkanalysis
>>       Traceback (most recent call last):
>>         File 
>> "/home/garzelli/scratch/rivet/local/bin/rivet-mkanalysis", line 12, in 
>> <module>
>>           import rivet, sys, os
>>         File 
>> "/home/garzelli/scratch/rivet/local/lib/python2.7/site-packages/rivet/__init__.py", 
>> line 12, in
>>       <module>
>>           from rivet.core import *
>>       ImportError: /home/garzelli/scratch/rivet/local/lib/libgsl.so.0: 
>> undefined symbol: cblas_sdsdot
>>
>>
>>
>> -- 
>> Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
>> Particle Physics Expt Group, University of Glasgow
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> https://www.hepforge.org/lists/listinfo/rivet
>>
>>
>> ***********************************************************************
>> Hannes Jung
>> Email: Hannes.Jung at desy.de
>> mobile :+49 40 8998 93741
>> http://www.desy.de/~jung
>> Tel: +49 (0) 40 8998 3741
>> Fax: +49 (0) 40 8994 3741
>> DESY, CMS 01B/02.213
>> Notkestr.85, 22603 Hamburg, FRG
>> ***********************************************************************
>>
>>
>>
>>
>>
>>
>>


-- 
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow


More information about the Rivet mailing list