run_setup very slow for very long beam line.

Moderators: cyao, michael_borland

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

Re: run_setup very slow for very long beam line.

Post by michael_borland » 12 Dec 2014, 17:01

Yue,

Try "make clean" before "make MPI=1".

--Michael

yuehao
Posts: 40
Joined: 25 Oct 2011, 14:50

Re: run_setup very slow for very long beam line.

Post by yuehao » 12 Dec 2014, 19:00

Now Pelegant works like a charm.

Thank you very much and have a nice weekend.

Yue

yuehao
Posts: 40
Joined: 25 Oct 2011, 14:50

Re: run_setup very slow for very long beam line.

Post by yuehao » 30 Dec 2014, 11:48

Hi, Michael

I am trying to track the long lattice many times, each varying some parameters. Is there a way of loop inside the command file without read the same lattice repeatedly, since it still takes seconds to read.

Thanks,
Yue

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

Re: run_setup very slow for very long beam line.

Post by michael_borland » 05 Jan 2015, 09:49

Yue,

Yes, this is possible using the &vary_element command. See
http://www.aps.anl.gov/Accelerator_Syst ... ode79.html

--Michael

Post Reply