Multicore Yade
When I start
yade-1.07.0 -j4 --performance four cores are working, but when I start my script it works only on one thread.
#######
#######
#######
# FUNCTIONAL COMPONENTS
# simulation loop -- see presentation for the explanation
O.engines=[
PyRunner(
ForceResetter(),
VppNeighbours(),
VppPressureF
PyRunner(
PyRunner(
PyRunner(
PyRunner(
PyRunner(
PyRunner(
InsertionS
InteractionLoop(
[Ig2_
Ig2_Wall_
[Ip2_
Ip2_CohFrictM
VppIp2_
VppIp2_
#VppPressure_
],
[Law2_
VppLaw2_
useIncrement
always_
shearBreaksC
label=
),
# apply gravity force to particles
GravityEngin
# damping: numerical dissipation of energy
NewtonIntegr
]
# set timestep to a fraction of the critical timestep
# the fraction is very small, so that the simulation is not too fast
# and the motion can be observed
O.dt=utils.
# save the simulation, so that it can be reloaded later, for experimentation
O.saveTmp()
yade.qt.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Pawel for more information if necessary.