← Back to team overview

yade-users team mailing list archive

Re: [Question #268152]: Question about parallel calculation of Yade when using Polyhedra particle.

 

Question #268152 on Yade changed:
https://answers.launchpad.net/yade/+question/268152

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Henry,

when having errors, always try to find the very first one. The rest might
just be the result of the first one. If I read the code correctly, you
should have got this error prior to the mentioned by you:

verletDist is set to 0 because no spheres were found. It will result in
suboptimal performances, consider setting a positive verletDist in your
script

by default, value of InsertionSortCollider.verletDist is -0.5. If the
simulation contains spherical particles, it is somehow computed from
spheres automatically. If there are no spheres, then you got the error. A
solution (not tested) is to set it manually, i.e.

O.engines = [
  ...
  InsertionSortCollider(verletDist=0.1,...),
  ...
]


Concerning the second error, what version of Yade do you use? I got the
same error some time ago, then I updated to the newer Yade git version and
the error disappeared..

cheers
Jan


2015-06-15 9:46 GMT+02:00 Henry <question268152@xxxxxxxxxxxxxxxxxxxxx>:

> Question #268152 on Yade changed:
> https://answers.launchpad.net/yade/+question/268152
>
> Henry posted a new comment:
>
> Furthermore, there is another error:
>
> terminate called after throwing an instance of 'CGAL::Assertion_exception'
> terminate called recursively
>   what():  CGAL ERROR: assertion violation!
> Expr: is_finite(d)
> File: /usr/include/CGAL/GMP/Gmpq_type.h
> Line: 168
> Aborted (core dumped)
>
>
> Thanks a lot!
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.