在"SOCK","PVM","MPI"和"NWS"之间的区别在于"SOCK","PVM","MPI"和"NWS"之间的区别.用于R SNOW包 [英] Difference between "SOCK", "PVM", "MPI", and "NWS" for the R SNOW package

查看:136
本文介绍了在"SOCK","PVM","MPI"和"NWS"之间的区别在于"SOCK","PVM","MPI"和"NWS"之间的区别.用于R SNOW包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SNOW软件包的makeCluster函数具有不同的群集类型"SOCK","PVM","MPI"和"NWS",但是我不太清楚它们之间的差异,更具体地讲,这对我的程序来说是最好的.

The makeCluster function for the SNOW package has the different cluster types of "SOCK", "PVM", "MPI", and "NWS" but I'm not very clear on the differences among them, and more specifically which would be best for my program.

目前,我有不同长度的任务队列通过clusterApplyLB进入负载平衡群集,并且正在使用64位32核Windows机器.

Currently I have a queue of tasks of different length going into a load balancing cluster with clusterApplyLB and am using a 64bit 32-core Windows machine.

我正在寻找对四种群集类型之间差异的简要描述,这将最适合我的用途以及原因.

I am looking for a brief description of the differences among the four cluster types, which would be best for my use and why.

推荐答案

欢迎使用并行编程.您可能需要仔细阅读R附带的出色并行程序包的插图,因为它提供了一般性的介绍.它还使您了解在Windows上可以做什么或不能做什么—简而言之,PVM和MPI是同名库支持的标准并行编程方法.它们存在于Windows上,但使用频率较低,并且通常不如Unix同类产品成熟.

Welcome to parallel programming. You may want to peruse the vignette of the excellent parallel package that comes with R as it gives a general introduction. It also gives you an idea of what you can or cannot do on Windows -- in short, PVM and MPI are standard parallel programming approaches supported by namesake libraries. These exists on Windows, but are less frequently used and often not as mature as their Unix counterparts.

如果您要坚持下雪,则您的选择实际上仅限于SOCK类型的群集.同样,程序包文档将包含指针.

If you want to stick with snow, your options are essentially limited to SOCK types clusters. Again, the package documentation will have pointers.

这篇关于在"SOCK","PVM","MPI"和"NWS"之间的区别在于"SOCK","PVM","MPI"和"NWS"之间的区别.用于R SNOW包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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