找回密码
 注册
查看: 1601|回复: 4

如何在双核或工作站等单机上实现并行计算呢

[复制链接]
发表于 2007-9-21 12:09:39 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

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

x
计算时 cpu使用率25%,想在双核或工作站上实现并行,需要看哪些资料,需要哪些步骤,谢谢指导
发表于 2007-9-21 21:12:26 | 显示全部楼层

如何在双核或工作站等单机上实现并行计算呢

use OpenMP www.openmp.org. Take a look at http://forum.cfluid.com/cgi-bin/LB5000/topic.cgi?forum=32&topic=708&show=0[br][br][以下内容由 newcfd 在 2007年09月21日 09:15pm 时添加] [br]
Sorry. Check if fluent has openMP in it. If yes, turn it on. Otherwise, use MPI for parallel computing on computer with shared memory.
 楼主| 发表于 2007-9-21 23:38:12 | 显示全部楼层

如何在双核或工作站等单机上实现并行计算呢

刚刚接触,太高深了,不懂,能不能简单的说明一下[br][br][以下内容由 bssdyl 在 2007年09月21日 11:44pm 时添加] [br]
我看到一些关于使用rshd并行的,不知道能否利用rshd在双核机器上实现并行,今天在实验室按照帮助简单试了一下,如果单cpu计算的话,cpu使用率25%,使用rshd,cpu使用率最高达到90%,是不是表示并行成功,还有一个问题,是不是一个cpu只能作为一个节点添加呢,我的四核,我spawn了四个node
发表于 2007-9-22 03:09:18 | 显示全部楼层

如何在双核或工作站等单机上实现并行计算呢

There are mainly two types of parallel computers: 1. distributed; 2. shared.
  distributed system: each node has its own CPU and memory. All nodes
                   are connected through network. For example: if
                   you connect your computer with all other computers
                   of your co-workers, you have a distributed parallel system
  shared system: one memory(shared) and a few CPUs. All in one computer like
                   your computer.
  I think MPI can be used for both systems. OpenMP can be used only in
shared system. If you have FLUENT, there must be doc for parallel computing.
Read it and you will know how to do it.
Note that there is a hybrid system(mixed one of distributed and shared systems).
               [br][br][以下内容由 newcfd 在 2007年09月22日 03:13am 时添加] [br]
To see if your parallel computing is successful, you need to check if the CPU time of your computation is reduced. That your CPU is busy does not mean it is working for your way.
 楼主| 发表于 2007-9-23 00:02:08 | 显示全部楼层

如何在双核或工作站等单机上实现并行计算呢

thanks. i have a file for parallel computing. i will read it and learn from you!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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