Here is what I get if I place ~~ just before call to gsl_cblas_dgemm

]]* : gsl.fs 389 7 22:55:31,077332 sec <5> 6F 6F 804D3E0 804D450
804D4D0  Bus Error ! ]]*

Actually I am not sure how to interpret this since I do not know what
is exactly displaed here. After <5> I assume there my 5 integer
parameters on the stack. They should be correct. 389 is, I assume, the
line in the file it was defined in and 7 is the staring symbol (This
all correspond to reality). Now what about the floating stack? I do
not see it here?

Anyways, I am not sure how to use this information. My matrices have
equal dimensions so this should not be a problem.

Well, thank you for the help. I'll see if  there is something I can
find.

--
Sergey

On Thu, 15 Sep 2005 22:29:22 +0200
Bernd Paysan <[EMAIL PROTECTED]> wrote:

> On Thursday 15 September 2005 02:23, Sergey Plis wrote:
> > Hi!
> >
> > I'm trying to bind some functions from libgsl. When I write binding
> > for this function
> >
> > int gsl_blas_dgemm (CBLAS_TRANSPOSE_t TransA, CBLAS_TRANSPOSE_t
> > TransB, double alpha, const gsl_matrix * A, const gsl_matrix * B,
> > double beta, gsl_matrix * C )
> >
> > Like that:
> >
> > \ BLAS                                      Wed Sep 1416:10:34 MDT
> > 2005 \ constants
> > 111 Constant CblasNoTrans
> >
> > libgsl gsl_blas_dgemm int int df int int df int (int/fp)
> > gsl_blas_dgemm ( alpha beta int int *gsl_matrix *gsl_matrix
> > *gsl_matrix -- n )
> >
> > : ]]* (  *gsl_matrix *gsl_matrix -- *gsl_matrix )
> >
> >     !1 !0 CblasNoTrans CblasNoTrans 2swap 2dup
> >     gsl_matrix size2 @ swap gsl_matrix size1 @ swap
> >     gsl_matrix_alloc
> >     gsl_blas_dgemm drop ;
> >
> >
> > I get Bus error ! ]]* when trying to use ]]*
> >
> > Why?
> 
> No idea, everything looks correct on the first sight. Try insert some
> ~~ watchpoints to see if there are the right parameters on the stack
> as expected. And double-check if the size of the target matrix really
> is sufficient for the matrix product. I think it is all correct, but
> I could make the same error as you.
> 
> -- 
> Bernd Paysan
> "If you want it done right, you have to do it yourself"
> http://www.jwdt.com/~paysan/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to