Setting autophase option without a cavity in beamline throws mysterious error
With "OPTION, AUTOPHASE=4;"
in my input file when I use a beamline without a cavity I see an error like:
opal(7879,0x7fff7f140000) malloc: *** error for object 0x7fff9a15b9f3: pointer being freed was not allocated
Turning autophase off allowed my input file to run without error, but this error was not very informative and it took quite a while to find the culprit. It might be helpful if making this mistake generated a specific error message.