[SciPy-dev] newcore and gcc4/gfortran (only 3 tests fail now)

Arnd Baecker arnd.baecker at web.de
Tue Nov 22 02:06:33 CST 2005


On Mon, 21 Nov 2005, Pearu Peterson wrote:

> On Mon, 21 Nov 2005, Arnd Baecker wrote:
>
> >> Try adding -lg2c to linkage command
> >
> > Just to be sure: when building blas/lapack
> > or when building scipy?
>
> When building scipy OR build blas/lapack with gfortran.
>
> > For the latter: What is the best way to do this?
> > Can one add a flag to the build command
> >  python setup.py config_fc --fcompiler=gnu95 build
> > ?
>
> Yes, see
>
>     python setup.py build_ext --help
>
> Use -l (and -L).

Many thanks -
  python setup.py config_fc --fcompiler=gnu95 -lg2c build
worked fine for me.

And with
 >>> scipy.__core_version__   '0.7.1.1526'
 >>> scipy.__scipy_version__  '0.4.2_1456'
the check_bdtrik (scipy.special.basic.test_basic.test_cephes)
Segmentation fault is gone!

Best, Arnd




More information about the Scipy-dev mailing list