yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #12571
Re: [Bug 1559098] Re: Crash when Parallelization is used for O.bodies.replaceByClumps
Yes, I did, it is always the same problem when I try to use more than
one core
Adel
On 18/03/2016 14:47, Christian Jakob wrote:
> Did you try your script with material definitions and some basic
> engines?
>
--
Adel ALBABA
PostDoc Researcher
IRSTEA - Grenoble
Unité de Recherche Erosion Torrentielle Neige et Avalanches
Domaine Universitaire, BP 76
F38402 - Saint Martin d'Hères Cedex - France
Tel: +33 (0)4 76 76 27 27
Mobile: +33 (0)6 65 94 28 20
Website: www.mumolade.com/fellows/esr12-adel-albaba
www.linkedin.com/pub/adel-albaba/4b/814/665
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1559098
Title:
Crash when Parallelization is used for O.bodies.replaceByClumps
Status in Yade:
New
Bug description:
The script crashes (Erreur de segmentation (core dumped) ) when I try
use more than one core, at the line O.bodies.replaceByClumps.
YADE version: the latest one complied from getHub trunk
A simple script:
# encoding: utf-8
# Sphere package:
sp1=pack.SpherePack()
# Create the spheres of the package:
sp1.makeCloud((0,0,0),(0.5,0.5,0.5),rMean=0.0075,rRelFuzz=0.33)
# Send them to the simulation:
sp1.toSimulation()
# Replace spheres with clumps:
templates= []
relRadList1=[0.0075,0.0075]
relPosList1=[[0.0075,0,0],[0.0075*2,0,0]]
templates.append(clumpTemplate(relRadii=relRadList1,relPositions=relPosList1))
clumpIds=O.bodies.replaceByClumps(templates,[1]) # THE SCRIPT CRASHES
BECAUSE OF THIS LINE !
Adel
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1559098/+subscriptions
References