Centos cluster running
Hi, all.
Now I'm trying to use the cluster to do some simulation work. But there seem some errors.
Actually, the cluster can run for one of my scripts, but when I add another two line codes, this cluster can't work. There will be an error pop up.
here is my script:
from yade import pack, plot
from yade import utils
compFricDegree = 30
targetPorosity = 0.98
stabilityThresh
finalFricDegree
damp=0.8
young=4e8
O.materials.
O.materials.
mn,mx=Vector3(
psdSizes,psdCumm = [3e-3,3.
sp = pack.SpherePack()
sp.makeCloud(
pred=pack.
sp2 = pack.filterSphe
sp2.toSimulatio
facets = geom.facetCylin
O.bodies.
print "num_spheres= ", len(O.bodies)
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
),
GlobalStiffnes
NewtonIntegrat
]
O.dt=.5*
while 1:
O.run(3000,True)
unb=unbalanced
print 'unbalanced force: ',unb
if unb<stabilityTh
break
O.save(
O.saveTmp()
#######
if I didn't include these two lines:
#pred=pack.
#sp2 = pack.filterSphe
and change :sp2.toSimulati
the cluster can run this script.
if I run the script that I posted. Here is the error:
TCP python prompt on localhost:9000, auth cookie `cdseya'
Welcome to Yade 2018.02b
XMLRPC info provider on http://
Running script make-sample.py
Traceback (most recent call last):
File "/packages/
execfile(
File "make-sample.py", line 16, in <module>
sp2 = pack.filterSphe
File "/packages/
if dimP[0]>dimS[0] or dimP[1]>dimS[1] or dimP[2]>dimS[2]: warnings.
TypeError: No registered converter was able to produce a C++ rvalue of type std::__
=================== JOB SUMMARY ================
id : make-sample.
status : 256 (FAILED)
duration: 00:00:04
command : YADE_BATCH= DISPLAY= /packages/
started : Thu Apr 11 17:02:03 2019
finished: Thu Apr 11 17:02:08 2019
Is there anyone can help me to figure out the reason why I just add that two line codes, this script can't work.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- ytang
- Solved:
- Last query:
- Last reply: