yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #18461
Re: [Question #676451]: optimize camputational time for vibrated granular media
Question #676451 on Yade changed:
https://answers.launchpad.net/yade/+question/676451
Status: Answered => Open
Andrea Plati is still having a problem:
Yes i'm sure, i run the script in this way:
yade -j 4 myscript.py
then i've controlled with htop command that the code is actually running
on four cores
On 11/29/18 1:37 PM, Robert Caulk wrote:
> Your question #676451 on Yade changed:
> https://answers.launchpad.net/yade/+question/676451
>
> Status: Open => Answered
>
> Robert Caulk proposed the following answer:
> Are you running in parallel [1]? LAMMPS is probably automatically using
> your 4 cores. Yade requires you to pass an argument containing the
> number of threads you wish to use.
>
> yade -jX script.py
>
> (X is a place holder for your number of cores, not to be taken
> literally.)
>
>
> [1]https://yade-dem.org/doc/user.html#controlling-parallel-computation
>
--
You received this question notification because your team yade-users is
an answer contact for Yade.