Hi Rui,
I have seen similar things when comparing Gadget 2 and Gadget 4. It seems that if one switches on PMGRID, Gadget 4 tends to update the long range force more frequently than Gadget 2. Maybe that explains why Gadget 4 took more time. One thing you can check is the time for PM computation in the log file cpu.txt.
Best,
Xiaolong
> On Sep 10, 2022, at 12:49 AM, HU, Rui <1155168718_at_link.cuhk.edu.hk> wrote:
>
> Hi all,
>
> I am try to use the same IC (generated by 2LPTic), same setting and same threads in gadget2 and gadget4. Then I found gadget4 (2300s for 16 threads) is almost twice as slow as gadget2 (1226s for 16 threads). Is that because gadget4 do not do the merge and do two half-step kicks? Or maybe I misunderstand the Figure 61 in the Gadget4-code paper?
>
> Bests,
> Rui
>
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de <mailto:minimalist_at_MPA-Garching.MPG.de> with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list <http://www.mpa-garching.mpg.de/gadget/gadget-list>
Received on 2022-09-10 14:44:04