YADE appears error in the Ubuntu 16.04
Hello,
In the past, I used Ubuntu 14.04 to install YADE(1.07.0) and built a model which used material "cpmmat". It worked fine. But now, I used Ubuntu 16.04 and install YADE(1.20.0) on it by the same way that using the command "sudo apt-get install yade", and use it to run the same *.py code(model). It does not work any more. If I use YADE on Ubuntu 16.04 to run the concrete example in trunk/examples/
*******
Welcome to Yade 1.20.0
TCP python prompt on localhost:9000, auth cookie `cdsusy'
XMLRPC info provider on http://
Running script parameter.py
python: /usr/include/
Aborted (core dumped)
*******
#!/usr/bin/python # This is server.py file
import string
from yade import plot,qt
from yade.pack import *
from yade import pack, plot
O.materials.
initSize=0.02
sp=pack.
O.periodic=True
sp.toSimulation()
O.dt=1e-7
plot.plots=
def plotAddData():
plot.addData(
sy=p3d.stress[1],
ey=p3d.strain[1],
ex=p3d.strain[0]
)
EnlargeFactor=1.5
EnlargeFactor=1.0
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
NewtonIntegrat
Peri3dController(
nSteps=4000, # how many time steps the simulation will last
# after reaching nSteps do doneHook action
label='p3d'
),
PyRunner(
]
p3d.stressMask=
p3d.goal=
O.step()
bo1s.aabbEnlarg
O.run(); O.wait()
plot.plot(
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: