Project

General

Profile

[solved] Problems with blas ( srotmg_ ) after reboot

Added by Mario Dejung almost 13 years ago

Since the last reboot of our Appion computer, I have a problem with the blas library...

When I execute some of the Appion python scripts, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/manualpicker.py", line 9, in ?
    from appionlib import particleLoop2
  File "/usr/lib/python2.4/site-packages/appionlib/particleLoop2.py", line 8, in ?
    from appionlib import filterLoop
  File "/usr/lib/python2.4/site-packages/appionlib/filterLoop.py", line 9, in ?
    from appionlib import appionLoop2
  File "/usr/lib/python2.4/site-packages/appionlib/appionLoop2.py", line 15, in ?
    from appionlib import apDatabase
  File "/usr/lib/python2.4/site-packages/appionlib/apDatabase.py", line 17, in ?
    from appionlib import apDefocalPairs
  File "/usr/lib/python2.4/site-packages/appionlib/apDefocalPairs.py", line 6, in ?
    import pyami.peakfinder as peakfinder
  File "/usr/lib/python2.4/site-packages/pyami/peakfinder.py", line 12, in ?
    import imagefun
  File "/usr/lib/python2.4/site-packages/pyami/imagefun.py", line 20, in ?
    from scipy import stats
  File "/usr/lib64/python2.4/site-packages/scipy/stats/__init__.py", line 7, in ?
    from stats import *
  File "/usr/lib64/python2.4/site-packages/scipy/stats/stats.py", line 192, in ?
    import scipy.linalg as linalg
  File "/usr/lib64/python2.4/site-packages/scipy/linalg/__init__.py", line 8, in ?
    from basic import *
  File "/usr/lib64/python2.4/site-packages/scipy/linalg/basic.py", line 313, in ?
    import decomp
  File "/usr/lib64/python2.4/site-packages/scipy/linalg/decomp.py", line 22, in ?
    from blas import get_blas_funcs
  File "/usr/lib64/python2.4/site-packages/scipy/linalg/blas.py", line 14, in ?
    from scipy.linalg import fblas
ImportError: /usr/lib64/python2.4/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_

I am not sure, why this error occures just after the reboot and I am not sure where the problem is. The internet says something about recompiling the blas library against the lapack package, but I don't think, this will fix anything...

Does any one has a suggestion?

Kind regards
Mario


Replies (2)

RE: Problems with blas after reboot - Added by Anchi Cheng almost 13 years ago

Hi, Mario,

This is a problem in the recomplied lapack package in scipy, not what we have control over. Did the reboot involved some upgrade by you or other users with admin privilege which is why you got the message about recompiling bias library? You should get the same undefined symbol error by just importing scipy.linalg in python. My naive suggestion is redo the installation of scipy/lapack. Google search showed that at one point srotmg was not in LAPACK http://iclcs.utk.edu/lapack-forum/archives/lapack.msg00120.html but no reason for it to not having them in newer ones once it was reported in 2006.

Anchi

RE: Problems with blas after reboot - Added by Mario Dejung almost 13 years ago

Hi Anchi,
thanks for the super fast reply! I tried to reinstall the lapack, blas, scipy and also the, on some pages recommended atlas, packages but this didn't fixed the problem. And I also was sure, nobody installed any updates...
This morning I figured out, that I changed something in my .bashrc and where sourcing some newer versions of python and maybe also scipy. I now changed my .bashrc to only source the other files when I am not logged in at the appion computer.
So, I think this issue is solved.
Thanks again.

    (1-2/2)