New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make atlas standard in Sage #823
Comments
comment:4
What needs to be done:
Getting ATLAS into Sage will probably be a coding sprint project during SD6. Cheers, Michael |
comment:5
new package that should resolve all these issues. http://sage.math.washington.edu/spkgs/atlas-3.8.spkg One important point. For atlas to build a correct lapack, we must have already built an lapack and then merge with atlas libs to get a full one. On OSX we don't build lapack so the above package will fail. To use the above on OSX first install this spkg http://sage.math.washington.edu/spkgs/lapack-20071123.spkg This will build lapack even on OSX. Then atlas can be installed. Also on OSX even with atlas installed, numpy and scipy build against the accelerate framework still. |
comment:6
I just noticed that building the cvxopt package with this atlas causes a missing symbol error for the cvxopt package _g95_ioparm I'm mystified by this. Need to investigate. |
comment:7
Ignore the cvxopt package issue, it was a mistake on my part, I think atlas is ready to go. |
comment:8
the atlas3.8 package didn't have mabshoff's patch so that the shared objects are copied by make install http://sage.math.washington.edu/home/jkantor/spkgs/atlas-3.8.p1.spkg |
comment:9
Problem: Atlas does not build shared libraries on OSX. THis is because on OSX the atlas build script does ld -melf_i386 -shared -soname libatlas.so -o libatlas.so This is a problem with atlas not knowing that on osx we don't want elf, probably should be -dynamiclib or something. |
comment:10
On OSX the ld options --whole_archive don't exist. The following appears to produce a shared atlas from the static one ld -dylib -o libatlas.dylib -lm -lc -all_load libatlas.a (-L must be set appropriately) |
comment:11
New package http://sage.math.washington.edu/home/jkantor/atlas-3.8.p2.spkg This package fixes problems with the shared libraries lapack creates on linux (the lapack.so doesn't not have the same symbols as lapack.a) It also creates libatlas and libcblas shared on OSX using the trick in the previous comment, but I have not yet resolved how to make libf77blas or liblapack shared on OSX. It might be best |
Merged in 2.9.alpha6.
Component: packages: standard
Issue created by migration from https://trac.sagemath.org/ticket/823
The text was updated successfully, but these errors were encountered: