Segfaults for specific order of insert_elements commands
Posted: 29 Jan 2020, 09:51
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 do with commands requiring previous output to be of same size/element count, but the specific combinations that break are weird.
I have attached sample files, where I try to generate a matched distribution and track it after inserting the elements. Various orderings and results are commented.
In general, is the correct procedure to always insert/alter everything right after run_setup and no longer modify lattice afterwards?
-Nikita
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 do with commands requiring previous output to be of same size/element count, but the specific combinations that break are weird.
I have attached sample files, where I try to generate a matched distribution and track it after inserting the elements. Various orderings and results are commented.
In general, is the correct procedure to always insert/alter everything right after run_setup and no longer modify lattice afterwards?
-Nikita