#9780: Make SAGE_ATLAS_LIB always check for liblapack.a and not liblapack.so
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-4.6
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Description changed by drkirkby:
Old description:
> As noted at #9356, a change which was made to ensure {{{SAGE_ATLAS_LIB}}}
> worked on Solaris, is not a complete solution. On Solaris, no shared
> library {{{liblapack.so}}} is created, as for reasons unknown, this
> causes problems. Hence the static library liblapack.a needs to be
> available to programs using ATLAS on Solaris. This means an extra
> symbolic link needs to be created. I think adding
>
> {{{
> os.system(' ln -sf ' + ATLAS_LIB + '/lib/liblapack.a ' +
> SAGE_LOCAL_LIB+'/liblapack.a')
> }}}
>
> will work, though this remains to be tested.
>
> Dave
New description:
As noted at #9356, a change which was made to ensure {{{SAGE_ATLAS_LIB}}}
worked on Solaris, is not a complete solution. On Solaris, no shared
library {{{liblapack.so}}} is created, as for reasons unknown, the shared
library causes problems on Solaris.
As noted [http://groups.google.com/group/sage-
devel/msg/6f064c4120fe2f65?hl=en here] by François Bissey, liblapack.so
often fails to build. (I assume François means on Linux). He also notes
that {{{libcblas.so}}} often fails to build, but that is not been my
experience on either Linux or Solaris. On both systems {{{libcblas.so}}}
builds ok. For this reason I have not changed the code associated with
{{{libcblas}}} - only that of {{{liblapack}}}
Changing from using the shared to static versions of {{{liblapack}}}
requires 3 changes.
* Check for the static library rather than the shared one.
* Create the static link
* Update the messages to indicate that {{{liblapack.a}}} is needed and
not {{{liblapack.so}}}
Dave
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9780#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.