Michael

I followed your suggestion and then sage compiled without a hitch.
Thanks for this.

In the interim, I have been busy grading, but I was working with sage
this afternoon
even though I should still have been grading.  As a punishment I find
now that the spectrum()
command in the graphs class is not working.  See the extract below.

All the best
Chris

--------
| Sage Version 3.4, Release Date: 2009-03-11                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: P = graphs.PetersenGraph()
sage: A = P.am()
sage: P.spectrum()
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call
last)

/Users/cgodsil/Code/sgwork/<ipython console> in <module>()

/Applications/sage-3.4/local/lib/python2.5/site-packages/sage/graphs/
graph.pyc in spectrum(self, laplacian)
   6784             M = self.am()
   6785         M = matrix(RDF, M.rows())
-> 6786         E = M.right_eigenvectors()[0]
   6787         v = [e.real() for e in E]
   6788         v.sort()

/Applications/sage-3.4/local/lib/python2.5/site-packages/sage/matrix/
matrix_double_dense.so in
sage.matrix.matrix_double_dense.Matrix_double_dense.right_eigenvectors
(sage/matrix/matrix_double_dense.c:5008)()

ImportError: No module named scipy
sage: revs =A.right_eigenvectors()
sage: B = matrix(RDF, A.rows())
sage: brevs = B.right_eigenvectors()
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call
last)

/Users/cgodsil/Code/sgwork/<ipython console> in <module>()

/Applications/sage-3.4/local/lib/python2.5/site-packages/sage/matrix/
matrix_double_dense.so in
sage.matrix.matrix_double_dense.Matrix_double_dense.right_eigenvectors
(sage/matrix/matrix_double_dense.c:5008)()

ImportError: No module named scipy
sage: type(A)
<type 'sage.matrix.matrix_integer_dense.Matrix_integer_dense'>
sage: type(B)
<type 'sage.matrix.matrix_real_double_dense.Matrix_real_double_dense'>


On Apr 9, 4:49 pm, mabshoff <mabsh...@googlemail.com> wrote:
> On Apr 9, 12:53 pm, Chris Godsil <cgod...@uwaterloo.ca> wrote:
>
> Hi Chris,
>
> > I tried to compile sage-3.4 on a Mac Pro (two quad-core intel xeon
> > processors, OS 10.5.6) using gcc4.0.1.  As instructed, I hid /opt/
> > local.  Nonetheless I failed; what seems to be the relevant part of
> > install.log is included below.
>

[stuff deleted - cdg]
>
> Please download
>
>    http://sage.math.washington.edu/home/mabshoff/release-cycles-3.4.1/rc...
>
> drop it into $SAGE_ROOT/spkg/standard and restart the build process
> with make. I believe that the latest MPIR that will be in 3.4.1 once
> it is out soon should fix it. If not I can get it fixed upstream and
> update MPIR, but the issue you hit looks like one that has been fixed
> between the 0.9 MPIR release and now.

[stuff deleted - cdg]
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to