keesom 发表于 2009-3-17 01:02:05

关于adams的多核并行计算问题!

想请教各位高手,adams能不能进行多核心处理器的设置呢?~我现在的仿真运行很慢~想进行多核心的并行计算设置~不知道行不行啊?~:)

cbd 发表于 2009-3-17 02:03:18

可以啊. Settings-->Solver-->Exectuable
然后设Thread Count.

keesom 发表于 2009-3-17 12:02:16

可以啊. Settings-->Solver-->Exectuable
然后设Thread Count.
我看见这个选项了,可是在默认的choice-->fortran的时候,Thread Count是灰色的,不能更改啊?~
选成C++的话,就可以更改了~
是不是一定要选成C++以后更改?~那对于计算的时候还需要做些什么改动么?~从fortran变成c++??~
不好意思,鄙人是个菜鸟,需要多向高手请教~:D

keesom 发表于 2009-3-17 12:55:02

而且我刚才试了一下~还是没什么效果啊~即便是选择了c++和thread数目,也还是一个核在运转,其他的都几乎为零!~为什么呢?是不是我哪里没有设置对呢?~

niwei_20xx 发表于 2009-3-17 16:16:24

本帖最后由 niwei_20xx 于 2009-3-17 16:23 编辑

I got an answer from MSC.Software company:

Specifies the number of parallel threads that Adams/Solver (C++) will use when performing the simulation.


The number of threads, n, must be an integer in the range of 1 to 8. The default value is 1.
By executing multiple threads in parallel across multiple processors, Adams/Solver (C++) can reduce the walltime required for a simulation.
Typically, the optimal number of threads is between N and 2N, where N is the number of processors (including virtual processors, such as Pentium processors supporting HyperThreading).
Note that this option has no effect on IRIX architectures.

Anbei finden Sie Links zu den Artikeln in Knowledge Base zum Thema SMP:

SMP Parallel processing available in 2005 Release of ADAMS/Solver (C++)
http://support.mscsoftware.com/kb/results_kb.cfm?S_ID=1-KB12261

AS-019: Using Parallel Processing (SMP) to Obtain Performance Benefits for Contact Models
http://support.mscsoftware.com/kb/results_kb.cfm?S_ID=1-KB12664


I tried it, but in the task manager it is still the same: only 1 core has been used, the simulation time is only slightly reduced.

Here I copied the two passages from knowledge base into 2 word documents.
And if you are using the legal ADAMS version, smp parallel processing will cost additional 28 Tokens

niwei_20xx 发表于 2009-3-17 16:20:05

On their website the following performance increase has been announced:

Dual-processor desktop:          1.2 - 1.7 x
Quad-processor compute server:   1.5 - 3 x
8-processor compute server:      2.5 - 4 x

allenxiaoyan 发表于 2009-3-18 16:48:04

6# niwei_20xx

你写的这些好像不行。只支持整数的。另外我发现当存在接触且接触设置了parasolid之后,无论怎么改确实只有一个cpu在计算。
当然不排除我弄错了。希望一起探讨下。

allenxiaoyan 发表于 2009-3-18 16:55:05

假如没设置parasolid的话,确实可以实现多cpu计算。

luckyli 发表于 2009-3-18 17:05:57

Contact 的SMP是在Adams2008中才支持的

allenxiaoyan 发表于 2009-3-19 10:35:07

原来是这样。多谢luckyli版主了。

wfs1970 发表于 2010-7-31 10:22:28

Contact 的SMP是在Adams2008中才支持的
是不是2007R3?有2008版吗?

aman 发表于 2010-11-26 20:37:42

我的也是只有一个CPU在计算

gale715 发表于 2011-3-11 12:36:16

8# allenxiaoyan

设置Parasolid是什么意思,楼主的意思是说只要用了接触都不能并行计算了吗?

陪伊看硫酸雨 发表于 2011-3-11 12:39:48

来学习来了

yangju 发表于 2011-5-11 14:25:33

学习了!谢谢各位

psxf_ 发表于 2013-6-13 13:21:35

我也头疼这个问题呢,回去试试,谢谢各位了

ly413545 发表于 2013-6-16 11:10:30

学习了

t1314j2003 发表于 2013-6-20 14:35:03

cbd 发表于 2009-3-17 02:03 static/image/common/back.gif
可以啊. Settings-->Solver-->Exectuable
然后设Thread Count.

没有用,仍然是一个核在运算,而且是超频单核预算,容易死机
页: [1]
查看完整版本: 关于adams的多核并行计算问题!