Bug#655586: libatlas3gf-base and "Illegal instruction"

Sylvestre Ledru sylvestre at debian.org
Thu Jan 12 15:07:07 UTC 2012


Hello,

Next time, please provide the information on the top if the bug report

Le jeudi 12 janvier 2012 à 15:57 +0100, Stefano Lattarini a écrit :
> Programs linked with libatlas3gf-base unexpectedly die with an
> "Illegal instruction" signal:
> 
>   $ cat > foo.c <<'END'
>   #include <atlas/cblas.h>
>   int main (void)
>   {
>       static double a[2*2];
>       static double b[2*2];
>       static double c[2*2];
>       double alpha = 1.0, beta = 0.0;
>       cblas_dgemm (CblasRowMajor, CblasNoTrans, CblasNoTrans, 2, 2, 2,
>                    alpha, a, 2, b, 2, beta, c, 2);
>       return 0;
>   }
>   END
>   $ gcc -lcblas foo.c
>   $ ./a.out; echo status = $?
>   Illegal instruction
>   status = 132

What is your CPU ? 
$ cat /proc/cpuinfo


Did you try with an optimized version of atlas (see its README.Debian
file).


Thanks
S







More information about the debian-science-maintainers mailing list