Dear Pierre,

I installed numpy-0.9.5 and the errors still persist. What is the
architecture of the machine ran the tests on with numpy-0.9.5? Are
these errors due to x86_64? I tried to debug it last friday but
realized it would take me long to do that. What do you suggest?

cheers,
Krishna.

======================================================================
ERROR: testDasum (__main__.BlasTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/krishna/local/inst/pygsl-0.3.numpy_test/tests/blas_test.py",
line 38, in testDasum
   comp = dasum(self.v1_4)
 File "/home/krishna/local/lib/python2.4/site-packages/pygsl/blas.py",
line 93, in dasum
   return _gslwrap.gsl_blas_dasum(x)
 File "src/init/block_helpers_numpy.ic", line 97, in
PyGSL_PyArray_prepare_gsl_vector_view
 File "src/init/block_helpers.c", line 102, in PyGSL_PyArray_Check
gsl_BadLength: matrix/vector sizes are not conformant: The size of
argument   1 did not match the expected size for the 0 dimension. I
got   4 elements but expected  4294967295 elements!

On 5/23/06, Krishna Mohan Gundu <[EMAIL PROTECTED]> wrote:
Dear Pierre,

> I do not know, I think I had more but not that error.
> run_tests.py will run all tests. I had only errors which are linked to
> int arrrays and char arrays.
> > ======================================================================
> > ERROR: testDasum (__main__.BlasTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >  File "pygsl-0.3.numpy_test/tests/blas_test.py", line 38, in testDasum
> >    comp = dasum(self.v1_4)
> >  File "/home/krishna/local/lib/python2.4/site-packages/pygsl/blas.py",
> > line 93, in dasum
> >    return _gslwrap.gsl_blas_dasum(x)
> >  File "src/init/block_helpers_numpy.ic", line 97, in
> > PyGSL_PyArray_prepare_gsl_vector_view
> >  File "src/init/block_helpers.c", line 102, in PyGSL_PyArray_Check
> > gsl_BadLength: matrix/vector sizes are not conformant: The size of
> > argument   1 did not match the expected size for the 0 dimension. I
> > got   4 elements but expected  4294967295 elements!
> Could you please remove the build directory and build it again? I can
> not reproduce this error?
>
> If it occurs, could you please list which compiler and architecture you
> are using?

I usually delete the entire directory and recreate everything. (python
builds seem strange to me compared to Makefiles. Although a clean
deletes the build directory, it keeps other modifications outside the
build directory. In case of pygsl that would be pygsl/_numobj.py and
the like)

My arch is x86_64 and compiler is `gcc -v`
==
Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-49)
==

hope that helps,
Krishna



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss

Reply via email to