Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

scipy: clapack.so: undefined symbol: clapack_sgesv

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
petr2008
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 128
Joined: Thu Jan 03, 2008 8:55 pm
Location: Prague, cz
Contact:
Contact petr2008
Facebook

scipy: clapack.so: undefined symbol: clapack_sgesv

  • Quote

Post by petr2008 » Thu Oct 13, 2011 11:59 am

Hi,

I have installed new gentoo linux and I am getting strange error
with scipy.

scipy version: sci-libs/scipy-0.9.0-r1 USE="-doc -umfpack"

Example script:

#! /usr/bin/env python
# -*- coding: utf-8 -*-
import scipy.interpolate as scii
xwf=1.0
lx = [ 1,2,3,4,5]
ly = [ 5,2,1,2,5]
spline = scii.UnivariateSpline(lx, ly, k=3, s=float(len(ly))*xwf)
lxs = [ 1.5,2.5,3.5]
lys = spline(lxs)
print lys

it gives me:

python testscipy.py
Traceback (most recent call last):
File "testscipy.py", line 3, in <module>
import scipy.interpolate as scii
File "/usr/lib64/python2.7/site-packages/scipy/interpolate/__init__.py", line 13, in <module>
from rbf import Rbf
File "/usr/lib64/python2.7/site-packages/scipy/interpolate/rbf.py", line 48, in <module>
from scipy import linalg
File "/usr/lib64/python2.7/site-packages/scipy/linalg/__init__.py", line 9, in <module>
from basic import *
File "/usr/lib64/python2.7/site-packages/scipy/linalg/basic.py", line 14, in <module>
from lapack import get_lapack_funcs
File "/usr/lib64/python2.7/site-packages/scipy/linalg/lapack.py", line 15, in <module>
from scipy.linalg import clapack
ImportError: /usr/lib64/python2.7/site-packages/scipy/linalg/clapack.so: undefined symbol: clapack_sgesv

On another machine it works ok.
I am not able to figure out the difference in configuration.
Well, /usr/lib64/python2.7/site-packages/scipy/linalg/clapack.so files differ.

Thank for any hint,

Petr


ps:
old machine (scipy works):
eix -s scipy
sci-libs/scipy
Available versions: 0.8.0!t ~0.9.0!t 0.9.0-r1 ~0.9.0-r2 {doc umfpack}
Installed versions: 0.9.0-r1!t(10:41:41 16/05/11)(-doc -umfpack)

new machine (scipy does not work):
eix -s scipy
sci-libs/scipy
Available versions: 0.8.0!t ~0.9.0!t 0.9.0-r1 ~0.9.0-r2 {doc umfpack}
Installed versions: 0.9.0-r1(09:51:58 10/13/11)(-doc -umfpack)
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Fri Oct 14, 2011 7:30 am

Try scipy-0.9.0-r2 - it has a patch to fix this.
www.gentoo.org.au || #gentoo-au
Top
petr2008
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 128
Joined: Thu Jan 03, 2008 8:55 pm
Location: Prague, cz
Contact:
Contact petr2008
Facebook

  • Quote

Post by petr2008 » Fri Oct 14, 2011 9:51 am

With scipy (~)0.9.0-r2 the problem persists.
Mayby I have chosen wrong profile to build the system:

eselect profile list

[7] default/linux/amd64/10.0/server *

I am sitting behid the firewall so I do not want to bother with security.
Default make.conf contained :
USE="mmx sse sse2"
I left it there. I think these flags have no meaning on amd64.

Petr
Top
big_gie
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Tue Aug 31, 2004 2:44 am

  • Quote

Post by big_gie » Thu Nov 03, 2011 7:30 pm

Also of interest: http://einstein.drexel.edu/~wking/unfol ... and_ATLAS/
I'm trying it right now...
Top
petr2008
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 128
Joined: Thu Jan 03, 2008 8:55 pm
Location: Prague, cz
Contact:
Contact petr2008
Facebook

  • Quote

Post by petr2008 » Mon Nov 07, 2011 9:38 am

big_gie wrote:Also of interest: http://einstein.drexel.edu/~wking/unfol ... and_ATLAS/
I'm trying it right now...
problem solved, thanks
petr
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic