Bug#613094: libatlas: Error in cblas_dgemm in ATLAS 3.8.3 in Debian GNU/kFreeBSD 32 bits

2011-02-13 Thread Sylvestre Ledru
Le dimanche 13 février 2011 à 11:53 +0100, José Luis García Pallero a
écrit :
> El día 13 de febrero de 2011 11:37, Sylvestre Ledru
>  escribió:
> > Hello,
> >
> > Le dimanche 13 février 2011 à 11:25 +0100, José Luis García Pallero a
> > écrit :
> >
> >> I have installed the packages libatlas3gf-base, libatlas-dev and
> >> libatlas-base-dev.
> > Did you try with the packages from squeeze ?
> >
> > Thanks
> > S
> 
> OK, you are right. In Squeeze the ATLAS version is 3.8.3-27 and runs
> without problem. The bug is in the build 29 of ATLAS in Sid
OK
Some elements of the build chain changed between the 27 and 29. It
causes this kind of issues and also build failures.
See bug #589464.

The bad news is that I have no clue on what is causing it (and therefor
how to fix it) ...

Sylvestre







--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#613094: libatlas: Error in cblas_dgemm in ATLAS 3.8.3 in Debian GNU/kFreeBSD 32 bits

2011-02-13 Thread José Luis García Pallero
El día 13 de febrero de 2011 11:37, Sylvestre Ledru
 escribió:
> Hello,
>
> Le dimanche 13 février 2011 à 11:25 +0100, José Luis García Pallero a
> écrit :
>
>> I have installed the packages libatlas3gf-base, libatlas-dev and
>> libatlas-base-dev.
> Did you try with the packages from squeeze ?
>
> Thanks
> S

OK, you are right. In Squeeze the ATLAS version is 3.8.3-27 and runs
without problem. The bug is in the build 29 of ATLAS in Sid

-- 
*
José Luis García Pallero
jgpall...@gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#613094: libatlas: Error in cblas_dgemm in ATLAS 3.8.3 in Debian GNU/kFreeBSD 32 bits

2011-02-13 Thread Sylvestre Ledru
Hello,

Le dimanche 13 février 2011 à 11:25 +0100, José Luis García Pallero a
écrit :

> I have installed the packages libatlas3gf-base, libatlas-dev and
> libatlas-base-dev.
Did you try with the packages from squeeze ?

Thanks
S





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#613094: libatlas: Error in cblas_dgemm in ATLAS 3.8.3 in Debian GNU/kFreeBSD 32 bits

2011-02-13 Thread José Luis García Pallero
Hello,

For me both linking commands

gcc b.c -Wall -O2 /usr/lib/atlas-base/libcblas.a /usr/lib/atlas-base/libatlas.a
gcc b.c -Wall -O2 -lcblas

causes the "Illegal instruction" abort in the execution.

I have installed the packages libatlas3gf-base, libatlas-dev and
libatlas-base-dev.

My machine is a centrino laptop (first generation) with 1 GB of RAM.

cat /proc/cpuinfo says:

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 7
model name  : Intel(R) Pentium(R) M processor 1300MHz
stepping: 5
flags   : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov
pat b21 mmxext mmx fxsr xmm sse2 b29 3dnow
cpu MHz : 1294.75
bogomips: 1294.75

I found the original error compiling the latest version of GNU Octave
and in the version of Octave in Debian GNU/kFreeBSD repos too. I
reported the bug for the Octave package and Thomas Weber suspect a
problem with ATLAS an the architecture. Here is his response:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613070#20

-- 
*
José Luis García Pallero
jgpall...@gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#613094: libatlas: Error in cblas_dgemm in ATLAS 3.8.3 in Debian GNU/kFreeBSD 32 bits

2011-02-13 Thread Petr Salinger

user debian-...@lists.debian.org
usertag 613094 + kfreebsd
--

Hi,

please could provide also your linking command and related package list.

I tried 
gcc b.c -Wall -O2 /usr/lib/atlas-base/libcblas.a /usr/lib/atlas-base/libatlas.a

gcc b.c -Wall -O2 -lcblas

and provided C example seems be fine on my machine.

I tested with both squeeze and sid version of libatlas3gf-base

Petr




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#613094: libatlas: Error in cblas_dgemm in ATLAS 3.8.3 in Debian GNU/kFreeBSD 32 bits

2011-02-12 Thread José Luis García Pallero
Package: libatlas3gf-base
Version: 3.8.3-29
Severity: grave
File: libatlas
Justification: renders package unusable


In Debian GNU/Linux all runs OK, but in the new Debian GNU/kFreeBSD an error 
with cblas_dgemm occurs (I don't know if the error
affects to sgemm, cgemm and/or zgemm). If I try to multiply two matrices bigger 
than 51x51 elements ATLAS crashes with an
"Illegal instruction" message. Here is a simple program to demonstrate the fact:

#include
#define N 52
int main()
{
   double A[N*N],B[N*N],C[N*N];
   
cblas_dgemm(CblasColMajor,CblasNoTrans,CblasNoTrans,N,N,N,1.0,A,N,B,N,1.0,C,N);
   return 0;
}

I don't know if the error persists in the current ATLAS development sources 
and/or in pure FreeBSD systems.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.1-1-686
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libatlas3gf-base depends on:
ii  libc0.1   2.11.2-11  Embedded GNU C Library: Shared lib
ii  libgcc1   1:4.4.5-10 GCC support library
ii  libgfortran3  4.4.5-10   Runtime library for GNU Fortran ap

libatlas3gf-base recommends no packages.

Versions of packages libatlas3gf-base suggests:
ii  libblas3gf1.2-8  Basic Linear Algebra Reference imp
ii  liblapack3gf  3.3.0-3library of linear algebra routines

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org