← Back to team overview

yade-users team mailing list archive

Re: [Question #689821]: Any way to make my code run Faster

 

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

Jan Stránský posted a new comment:
> PWaveTimeStep 3.5589305925e-05
> O.dt=0.001

increasing time step is one option to make the running faster, but it is
not a good idea to increase it above critical time step -> the
simulation would become unstable and meaningless

>How many cores do you use?

you can run Yade in parallel using -j option (see yade --help), e.g.
yade -j 4 your_script.py
will use 4 cores and (normally) the execution should be almost 4 times faster (BUT depending on simulation itself)

waiting for the timing.stats

cheers
Jan

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