Dear Pierre,
I cannot get numpy-0.9.5 to install cleanly. I tried the
uninstall/clean/build/install crap but no luck. I get the following
error
==
RuntimeError: module compiled against version 90504 of C-API but this
version of numpy is 90500
==
I checked the numpy lists but could not get around it.
The archive file you uploaded to SF download page does not contain
"testing/src/solvers/solver_doc.ic" but seems to be required for the
build. I copied it from CVS. Nothing much in there anyway. The tests
are not passesd successfully. Probably you noticed similar error with
numpy-0.9.8. (I am using 0.9.6)
======================================================================
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!
If it works out easier I can directly download from CVS.
cheers,
Krishna.
On 5/22/06, Pierre SCHNIZER <[EMAIL PROTECTED]> wrote:
Krishna Mohan Gundu wrote:
> Hello,
>
> Is there any easy way to build PyGSL with NumPy. I noticed that PyGSL
> requires either Numeric or numarray and generates appropriate code.
> But NumPy is different from Numeric. Is it compatible with NumPy at
> all?
>
> I faked the presence of Numeric library and used convertcode.py that
> ships with NumPy on the PyGSL installation. I also changed
> "_numobj.py" "_mlab.py" appropriately. That did the trick for imports.
>
> But looks like thats not enough. When I tried to test the library I
> got the following errors. Is this because the test file has bugs or my
> installation and further modifications are not enough?
Dear Krishna,
I uploaded a new release with support added for numpy.
It should work, as it passed nealy all the tests for numpy-0.9.5 but
there are some failures for numpy-0.9.8.
I will see to the differences for numpy-0.9.8 and why I get failures there.
Do you require the package precisly for numpy-0.9.6?
Please could you then run the tests and inform me what goes wrong?
Sincerely yours
Pierre
--
+------------------------------------------------+
Pierre Schnizer <[EMAIL PROTECTED]>
Telephon : +49 6159 71 2490
Fax : +49 6159 71 2043
Adress :
Pierre Schnizer
BTE / MT
Gesellschaft fuer Schwerionenforschung
Planckstrasse 1
64291 Darmstadt
Germany
+-------------------------------------------------+
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss