Is the original example (somewhere in examples/clumps/) working in multicore mode (I can not test right now)?
And I have another note: You do not need to set particle dimensions in relRadList and relPosList. You can use any value for X in the following code and the result should be the same, so why not use X=1? relRadList1=[X,X] relPosList1=[[-X,0,0],[X,0,0]] #(has the same effect as [[X,0,0],[2*X,0,0]]) -- 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 _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp