snow-internal: Internal SNOW Objects

Description Usage Details

Description

Internal functions for the snow package.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
## Default S3 method:
stopCluster(cl)
## S3 method for class 'MPIcluster'
stopCluster(cl)
## S3 method for class 'spawnedMPIcluster'
stopCluster(cl)

defaultClusterOptions
addClusterOptions(options, new)
initDefaultClusterOptions(libname)

docall(fun, args)
workLoop(master)
sinkWorkerOutput(outfile)

newSOCKnode(machine = "localhost", ..., options = defaultClusterOptions, rank)
makeSOCKmaster(master = Sys.getenv("MASTER"), port = Sys.getenv("PORT"))
## S3 method for class 'SOCKnode'
closeNode(node)
## S3 method for class 'SOCKnode'
sendData(node, data)
## S3 method for class 'SOCKnode'
recvData(node)






setMPIcluster(new)
runMPIworker()
newMPInode(rank, comm)
makeMPImaster(comm)
## S3 method for class 'MPInode'
sendData(node, data)
## S3 method for class 'MPInode'
recvData(node)

closeNode(node)
## Default S3 method:
closeNode(node)
sendData(node, data)
recvData(node)

postNode(con, type, value = NULL, tag = NULL)
stopNode(n)

sendCall(con, fun, args, return = TRUE, tag = NULL)
recvResult(con)


initRNGstreamNode(stream)

splitIndices(nx, ncl)
splitList(x, ncl)
splitRows(x, ncl)
splitCols(x, ncl)

findRecvOneTag(cl, anytag)
recvOneData(cl)
recvOneResult(cl)
## S3 method for class 'MPIcluster'
recvOneData(cl)

## S3 method for class 'SOCKcluster'
recvOneData(cl)

getClusterOption(name, options = defaultClusterOptions)

checkCluster(cl)
checkForRemoteErrors(val)
staticClusterApply(cl, fun, n, argfun)
dynamicClusterApply(cl, fun, n, argfun)

shQuoteIfNeeded(p)

Details

These are not to be called by the user.


snow documentation built on Oct. 27, 2021, 5:08 p.m.

Related to snow-internal in snow...