← Back to team overview

yade-dev team mailing list archive

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

 

I have checked the last patch, all is working well for me!
The performance is slightly higher now, than without patch, so I think we did not break the performance.

I modified model.py a little bit (attached), now it reads forces of
every body on each step.  I did not see any problem with that as well.
So our doubts about incorrect work of get*Single() functions are empty
(I hope).

Actually, I have got finally a crash on unpatched version of YADE, there
is no problem on patched version.

Vaclav, could you not, please, have a look at last patch
https://bugs.launchpad.net/yade/+bug/724396/+attachment/1908010/+files/fix_724396-v3.diff

If it is ok, we will apply it on all active branches of Yade.

Thanks.

** Attachment added: "Modified model.py with force check."
   https://bugs.launchpad.net/yade/+bug/724396/+attachment/1909383/+files/model_with_forceCheck.py

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