error message

Moderators: cyao, michael_borland

Post Reply
nakamura
Posts: 13
Joined: 09 Sep 2011, 20:35

error message

Post by nakamura » 10 Feb 2020, 04:13

After Elegant version up to ver. 35.1.0 from ver. 25.2.1, an error message "run_setup, run_control, and beam definition must precede track namelist" appears in the log file.
My elegant file is almost like this:

&rpn_load ... &end

&run_setup ... &end

&run_control ... &end

&optimization_setup ... &end

&optimization_variable ... &end

&bunched_beam ... &end

&optimize ... &end

&track &end

&save_lattice ... &end (save a new lattice file)

&rpn_load ... &end (use the new lattice file)

&run_setup ... &end

&run_control ... &end

&bunched_beam ... &end

&track &end

&stop &end

Optimization was done, but a new lattice file with the optimized parameter values was not created.
I made some modifications of the elegant file, but I could not successfully complete the job.
Please advice me how to modify the elegant file or what to do.

Thanks in advance
Norio

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: error message

Post by michael_borland » 17 Feb 2020, 13:36

Norio,

You have an &optimize command followed immediately by a &track command, which isn't allowed. &optimize is a major action command, so when it completes, you need a new &run_setup command to start a new calculation.

--Michael

Post Reply