#10508: Update ATLAS to stable version 3.10
----------------------------------+-----------------------------------------
Reporter: vbraun | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.3
Component: packages | Resolution:
Keywords: ATLAS | Work issues:
Report Upstream: N/A | Reviewers: Benjamin Jones
Authors: Volker Braun | Merged in:
Dependencies: sage-5.2.beta0 | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by jhpalmieri):
On hawk (!OpenSolaris):
{{{
DONE configure
Finished configuring ATLAS.
Running make -j1
make[2]: Entering directory
`/export/home/palmieri/testing/ATLAS/sage-5.2.rc0/spkg/build/atlas-3.1\
0.0/ATLAS-build'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make -j1 -f Make.top build
make[3]: Entering directory
`/export/home/palmieri/testing/ATLAS/sage-5.2.rc0/spkg/build/atlas-3.1\
0.0/ATLAS-build'
Make.top:1: Make.inc: No such file or directory
Make.top:325: warning: overriding commands for target `/AtlasTest'
Make.top:76: warning: ignoring old commands for target `/AtlasTest'
make[3]: *** No rule to make target `Make.inc'. Stop.
make[3]: Leaving directory
`/export/home/palmieri/testing/ATLAS/sage-5.2.rc0/spkg/build/atlas-3.10\
.0/ATLAS-build'
make[2]: *** [build] Error 2
make[2]: Leaving directory
`/export/home/palmieri/testing/ATLAS/sage-5.2.rc0/spkg/build/atlas-3.10\
.0/ATLAS-build'
------------------------------------------------------------
File "./spkg-install", line 478, in <module>
assert_success(rc, bad='Failed to build ATLAS.', good='Finished
building ATLAS core.')
File "./spkg-install", line 74, in assert_success
traceback.print_stack(file=sys.stdout)
------------------------------------------------------------
Error: Failed to build ATLAS.
real 4m10.778s
user 0m7.766s
sys 0m8.391s
Successfully installed atlas-3.10.0
Deleting temporary build directory
/export/home/palmieri/testing/ATLAS/sage-5.2.rc0/spkg/build/atlas-3.10.0
Finished installing atlas-3.10.0.spkg
}}}
I don't know why it's not building, but it shouldn't exit saying
"Successfully installed atlas-3.10.0". I added a print statement, and "rc"
is 512. The [http://docs.python.org/library/sys.html#sys.exit
documentation for sys.exit] says that for the argument, "Most systems
require it to be in the range 0-127, and produce undefined results
otherwise." We could instead do this:
{{{
#!diff
diff --git a/spkg-install b/spkg-install
--- a/spkg-install
+++ b/spkg-install
@@ -74,8 +74,8 @@ def assert_success(rc, good=None, bad=No
traceback.print_stack(file=sys.stdout)
print '-'*60
if bad is not None:
- print 'Error: ', bad
- sys.exit(rc)
+ sys.exit('Error: %s' % bad)
+ sys.exit(1)
######################################################################
### Skip building ATLAS on specific systems
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10508#comment:79>
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.