-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathNAMESPACE
103 lines (87 loc) · 1.7 KB
/
NAMESPACE
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
### "useDynLib" should be MARKED and use ".onLoad" and ".onUnload" in "R/zzz.r".
### Since "libmpi.so" should be load before "pbdMPI.so".
# useDynLib(pbdMPI)
importFrom("stats", "runif", "dist", "as.dist")
importFrom("utils", "write.table", "read.table", "Rprof", "sessionInfo")
import("methods", "parallel", "float")
# exportPattern("^[\\.]")
exportPattern("^spmd\\.[[:alpha:]]+")
exportPattern("^comm\\.[[:alpha:]]+")
exportPattern("^SPMD\\.[[:alpha:]]+")
exportPattern("^\\.mpiopt_[[:alpha:]]+")
exportMethods(
"allgather",
"allreduce",
"bcast",
"gather",
"recv",
"irecv",
"reduce",
"scatter",
"send",
"isend",
"sendrecv",
"sendrecv.replace"
)
export(
### "R/mpi_apts.r"
"arrange.mpi.apts",
### "R/spmd_communicator.r"
"barrier",
"init",
"finalize",
"is.finalized",
# "is.manager",
# "get.processor.name",
"port.open",
"port.close",
"serv.lookup",
"serv.publish",
"serv.unpublish",
"intercomm.merge",
"intercomm.create",
### "R/spmd_info.r"
"info.create",
"info.set",
"info.free",
"info.c2f",
### "R/spmd_utility.r"
"probe",
"iprobe",
"anysource",
"anytag",
"get.sourcetag",
# "get.count",
"is.comm.null",
### "R/spmd_wait.r"
"wait",
"waitany",
"waitsome",
"waitall",
### "R/api_*.r"
"get.jid",
"pbdApply",
"pbdLapply",
"pbdSapply",
"task.pull.workers",
"task.pull.manager",
"task.pull",
### "R/util_*.r"
"execmpi",
"runmpi",
### "R/000_pbd_opt.r"
"pbd_opt",
### "R/222_export_env.r"
#".pbd_env",
### "R/pkg_tools.r"
"get.mpi.comm.ptr",
"addr.mpi.comm.ptr"
)
S3method(comm.sort, default)
S3method(comm.sort, integer)
S3method(comm.sort, double)
export(
"get.conf",
"get.lib",
"get.sysenv"
)