[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] bug in cblas on aix

From: Kyle L. Jensen
Subject: Re: [Bug-gsl] bug in cblas on aix
Date: Thu, 24 Jun 2004 07:23:14 -0400

Hi Brian,

Yeah, I should have included that, sorry.  However, it still bails.
Also, it bails with the ATLAS BLAS libraries "-lgsl -lcblas -latlas -lm"

What's funny is that, I finally got it to work right after submitting
the bug report.  But, I had to use gcc+gnu ld to compile gsl.  Wild.

Gnu ld doesn't always make good shared libraries on aix (and it warns
you as such when it runs!), so gcc normally just uses aix's ld.  On a
whim I had it use gnu ld and the seg fault that I described went away.

I have not tried xlc with gnu ld.

Whatever the problem is --- it probably has to do with the linker on 
and aix and how it's processing the cblas/*dot.c files...I was able
to make code that used these routines seg fault every time.  Wierd!

Thanks for following up so fast Brian.  All the best,


On Thu, Jun 24, 2004 at 11:09:45AM +0100, Brian Gough wrote:
> Kyle L. Jensen writes:
>  > - a piece of C is attached.  here's a transcript of compilation
>  >   and the gdb backtrace (as a side note, compiling the blas.c
>  >   file in doc/examples also works just fine but seg faults on
>  >   execution...both with gcc and xlc)
>  > 
>  > address@hidden ~/GSL]$ xlc -L /usr/local/lib -I /usr/local/include -lgsl 
> -g svd-test.c 
> Thanks for the bug report.
> Can you try -lgslcblas to link with the GSL cblas.
> Maybe the default cblas on your system is not compatible in some way
> (if you can find out why that would be useful).
> -- 
> Brian Gough

reply via email to

[Prev in Thread] Current Thread [Next in Thread]