[SciPy-dev] newcore and gcc4/gfortran (SUCCESS)

Stephen Walton stephen.walton at csun.edu
Wed Nov 30 14:43:46 CST 2005

Ravikiran Rajagopal wrote:

>Well, I am happy to report that I can do one better. With gcc4/gfortran combo 
>from SVN yesterday, along with the usual Redhat/Fedora patches (see 
>https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173771 for the complete 
>discussion regarding SciPy), I can now compile ATLAS and SciPy with no 
>problems and all tests pass with the following patch:
>Index: Lib/lib/blas/fblaswrap.f.src
>--- Lib/lib/blas/fblaswrap.f.src	(revision 1452)
>+++ Lib/lib/blas/fblaswrap.f.src	(working copy)
>@@ -1,7 +1,7 @@
> c     <p2=c,z,c,z> <s2=u,u,c,c> <ftype2=complex,double complex,\0,\1>
>       subroutine w<p2>dot<s2> (r, n, x, incx, y, incy)
>       external <p2>dot<s2>
>-      complex <p2>dot<s2>, r
>+      <ftype2> <p2>dot<s2>, r
>       integer n
>       <ftype2> x (*)
>       integer incx
I have checked the above fix into scipy, along with a couple of other 
small patches, making revision 1467.  Fedora users might be interested 
to know that gcc 4.0.2, which includes the gfortran patches needed to 
compile scipy correctly, was released as a Fedora Core 4 update yesterday.

I appreciate the effort Ravi put into making scipy work with gfortran.

More information about the Scipy-dev mailing list