[SciPy-user] Problems installing scipy 0.6 on FC5

Alexander Dietz Alexander.Dietz@astro.cf.ac...
Thu Dec 6 14:56:50 CST 2007


Hi,

I finally found a work-around for my problems installing scipy for my Linux
distribution:
I needed just to comment the line in

/numpy/distutils/fcompiler/gnu.py

in which the term "msse2" is set as an compiler option. Then scipy installs
without problems...

Cheers
  Alex

On Nov 27, 2007 9:46 AM, David Cournapeau <david@ar.media.kyoto-u.ac.jp>
wrote:

> David Cournapeau wrote:
> > Alexander Dietz wrote:
> >
> >>
> >>
> >>     Also, you could try to see which
> >>     flag make it fails, for example, does the following:
> >>
> >>     /usr/bin/g77 -g -Wall -fno-second-underscore -fPIC -O2
> -funroll-loops
> >>     -march=i686 -mmmx -msse -fomit-frame-pointer -malign-double -c
> >>     scipy/fftpack/dfftpack/zfftb1.f
> >>
> >>
> >> That worked actually...
> >>
> > Yes, so the problem is your gcc version. Maybe we could disable adding
> > -msse2 altogether for gcc < 3.3, instead of enabling it for gcc > 3.2.2
> > (look at numpy/distutils/fcompiler/gnu.py, and look for -msse2; if Pearu
> > or David are reading this, maybe they know a better solution ?).
> >
> > Note that FC5 is old. You should consider upgrading (FC 5 is not
> > maintained anymore) if you can,
> I forgot: another possibility is to use gfortran instead of g77, but you
> will have to recompile everything (you cannot really mix  g77 and
> gfortran code together), including BLAS/LAPACK. For FC6, I remember that
> gfortran is the default ABI, so this is anyway the best choice, but I am
> not sure for FC5.
>
> David
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20071206/6fd3e4cd/attachment.html 


More information about the SciPy-user mailing list