← Back to team overview

yade-users team mailing list archive

Re: [Question #186108]: about the parallel calculation in 32 cores cluster

 

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

    Status: Answered => Open

Liqing Jiao is still having a problem:
Dear Anton,

May I know the relationship between the number of the thread and the the
number of cores. For example, my computer has 32 CPUs, need I set the
thread number to be 32? In fact, I set it, but all CPUs are almost
occupied 50%. The effectiveness is just a little improved compared to
the 4 cores desktop. And the effectiveness of 32 CPUs is 1.5 times that
of the 4 CPUs. How can I improve it much more?

Looking forward to your reply.
Cheers, Liqing


At 2012-01-29 00:53:18,"Anton Gladky" <question186108@xxxxxxxxxxxxxxxxxxxxx> wrote: >Question #186108 on Yade changed: >https://answers.launchpad.net/yade/+question/186108 > >    Status: Open => Answered > >Anton Gladky proposed the following answer: >Hi Liqing, > >to use a parallelism on 0.70, you just need to put "-jN" parameter to >the command line. Something like: > >yade-0.70 -j4 yourScript.py > >In this case 4 threads will be used. But the effectiveness of >parallelisation  is strong depended on the task, you are using. For >some tasks it works better, for other you will get even a slowdown. >Just try. > >>  I read some relative documents about the >>  parallelism in yade. There are 3 levels. I don't know how to use others. If >>  some kind people realized already, could you please send me an example? > >Well, the main "parallelism" is the "splitting" of some loops >(openmp), it works automatically. > >Another opportunity is to use ParallelEngine [1]. But you should be >careful with that one. > >Third, probably, is a batch-system [2], I am personally using it a >lot. You can start several Yade-processes in one time.t > >[1] https://www.yade- >dem.org/doc/yade.wrapper.html?highlight=parallelengine#yade.wrapper.ParallelEngine > >[2] http://bazaar.launchpad.net/~yade- >dev/yade/trunk/files/head:/scripts/test/batch/ > >Anton > >--  >You received this question notification because you are a member of >yade-users, which is an answer contact for Yade. > >_______________________________________________ >Mailing list: https://launchpad.net/~yade-users >Post to     : yade-users@xxxxxxxxxxxxxxxxxxx >Unsubscribe : https://launchpad.net/~yade-users >More help   : https://help.launchpad.net/ListHelp

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.