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

Arnd Baecker arnd.baecker at web.de
Mon Nov 21 04:49:37 CST 2005


On Mon, 21 Nov 2005, Pearu Peterson wrote:

> On Mon, 21 Nov 2005, Arnd Baecker wrote:
>
> > ((Doing the build with
> >    python setup.py config_fc --fcompiler=gnu95 build
> >  fails - as expected ))
>
> Hmm, why would that be expected?

Well, somehow I remember that gfortran was not considered
to be ready for prime time - can't confirm this as scipy.org
seems to be down at the moment. In addition, I might
be running a version which is not young enough ...

> What errors do you get? Here
>
>    python setup.py config_fc --fcompiler=gnu95 build
>
> works fine (I just get a segfault in one of cephes tests when building
> with gfortran).

OK, I should have been more precise: the build works fine.
But already on import I get:

Python 2.4.1 (#1, Sep 12 2005, 23:33:18)
[GCC 4.0.2 20050901 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
Importing test to scipy
Importing base to scipy
Importing basic to scipy
Failed to import basic
/home/abaecker/BUILDS2/Build_87_gcc4/inst_scipy_newcore/lib64/python2.4/site-packages/scipy/lib/blas/fblas.so:
undefined symbol: e_ws
fe
Importing io to scipy
Importing special to scipy
Importing fftpack to scipy
Failed to import fftpack
/home/abaecker/BUILDS2/Build_87_gcc4/inst_scipy_newcore/lib64/python2.4/site-packages/scipy/lib/blas/fblas.so:
undefined symbol: e_ws
fe
Importing utils to scipy
Failed to import utils
cannot import name PostponedException
Importing cluster to scipy
Failed to import cluster
cannot import name PostponedException
Importing sparse to scipy
Importing interpolate to scipy
Importing lib to scipy
Failed to import lib
/home/abaecker/BUILDS2/Build_87_gcc4/inst_scipy_newcore/lib64/python2.4/site-packages/scipy/lib/blas/fblas.so:
undefined symbol: e_ws
fe
Importing signal to scipy
Failed to import signal
cannot import name random
Importing integrate to scipy
Importing optimize to scipy
Failed to import optimize
cannot import name random
Importing linalg to scipy
Failed to import linalg
cannot import name PostponedException
Importing stats to scipy
Failed to import stats
cannot import name PostponedException
Importing basic to scipy
Failed to import basic
/home/abaecker/BUILDS2/Build_87_gcc4/inst_scipy_newcore/lib64/python2.4/site-packages/scipy/lib/blas/fblas.so:
undefined symbol: e_ws
fe

Running scipy.test(10,10) gives

 check_bdtrik (scipy.special.basic.test_basic.test_cephes)
 Segmentation fault
(the same one you get?)

> I have
>
>    gcc (GCC) 4.0.3 20051023 (prerelease) (Debian 4.0.2-3)
>    GNU Fortran 95 (GCC 4.0.3 20051023 (prerelease) (Debian 4.0.2-3))
>

This is definitively newer than what I get for
gcc -v/ gfortran -v (both give the same):
  gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)

Best, Arnd




More information about the Scipy-dev mailing list