← Back to team overview

yade-users team mailing list archive

Re: [Question #680653]: Boost Pointer Assertion when running yade in parallel

 

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

Minh Huynh requested more information:
Hi Duriez,

I am the one who has this problem and asked my friend to help me to post
this topic. I can run YADE code with spherical packing. However, when
try to make clump packing, this problem occurs when I use parallel
simulation (-j4) (I have no trouble with single core). The code to
generate Clump is below. Could you please help me to solve this
problem?! Thank you very much for your time and consideration!

Sincerely,
Nhat Minh Huynh

sp=pack.SpherePack()
sp.makeCloud(mn,mx,psdSizes=psdSizes1,psdCumm=psdCumm1,num=num_spheres,periodic=False,seed=1,distributeMass=True)
O.bodies.append([sphere(center,rad,material='spheres') for center,rad in sp])
templates=[]
templates.append(clumpTemplate(relRadii=[.65,1,.65],relPositions=[[0.75,0,0],[0,0,0],[-0.75,0,0]]))
O.bodies.replaceByClumps(templates,[1.0],discretization=50)

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.