[R-sig-hpc] Difference between PSOCK and MPI?
Marius Hofert
marius.hofert at math.ethz.ch
Thu Apr 11 20:23:36 CEST 2013
Dirk Eddelbuettel <edd at debian.org> writes:
> On 9 April 2013 at 23:24, Marius Hofert wrote:
> | What are the main differences (advantages/drawbacks) between parallel's makeCluster(,
> | type="PSOCK") and makeCluster(, type="MPI")? According to
> | http://cran.r-project.org/web/views/HighPerformanceComputing.html, MPI has
> | become the 'standard', although the default type of makeCluster() is "PSOCK". Is
> | "PSOCK" more compatible in that it does not need an installation such as
> | (open)MPI? slower/faster/no difference?
>
> You don't want PSOCK.
>
> It is the lowest common demoninator which even works (for various definitions
> of "work") on Windoze.
Hi Dirk,
thanks for helping. Indeed, we don't want that. The reason I was asking for is
the following: I am writing a package (jointly with Martin) where we make use of
makeCluster(). The 'natural' default would be to use the default of the
'type' argument ("PSOCK") and leave it up to the user to decide if he wants to replace
it by "MPI". On the other hand, one could make "MPI" the default advocating
'good practice'. Since we are unsure, I thought I ask about the differences
between the two to get a better feeling for what a good default would be.
>
>
> As your mail address reveals that you are coming from a serious place,
:-)
> you should look into MPI.
we always used it, that's why it became the (internal) default so far.
Cheers,
Marius
> Or just use N core machines, where N is a big as your grant allows.
>
> Dirk
--
ETH Zurich
Dr. Marius Hofert
RiskLab, Department of Mathematics
HG E 65.2
Rämistrasse 101
8092 Zurich
Switzerland
Phone +41 44 632 2423
http://www.math.ethz.ch/~hofertj
GPG key fingerprint 8EF4 5842 0EA2 5E1D 3D7F 0E34 AD4C 566E 655F 3F7C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-hpc/attachments/20130411/975b9542/attachment.bin>
More information about the R-sig-hpc
mailing list