← Back to team overview

yade-dev team mailing list archive

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

 

Do you mean that you used non-parallel ForceContainer with OpenMP-
enabled simulation run with multiple threads? If so... threads could
have been overwriting each other's data. https://www.yade-
dem.org/doc/prog.html#forcecontainer explains why threads must have
separate data (unless you want to use locking, which will be very very
likely much less efficient).

-- 
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