[Top][All Lists]

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

inv function failing?

From: Enzo Alberto Dari
Subject: inv function failing?
Date: Sun, 4 Dec 2022 17:01:29 -0300

While upgrading my debian OS from 10.x to 11.x (octave 4.4.5 to 6.2.0), one of my scripts started failing. I managed to create a simple test (attached if the mailing list doesn't block it) that reproduces the problem.
The matrix is blocked, so there is an alternate method to compute its inverse by blocks that always works. This test verifies if the computed inverse times the original matrix has condition number 1 (as it should be for the identity matrix).
To make things more complicated, I ran the test in 5 machines with debian 11.5 (octave 6.2.0) and it failed in 3 of them, working ok in the other 2. Perhaps something to do with new processor features? (apparently is failing in machines with "newer" processors):
Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz: Ok.
Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz: Ok.
Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz: Fails.
Intel(R) Core(TM) i9-7900X CPU @ 3.30GHz: Fails.
Intel(R) Core(TM) i9-9900X CPU @ 3.50GHz: Fails.

Any clue about what may be happening?
Any tips for further analysis?
Thanks in advance,

Enzo A. Dari
Profesor Titular

Attachment: chkBlockedInverse.m
Description: Text Data

reply via email to

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