Thanks you all.
@tkf, your examples are so straightforward and helpful.
Simple changes like your suggestion seems to solve most errors in my case (especially NOT compute all trajectories then dump).
Thank you ![]()
One more question: your example uses Threads.@threads. Instead, can I use tcollect in that example?