Page 1 of 2

Orbit response matrix bug in elegant 20.0

Posted: 16 Jan 2009, 01:05
by petrenko
Orbit response matrix fitting does not work in new elegant 20.0:

This is the responseMatrixFit4 example:

> [petrenko@localhost]$ elegant match1.ele
> ...
> Error: Memory is not allocated (matrix_mult)!

Re: Orbit response matrix bug in elegant 20.0

Posted: 16 Jan 2009, 03:01
by leocmq
similar situ

Re: Orbit response matrix bug in elegant 20.0

Posted: 16 Jan 2009, 09:24
by michael_borland
I've confirmed this bug and am looking into it. It seems only to affect response matrices during optimization, which unfortunately wasn't covered by the regression tests.

Have you seen it in any other cases?

--Michael

Re: Orbit response matrix bug in elegant 20.0

Posted: 16 Jan 2009, 10:37
by michael_borland
I've determined that this will also affect runs with use_perturbed_matrix=1 in the &correct command and that request repeated response matrix inverse computation via use_perturbed_matrix in the &correct command.

A fix will be available shortly.

--Michael

Re: Orbit response matrix bug in elegant 20.0

Posted: 16 Jan 2009, 13:55
by michael_borland
For those who build from source, the attached tar file contains several updated files that fix this bug.

For others, we'll have the fix posted on our web site in a few days.

--Michael

Re: Orbit response matrix bug in elegant 20.0

Posted: 16 Jan 2009, 15:12
by soliday
The fix has been posted on the software download page. All the releases with the January 16th date contain the fix.

Re: Orbit response matrix bug in elegant 20.0

Posted: 16 Jan 2009, 15:12
by michael_borland
Version 20.0 has been updated on the web to fix this bug.

Thanks to Bob Soliday for lightning-fast turnaround on this.

--Michael

Re: Orbit response matrix bug in elegant 20.0

Posted: 26 Jan 2009, 16:37
by fliller
Mike,

I downloaded version 20.0 binary on January 26. I see the bug still. In the &correct command, if I set use_perturbed_matrix=1, this fails. It worked with version 19.

Re: Orbit response matrix bug in elegant 20.0

Posted: 26 Jan 2009, 19:37
by michael_borland
Ray,

I tried your files and they worked without any errors. Can you check that you have the right version installed? If you just run without any arguments, you should get a message starting with "This is elegant 20.0.3". If it says 20.0.2, you are still using the previous release.

--Michael

Re: Orbit response matrix bug in elegant 20.0

Posted: 27 Jan 2009, 06:43
by fliller
Mike,

I am using 20.0.3. Try this file. The only difference with the previous is that use_perturbed_matrix=1. This breaks it.

Ray