precompiled Atlas - cannot import name flapack
I tried to get sage to run on a windows Laptop using "andLinux" - this is Ubuntu on a Colinux kernel. Atlas refused to build, so I installed atlas using synaptic and followed advice from here (steps from John Palmieri): (http://ask.sagemath.org/question/107/...)
it compiled, but some doctest failed, mainly concerning linear algebra, there are errors like:
- ImportError: /mnt/extend/sage-4.6.1/local/lib/python/site-packages/scipy/linalg/clapack.so: undefined symbol: clapack_sgesv
- ImportError: cannot import name
flapack
I have the full testlog at (http://sage.math.washington.edu/home/...)
Now, it almost works, would be cool if somebody could give some hints how to plug in those atlas/blas/lapack libraries correctly.
Any pointers appreciated!
This is an update, also reminder to myself. I researched a little and it seems that the root of the problem is burried in the clapack_sgesv not found (probably clapack not found at all). The second error message probably stems form a fallback mechanism, if clapack is not found it is tried to call flapack. google shows a lot for this specific error message and mostly this are incombatible atlas/lapack/blas packages. I have to examine my install and two useful commands probably are ldd /PATH_TO/clapack.so and nm /PATH_TO/liblapack.so | grep clapack_sgesv
OK, a short progress report: clapack.so was there, but I noticed that clapack.h was just an empty file, so probably that was the reason - I make distclean and try again, double check that all header files are "nonempty".
Thanks for the updates -- I wonder if some of what you learn is relevant to the Cygwin port of sage. Here's the list of open tickets: http://trac.sagemath.org/sage_trac/wiki/CygwinPort. Scanning the list, nothing is seeming obviously related . . . maybe you can tell better.
Well, after the last discussions on sage devel I had a look at the related threads, but I thought I have no experience with some of the main problems there (rebasing). Instead I stumbled on a project named andLinux, wich offers an exe installer of a colinux based Ubuntu, i.e you run Ubuntu under the windows desktop environment. So far this is just an experiment, but I got an "almost" working prototype build of sage,and the only major missing piece is a working clapack library. See a first screenshot [http://sage.math.washington.edu/home/emil/doc/SageWin/screensh17.JPG]
wow -- this is great! Unfortunately I don't have any useful suggestions, but keep working :)