Search found 8 matches

by nkuklev
22 Oct 2020, 00:57
Forum: Optimization and Matching
Topic: Optimising Phase Advance - error
Replies: 14
Views: 20700

Re: Optimising Phase Advance - error

Thank you Michael - I must have mixed up my recollection. Here is the real reason: optimization terms were generated automatically in Python code that was 0-indexed, but used last instance of the marker by default. So, adding two markers meant '<marker>#1' was generated and matched first of two actu...
by nkuklev
18 Oct 2020, 19:45
Forum: Optimization and Matching
Topic: Optimising Phase Advance - error
Replies: 14
Views: 20700

Re: Optimising Phase Advance - error

Thank, Michael.

In case anyone else finds this thread, I figured out that the problem was my assumption about <occurenceNumber> indexing. It is [0,...] and not [1,...] - that is why double markers resolved the issue, since then 2nd one of the pair matched.
by nkuklev
04 Sep 2020, 15:10
Forum: General
Topic: Accuracy of exact drift implementation
Replies: 1
Views: 4222

Accuracy of exact drift implementation

Hi Michael, I was playing around with adding new elements, and noticed that drift tracking results from MAD-X and elegant are different. I initially thought both codes had exact drifts. However, in csbend.c: void exactDrift(double **part, long np, double length) { long i; double *coord; for (i=0; i<...
by nkuklev
18 Feb 2020, 03:02
Forum: Bugs
Topic: Segfault in frequency_map when lattice has CHARGE element
Replies: 2
Views: 5763

Re: Segfault in frequency_map when lattice has CHARGE element

Michael,

Please see attached. I have also realized the better fix is to add RECIRC after CHARGE, which is what default examples have. See the RC element at the end of the lattice file.

Nikita
by nkuklev
06 Feb 2020, 14:01
Forum: General
Topic: Elegant using Intel vs AMD CPUs
Replies: 2
Views: 1947

Re: Elegant using Intel vs AMD CPUs

I am also very interested in seeing Zen2 scaling in Pelegant, especially on the upcoming 3990X. If Pelegant is memory limited, things could go weird due to latency/asymmetry. There is also the NUMA settings, compile optimization (-march=znver2), and libraries (MKL hacking to enable AVX) to consider....
by nkuklev
05 Feb 2020, 20:11
Forum: Bugs
Topic: Segfault in frequency_map when lattice has CHARGE element
Replies: 2
Views: 5763

Segfault in frequency_map when lattice has CHARGE element

Hi all, I found an interesting crash - when lattice has CHARGE element, &frequency_map results in segfault. After (painfully) building elegant with debug symbols, I think the problem stems from the way do_tracking() is called from computeTunesFromTracking() with increasing pass offset, which for all...
by nkuklev
29 Jan 2020, 09:51
Forum: Bugs
Topic: Segfaults for specific order of insert_elements commands
Replies: 1
Views: 4592

Segfaults for specific order of insert_elements commands

Hi Michael and all, I seem to have a weird issue with IBSCATTER, WATCH elements and &insert_elements command. Namely, depending on where in task file I try to insert these, it either works normally, messes up other computations (like moments), or straight up segfaults. I suspect it has something to ...
by nkuklev
24 Aug 2019, 20:46
Forum: Optimization and Matching
Topic: Optimising Phase Advance - error
Replies: 14
Views: 20700

Re: Optimising Phase Advance - error

I got the same behavior with unknown tokens - traced it back to having only a single instance of a marker. Is there another syntax without '#<num>' for accessing these? I tried rpn trace mode, but it doesn't list what exactly is stored by optimizer, and 'smem' doesn't output anything from inside ele...