crash: yade -j4 ./examples/clumps/clump-hopper-test.py
$ yade -j4 ./examples/clumps/clump-hopper-test.py
....
Iter 22000: Total number of generated spheres 2896, removed particles 98, current particles 2798, kinEnergy 25158.7
Iter 23000: Total number of generated spheres 2896, removed particles 98, current particles 2798, kinEnergy 27776.4
Iter 24000: Total number of generated spheres 2896, removed particles 98, current particles 2798, kinEnergy 32955.3
Iter 25000: Total number of generated spheres 2896, removed particles 237, current particles 2659, kinEnergy nan
When executed with -j1
the next lines would be:
Iter 23000: Total number of generated spheres 2896, removed particles 98, current particles 2798, kinEnergy 28003.2
Iter 24000: Total number of generated spheres 2896, removed particles 98, current particles 2798, kinEnergy 33124.1
Iter 25000: Total number of generated spheres 2896, removed particles 238, current particles 2658, kinEnergy 31964.1
Iter 26000: Total number of generated spheres 3620, removed particles 238, current particles 3382, kinEnergy 38172.2
It seems, that the more threads we use, the more likely the crash is. With single thread crash never occurs.
@bchareyre didn't you fix something two months ago about removing bodies?
Edited by Janek Kozicki