Results 1 to 3 of 3

Thread: scientific python tools in OBS education

  1. #1

    Default scientific python tools in OBS education

    Hi,

    Partly in response to a post asking what apps users use...

    I installed 11.2 milestone 4 a few weeks ago, overall it works quite well. I use python for some numerical scientific work. Some packages, namely numpy, scipy, matplotlib, are not in the standard opensuse repos.

    From searching the build service, these things seem to be in either the Education or Science ... what do I call them, repos? factories?

    Either way, from the Ed. repo I could install numpy and scipy, but matplotlib required the package "python-numeric." This sounds like a red herring - numpy should take care of this. There's no option in the yast dialog to ignore it. I posted this as a bug to something that seemed specific to the Ed. repo, but never got a reply. I forget where I posted it.

    Anyway, I added the Science repo and can do matplotlib. It works! I tried running a python script that uses some spline interpolation routines, loaded with:

    from scipy.interpolate import splrep, splev

    I get an error relating to lapack, which you can essentially get with:

    from scipy import linalg

    The error is:
    ImportError: /usr/lib64/python2.6/site-packages/scipy/linalg/clapack.so: undefined symbol: clapack_sgesv

    The first time I got this, I found out from yast that lapacklib was installed, but not lapack itself. I installed lapack. No difference.

    Perhaps there's a "real bug," or lapack needs to be installed before scipy is?

    Either way, help w/ these issues would be appreciated.

    Thanks, Dave

  2. #2
    votareit NNTP User

    Default Re: scientific python tools in OBS education

    Hi,

    Not that it should matter since it looks like you are using some error packages, it maybe for debian or other linux, not for suse.



    ---------------------------
    limewire for linux.

  3. #3
    Join Date
    Jun 2008
    Location
    SUSE Headquarter
    Posts
    23

    Default Re: scientific python tools in OBS education

    Hi Dave

    Sorry for the long time without an answer, but it looks like I'm currently the only developer in the Education area looking at the forum from time to time. I've subscribed the Forum now, so I should get an Email once new Threads arrive...


    Quote Originally Posted by dstrozzi View Post
    From searching the build service, these things seem to be in either the Education or Science ... what do I call them, repos? factories?
    Just call them "repositories"... ;-)

    Quote Originally Posted by dstrozzi View Post
    Either way, from the Ed. repo I could install numpy and scipy, but matplotlib required the package "python-numeric." This sounds like a red herring - numpy should take care of this.
    Thanks for bringing this up! I fixed this for the next rebuild of the python-numpy package now, so this bug should be solved.

    Quote Originally Posted by dstrozzi View Post
    I posted this as a bug to something that seemed specific to the Ed. repo, but never got a reply. I forget where I posted it.
    There are sometimes too many ways and too many people where you can post a bug:


    Quote Originally Posted by dstrozzi View Post
    Anyway, I added the Science repo and can do matplotlib. It works! I tried running a python script that uses some spline interpolation routines, loaded with:

    from scipy.interpolate import splrep, splev

    I get an error relating to lapack, which you can essentially get with:

    from scipy import linalg

    The error is:
    ImportError: /usr/lib64/python2.6/site-packages/scipy/linalg/clapack.so: undefined symbol: clapack_sgesv

    The first time I got this, I found out from yast that lapacklib was installed, but not lapack itself. I installed lapack. No difference.

    Perhaps there's a "real bug," or lapack needs to be installed before scipy is?
    Please open a new bug on Welcome to education's Bugzilla - this looks really like a bug as it shouldn't make a difference when you install lapack at all.

    With kind regards,
    Lars

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •