[SciPy-dev] Problems with building scipy

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Dec 2 03:04:04 EST 2004


Pearu Peterson wrote:

>
>
> On Wed, 1 Dec 2004, Nils Wagner wrote:
>
>> Hi all,
>>
>> Finally, I decided to use FORTRAN LAPACK/BLAS libraries instead of 
>> ATLAS.
>> The environmental variables are set as follows
>> vs/scipy> echo $ATLAS
>> None
>> cvs/scipy> echo $BLAS
>> None
>> cvs/scipy> echo $LAPACK
>> None
>> cvs/scipy> echo $LAPACK_SRC
>> /var/tmp/src/lapack
>> cvs/scipy> echo $BLAS_SRC
>> /var/tmp/src/blas
>>
>> Now python2.3 setup.py build yields
>>
>> Traceback (most recent call last):
>>   f = open(source,'w')
>> NameError: global name 'source' is not defined
>
>
> Fixed in CVS.
>
Thank you.
Now there is only one "failure" in scipy.test() using FORTRAN LAPACK/BLAS.

 ======================================================================
FAIL: check_heev_complex (scipy.lib.lapack.test_lapack.test_flapack_complex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/lib/python2.3/site-packages/scipy/lib/lapack/tests/esv_tests.py", 
line 31, in check_heev_complex
    assert_array_almost_equal(dot(a,v[:,i]),w[i]*v[:,i])
  File "/usr/lib/python2.3/site-packages/scipy_test/testing.py", line 
742, in assert_array_almost_equal
    assert cond,\
AssertionError:
Arrays are not almost equal (mismatch 33.3333333333%):
        Array 1: [-1.2905481 -4.3758251e+00j -2.0410486 +1.3645462e+00j
       3.5935487 +2.8312206e-07j]
        Array 2: [-1.2905486-4.3758267j -2.041049 +1.3645459j  
3.5935484-0.j       ]


----------------------------------------------------------------------
Ran 1172 tests in 2.816s

FAILED (failures=1)
<unittest.TextTestRunner object at 0x412482ac>

Meanwhile, I have also test gcc3.3.4, gcc3.3.2 and gcc3.3.1 
(SuSE9.2/SuSE9.1 /SuSE9.0).
Unfortunately, I got the same segmentation faults as mentioned earlier 
when using ATLAS 3.6 / 3.7.8.
This fact is (at least from my point of
view) very unsatisfactory.

Any comment would be appreciated.

Nils

> Pearu
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev



 





More information about the SciPy-Dev mailing list