找回密码
 注册
Simdroid-非首页
查看: 154|回复: 6

[16.其它] Speed Up Your Simulations with Parallel Processing

[复制链接]
发表于 2009-8-5 09:36:06 | 显示全部楼层 |阅读模式 来自 广东深圳
本帖最后由 monnet 于 2009-8-5 09:48 编辑

看到SimWe上有不少人对COMSOL的并行心存疑虑,重新翻到COMSOL News 2008里COMSOL技术支持Linus Andersson先生的一篇文章,希望对大家对大问题的计算有帮助。

The more processors you use for computing, the quicker your simulations run. By allowing for multicore processing of your COMSOL Multiphysics models, you can achieve a significant speedup in 3D meshing, assembly, and solving. Here are some tips to help you better leverage your multicore platform for multiphysics modeling.

To run COMSOL Multiphysics with multicore processor support on Linux or Sun platforms, use the command:
comsol -np n
Where n is the number of processor cores you want to use.

In Windows, COMSOL Multiphysics will use all available cores by default. You can use the same command if you want to reserve some cores for a separate COMSOL session or for other tasks.
In a multicore environment, COMSOL distributes meshing between cores subdomain by subdomain. To maximize performance, use more subdomains than the physics of your model would otherwise dictate. Say, for instance, that you have a quad-core processor, and you would like to speed up the meshing process in a model with a complex geometry but nominally only one subdomain. Try splitting the geometry into four subdomains, each with similar size and complexity, and then do your meshing.
In the solution process, the degree of parallelization mostly depends on which solver you use. Generally, the solver that benefits most from multicore processing is the PARDISO direct solver. All iterative solvers and smoothers except Incomplete LU are also parallelized.

评分

1

查看全部评分

 楼主| 发表于 2009-8-5 09:37:09 | 显示全部楼层 来自 广东深圳
Simdroid开发平台

Freedom, such as this static micromixer, benefit greatly from multicore parallel processing.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

 楼主| 发表于 2009-8-5 09:40:34 | 显示全部楼层 来自 广东深圳
大致意思是,可以用comsol -np n命令控制多核的使用,不过COMSOL缺省就是使用所有的核心来计算。同时,有几颗核心,最好将几何图形分割为核心的倍数。例如,你有8颗CPU核心,几何图形的subdomain分割为8个或者16个,这样更方便CPU的调用。
回复 不支持

使用道具 举报

 楼主| 发表于 2009-8-5 09:43:19 | 显示全部楼层 来自 广东深圳
原文PDF下载:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×

评分

1

查看全部评分

回复 不支持

使用道具 举报

 楼主| 发表于 2009-8-5 09:45:45 | 显示全部楼层 来自 广东深圳
本帖最后由 TBE_Legend 于 2009-8-5 17:20 编辑

精辟!完全合理的好帖,期待继续整理!!!  
太有逻辑性了,不得不顶,不知楼主是不是也写书啊 !!!!!

--------------------------------------------- TBE

monnet总是这么幽默
回复 不支持

使用道具 举报

发表于 2009-8-5 12:54:37 | 显示全部楼层 来自 湖北武汉
正想了解一下并行计算
回复 不支持

使用道具 举报

发表于 2009-8-7 16:59:58 | 显示全部楼层 来自 北京交通大学
精辟!完全合理的好帖,期待继续整理!!!  
太有逻辑性了,不得不顶,不知楼主是不是也写书啊 !!!!!

--------------------------------------------- TBE

monnet总是这么幽默
monnet 发表于 2009-8-5 09:45


高,实在是高,不过帖子不错!
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-20 03:56 , Processed in 0.047267 second(s), 19 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表