使用Snow SOCK以外的集群进行并行计算 [英] Parallel computing with clusters other than snow SOCK

查看:66
本文介绍了使用Snow SOCK以外的集群进行并行计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近在R2.14中增加了对并行计算的直接支持,这在我脑海中引发了一个问题.在R中创建集群有很多选择.我定期使用snow SOCK集群,但是我知道还有其他方法,例如MPI.我使用SOCK snow集群是因为我不需要安装任何其他软件(我使用Fedora 13).

The recent addition of direct support for parallel computing in R2.14 sparked a question in my mind. There are numerous options for creating clusters in R. I use snow SOCK clusters on a regular basis, but I know that there are other ways such as MPI. I use SOCK snow clusters because I do not need to install any additional software (I use Fedora 13).

所以,我的具体问题:

  1. 使用非SOCK群集时性能会有所提高吗?
  2. 使用非SOCK群集在多台计算机上创建群集是否更容易?

推荐答案

1)可用的基准数量有限,这证明MPI将比SOCKets更快.但是,作为R用户,您可能不会在意这些差异.它们在毫秒级范围内,在令人尴尬的并行问题中,通讯的数量并不那么高

1) there is a limited number of benchmarks available which proof that MPI will be faster than SOCKets. But as an R user you probably will not care about these differences. They are in the area of milli seconds and the number of communications is not that high in embarrassingly parallel problems

2)是,您不必提供计算机名称或IP的列表.对于具有100个节点的计算机集群,这变得很复杂.但是一切都取决于您的计算机群集.在大多数情况下,已经预先安装了MPI或PVM,并且可以使用Rmpi,...

2) Yes, you do not have to provide a list of machine names or IPs. For a computer cluster with 100 nodes this gets complicated. But everything depends on your computer cluster. In most cases MPI or PVM is already preinstalled and everything works out of the box using Rmpi, ...

这篇关于使用Snow SOCK以外的集群进行并行计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆