| MATLAB Central > MATLAB Newsreader > Is it a bug or what is it? |
|
|
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 24 Sep, 2009 08:17:04 Message: 1 of 73 |
|
I have following trouble: |
|
On 24 Sep, 10:17, "Victor kasaksha" <vi...@mail.ru> wrote: |
|
"Victor kasaksha" <viphe@mail.ru> wrote in message <h9f9u0$elc$1@fred.mathworks.com>... |
|
On 24 Sep, 10:41, "Bruno Luong" <b.lu...@fogale.findmycountry> wrote: |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 07:31:18 Message: 5 of 73 |
|
With R2009b it is more curious. If you for example multiply two (200x2000) random matrices with one computational thread and then the same two matrices with two comp. threads you will get two different products and they are !!! different in the third digit !!! So it is obvious that there is something wrong. From numerical viewpoint it is not possible that there arise such differences because of summation order. (third digit different!!! --> All our computations are wrong) |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 07:36:02 Message: 6 of 73 |
|
(in above this are two 2000x2000 matrices, sorry) |
|
"Victor kasaksha" <viphe@mail.ru> wrote in message <h9hrk6$plp$1@fred.mathworks.com>... |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 07:50:19 Message: 8 of 73 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h9hs6v$46e$1@fred.mathworks.com>... |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 07:52:03 Message: 9 of 73 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h9hs6v$46e$1@fred.mathworks.com>... |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 08:02:42 Message: 10 of 73 |
|
O.K. now a windows Sysem: |
|
|
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 08:55:19 Message: 12 of 73 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h9hvfg$16$1@fred.mathworks.com>... |
|
On 25 Sep, 10:55, "Victor kasaksha" <vi...@mail.ru> wrote: |
|
On 25 Sep, 11:04, Rune Allnor <all...@tele.ntnu.no> wrote: |
|
> >> C1(500,500) |
|
Work also fine on XP 32 Intel Core 2 Duo. So I don't know what's up with your computer. |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 12:13:03 Message: 17 of 73 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h9iaad$p3i$1@fred.mathworks.com>... |
|
Can you compare s with C1(500,500) and C2(500,500) |
|
|
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 12:52:03 Message: 20 of 73 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h9icai$6vu$1@fred.mathworks.com>... |
|
This is not a bug. To achieve highest performance, many computations will be |
|
"Bobby Cheng" <bcheng@mathworks.com> wrote in message <h9ijb2$7dp$1@fred.mathworks.com>... |
|
"Victor kasaksha" <viphe@mail.ru> wrote in message <h9iedj$rnf$1@fred.mathworks.com>... |
|
|
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 15:15:09 Message: 25 of 73 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h9il70$cge$1@fred.mathworks.com>... |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 15:23:03 Message: 26 of 73 |
|
"Bobby Cheng" <bcheng@mathworks.com> wrote in message <h9ijb2$7dp$1@fred.mathworks.com>... |
|
Hi Victor, |
|
"Steven Lord" <slord@mathworks.com> wrote in message <h9ilv8$3uq$1@fred.mathworks.com>... |
|
I agree that the third digit difference is puzzling |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 25 Sep, 2009 16:46:02 Message: 30 of 73 |
|
Dear Bob, again: |
|
Hi Victor, |
|
On Sep 25, 4:42 am, "Bruno Luong" <b.lu...@fogale.findmycountry> |
|
Nathan, |
|
I agree that it is important to clear the issues on hand. Here is my attempt |
|
Thank you Bobby. |
|
Nathan <ngreco32@gmail.com> wrote in message <0a4afd9f-a8ca-466c-a6e7-abc192545773@m33g2000pri.googlegroups.com>... |
|
"Bobby Cheng" <bcheng@mathworks.com> wrote in message <h9kavf$77g$1@fred.mathworks.com>... |
|
Yes, something like that. |
|
"Bobby Cheng" <bcheng@mathworks.com> wrote in message <h9n3fm$3t2$1@fred.mathworks.com>... |
|
Victor Nathan and all those who get different matrix results with different thread setup, could you try the following script and post what you get. Thanks. |
|
MATLAB, in my knowledge, does not try catching floating point exception. |
|
Victor, |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 28 Sep, 2009 12:20:19 Message: 43 of 73 |
|
Hello all, I apologize for the late answer: |
|
|
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 28 Sep, 2009 14:53:01 Message: 45 of 73 |
|
It seems to be complicated to report a bug on mathworks, so I dont want to do that. I searches for 10 minites where can I do that, but nothing found. If they are interested in that, so they can found all here: |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 28 Sep, 2009 15:07:02 Message: 46 of 73 |
|
O.K. I did that. Thanks. |
|
"Steven Lord" <slord@mathworks.com> wrote in message <h9qh7t$t7o$1@fred.mathworks.com>... |
|
|
|
|
|
"Victor kasaksha" <viphe@mail.ru> wrote in message <h9htf1$rrd$1@fred.mathworks.com>... |
|
|
|
Budias, |
|
Victor, |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 29 Sep, 2009 06:30:19 Message: 54 of 73 |
|
Hello all, |
|
My Dell (Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz) does not seem to be affected by the bug. |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h9saub$pik$1@fred.mathworks.com>... |
|
"Bobby Cheng" <bcheng@mathworks.com> wrote in message <h9s1m7$8uc$1@fred.mathworks.com>... |
|
Any updates on this subject so far? |
|
I can give my example where the problem occurs when passing from 1000x1000 to 2000x2000: |
|
If I may add an observation, it seems that differences between matrices are close to Gaussian. |
|
Hi all, |
|
Hi Gabriele, |
|
Hi Sebastian, |
|
"Gabriele " <ruga.ANTI@SPAM.libero.it> wrote in message <hams2p$ekv$1@fred.mathworks.com>... |
|
|
|
"Sebastiaan " <s.breedveld@erasmusmc.REMOVE.BOO.BOO.nl> wrote in message <hamtn9$crf$1@fred.mathworks.com>... |
|
> As already written for the CPU: |
|
|
|
We suspect that processors that have sse4 instruction will encounter this |
|
On Oct 9, 5:47 am, "Sebastiaan " |
|
Subject: Is it a bug or what is it? From: Victor kasaksha Date: 12 Oct, 2009 11:31:03 Message: 71 of 73 |
|
My solution to this bug: |
|
A patch has been released. The patch can obtained through the contact support. More detail in: |
|
"Victor kasaksha" <viphe@mail.ru> wrote in message <h9f9u0$elc$1@fred.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| gotoblas | Gabriele | 13 Oct, 2009 07:26:58 |
| threads | Sprinceana | 26 Sep, 2009 04:52:42 |
| rand | Sprinceana | 26 Sep, 2009 04:52:42 |
