Open
Description
Hey @TomTranter,
I'm trying to run pytrax
in parallel. I already put my script body inside a block:
if __name__ == "__main__":
# Body
However, I don't get significant speed up when changing the num_proc
argument. The image I'm running the simulation on is roughly 200^3 voxels and I use 100,000 walkers and 1,000 time steps. Here are the run times for num_proc = [1, 2, 4, 8]
(the machine has 8 physical cores):
Elapsed time in seconds: 33.01
Elapsed time in seconds: 33.29
Elapsed time in seconds: 27.83
Elapsed time in seconds: 25.13
Metadata
Metadata
Assignees
Labels
No labels