#9808: Upgrade numpy to 1.5.0 and scipy to 0.8
----------------------------------------------------------------------------------+
Reporter: maldun
| Owner: maldun
Type: task
| Status: needs_work
Priority: major
| Milestone: sage-4.6
Component: packages
| Keywords: numpy, scipy
Author: Stefan Reiterer, Francois Bissey
| Upstream: Reported upstream. Developers acknowledge bug.
Reviewer: Karl-Dieter Crisman, David Kirkby, Leif Leonhardy, Francois
Bissey | Merged:
Work_issues:
|
----------------------------------------------------------------------------------+
Comment(by drkirkby):
Replying to [comment:196 maldun]:
> Sometimes I think this ticket is cursed...
> How high are the bets that this will work one day before 1.5.1 is
released? =D
Well the Numpy now works, but Scipy is presenting a problem on
!OpenSolaris due to the fact that the wrong compiler is being used. The
variable {{{SAGE_FORTRAN}}} should specify the compiler:
{{{
drkir...@hawk:~$ echo $SAGE_FORTRAN
/usr/local/gcc-4.5.0-delayed/bin/gfortran
}}}
used for all Fortran bits in Sage. But this version of Scipy has now
decided to go off and use {{{/usr/bin/f90}}} which is the Sun Fortran
compiler.
I note that Francois has added this line:
{{{
export FC="${SAGE_LOCAL}/bin/sage_fortran"
}}}
but it is not sufficient to get Scipy to use the right compiler.
{{{
f90: Internal Error, code=fw-interface-cexp-277, last
src=scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/zneupd.f:673
error: Command "/usr/bin/f90 -ftrap=%none -f77 -xcode=pic32
-Iscipy/sparse/linalg/eigen/arpack/ARPACK/SRC
-I/export/home/drkirkby/sage-4.6.alpha2/local/lib/python2.6/site-
packages/numpy/core/include -c -c
scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/zneupd.f -o
build/temp.solaris-2.11-i86pc-2.6/scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/zneupd.o"
failed with exit status 1
Error building scipy.
real 2m40.038s
user 1m13.094s
sys 0m12.185s
sage: An error occurred while installing scipy-0.8
}}}
I then set {{{F90}}}, but found Scipy was then using the Fortran 77
compiler {{{/usr/bin/f77}}}. So I had to set {{{F77}}} too. I decided to
set {{{F95}}} just in case, there is, or the developers add some Fortran
95 code. So with all these set:
{{{
export FC="$SAGE_LOCAL/bin/sage_fortran"
export F77="$SAGE_LOCAL/bin/sage_fortran"
export F90="$SAGE_LOCAL/bin/sage_fortran"
export F95="$SAGE_LOCAL/bin/sage_fortran"
}}}
Scipy does build on !OpenSolaris OK.
But I looked at the SPKG.txt and found there are many things missing,
which should be there. I will try to improve that and post a Scipy
package.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9808#comment:198>
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.