Major problem with Cholesky decomposition

2 vues (au cours des 30 derniers jours)
Mario Solis-Garcia
Mario Solis-Garcia le 15 Juil 2018
Commenté : Christine Tobler le 17 Juil 2018
Hi all,
I'm having major issues with the chol command. A code I need to run uses Cholesky decomposition and it crashes right at the point where it needs to manipulate a matrix.
Even worse, Matlab yields the following nonsense (see below):
Note that this example comes straight from the chol help file. Any idea why this is happening? I'm using version 2013b. Thanks!
  11 commentaires
dpb
dpb le 17 Juil 2018
Too bad...since it's builtin pretty clear there's a interaction issue of some sort going on.
Appears only choice other than an upgrade would be to try reversion of any OS upgrades or to upgrade to see if that would somehow magically make the symptom disappear.
Do you have previous knowledge it did work at one time on the specific machine?
Christine Tobler
Christine Tobler le 17 Juil 2018
That's too bad. And the "out of memory" message is weird on a whole different level: The only difference between the one-output and two-output calls is that one scalar number is allocated for p. So there's something seriously bad going on with this installation.
I haven't heard of any problems with R2013b and i7 CPUs, but upgrading MATLAB / changing your OS configuation seems like a reasonable idea.
Is Cholesky the only function you're seeing problems with? I'd expect all linear algebra operations / all operations in general to have problems, given how badly Cholesky is doing here.

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 15 Juil 2018
Either this is a problem with the called libraries or a user defined function shadows the original one, but contains a bug. Please run:
profile clear
profile('on', '-detail', 'builtin')
chol(pascal(5))
profile report
Do you see any function, which differs from "(built-in function)"?
  8 commentaires
Walter Roberson
Walter Roberson le 16 Juil 2018
... I was close. There was a Core i7 option for MacBook Pro from mid 2010 and for Mac Mini from mid 2011.
Mario Solis-Garcia
Mario Solis-Garcia le 17 Juil 2018
@Jan, @Philip: you were right, I blame the copy+paste. Output is attached, hope you find it more illuminating than me.
@Philip: it's a 2015 iMac, kept using 2013b after I forgot to renew the maintenance service -- 2013b worked just fine for what I needed -- but about a month ago the software just went nuts. I guess I can pay to get 2018a (I'm currently using the trial version and everything works as advertised) but I'm still puzzled about why this is happening in the first place.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by