← Back to team overview

yade-dev team mailing list archive

[Bug 724396] Re: crash after add particles in parallel mode

 

Yes, you are right. The proposed way breaks simulations (--check does
not path with j>1).

I have done locks in non-parallel implementation, and the performance
goes down, as you said:

-j Parallel   Non-Parallel   %
------------------------------------
1 997    1002    -0.5
2 821    842      -2.6
3 764    825      -8
4 752    908      -20.7
5 745    1132    -51.9
6 742    1180    -59

-- 
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/724396

Title:
  crash after add particles in parallel mode

Status in Yet Another Dynamic Engine:
  Confirmed

Bug description:
  Yade crash in parallel mode if to add particles after run of simulation.
  Attached script runs without errors in serial mode (-j 1 option),
  but in parallel mode (-j 2 or more) it crash at second O.run.



References