#7838: Remove script using ctypes from ATLAS
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.3.1
Component: build | Keywords: ctypes atlas
Work_issues: | Author: David Kirkby, Javier
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
Comment(by jsp):
The fix looks good.
My setup is clearly not ok. The build failed at the end:
{{{
ATLAS install complete. Examine
ATLAS/bin/<arch>/INSTALL_LOG/SUMMARY.LOG for details.
make[1]: Leaving directory
`/export/home/jaap/Downloads/sage-4.3.1.alpha0/spkg/build/atlas-3.8.3.p10
/ATLAS-build'
make clean
make[1]: Entering directory
`/export/home/jaap/Downloads/sage-4.3.1.alpha0/spkg/build/atlas-3.8.3.p10
/ATLAS-build'
rm -f *.o x* config?.out *core*
make[1]: Leaving directory
`/export/home/jaap/Downloads/sage-4.3.1.alpha0/spkg/build/atlas-3.8.3.p10
/ATLAS-build'
Finished building ATLAS core
The Makefile generated in ATLAS for building shared libraries
assumes the linker is the GNU linker, which it not true in
your setup. (It is generally considered better to use the
Sun linker in /usr/ccs/bin rather than the GNU linker from binutils)
The linker flags in
/export/home/jaap/Downloads/sage-4.3.1.alpha0/spkg/build/atlas-3.8.3.p10
/ATLAS-build/lib/Makefile will be changed.
'-shared' will be changed to '-G'
'-soname' will be changed to '-h'
'--whole-archive' will be changed to '-zallextract'
'--no-whole-archive' will be changed to '-zdefaultextract'
A copy of the original Makefile will be copied to Makefile.orig
rm -f libatlas.so liblapack.so
make libatlas.so liblapack.so libf77blas.so libcblas.so liblapack.so
make[1]: Entering directory
`/export/home/jaap/Downloads/sage-4.3.1.alpha0/spkg/build/atlas-3.8.3.p10
/ATLAS-build/lib'
ld -melf_x86_64 -G -h libatlas.so -o libatlas.so \
-z allextract libatlas.a -z defaultextract -lc -lm
ld: warning: file libatlas.a(ATL_flushcache.o): wrong ELF class:
ELFCLASS64
ld: fatal: entry point symbol `lf_x86_64' is undefined
make[1]: *** [libatlas.so] Error 1
make[1]: Leaving directory
`/export/home/jaap/Downloads/sage-4.3.1.alpha0/spkg/build/atlas-3.8.3.p10
/ATLAS-build/lib'
make: *** [shared] Error 2
Building shared ATLAS libraries failed
Failed to build ATLAS.
real 155m22.653s
user 147m22.502s
sys 6m4.162s
sage: An error occurred while installing atlas-3.8.3.p10
}}}
Maybe I should use gcc gcc-4.4.2 with the gnu loader?
Jaap
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7838#comment:4>
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.