mpi.wait(Rmpi)
mpi.wait()所属R语言包:Rmpi
Nonblocking completion operations
非阻塞完成操作
译者:生物统计家园网 机器人LoveR
描述----------Description----------
mpi.cancel cancels a nonblocking send or receive request.
mpi.cancel取消一个非阻塞发送或接收请求。
mpi.test.cancelled tests if mpi.cancel cancels or not.
mpi.test.cancelled测试,如果mpi.cancel取消或没有。
wait, waitall, waitany, and waitsome are used to complete nonblocking send or receive requests. They are not local.
wait,waitall,waitany和waitsome用于完成非阻塞发送或接收请求。他们是不是本地的。
test, testall, testany, and testsome are used to complete nonblocking send and receive requests. They are local.
test,testall,testany和testsome用于完成非阻塞发送和接收请求。他们是本地的。
用法----------Usage----------
mpi.cancel(request)
mpi.test.cancelled(status=0)
mpi.test(request, status=0)
mpi.testall(count)
mpi.testany(count, status=0)
mpi.testsome(count)
mpi.wait(request, status=0)
mpi.waitall(count)
mpi.waitany(count, status=0)
mpi.waitsome(count)
参数----------Arguments----------
参数:count
total number of nonblocking operations.
非阻塞操作的总数。
参数:request
a request number.
的请求号码。
参数:status
a status number.
状态数。
Details
详细信息----------Details----------
mpi.wait and mpi.test are used to complete a nonblocking send and receive request: use the same request number by mpi.isend or mpi.irecv. Once completed, the associated request is set to MPI\_REQUEST\_NULL and status contains information such as source, tag, and length of message.
mpi.wait和mpi.test是用来完成一个非阻塞发送和接收请求:mpi.isend或mpi.irecv使用相同的请求数。完成后,相关的请求被设置为MPI \ _REQUEST \ _NULL和状态的信息,如源代码,标记和消息长度。
If multiple nonblocking sends or receives are initiated, the following calls are more efficient. Make sure that request numbers are used consecutively as request=0, request=1, request=2, etc. In this way, the following calls can find request information in system memory.
如果有多个非阻塞发送或接收的启动,下面的调用更有效。确保连续使用请求编号= 0,请求作为请求= 1,请求= 2时,以这种方式,下面的调用可以找到在系统内存中的请求信息。
mpi.waitany and mpi.testany are used to complete one out of several requests.
mpi.waitany和mpi.testany用于完成的多个请求。
mpi.waitall and mpi.testall are used to complete all requests.
mpi.waitall和mpi.testall用于完成所有的请求。
mpi.waitsome and mpi.testsome are used to complete all enabled requests.
mpi.waitsome和mpi.testsome用于完成所有功能的要求。
值----------Value----------
mpi.cancel returns no value.
mpi.cancel没有返回值。
mpi.test.cancelled returns TRUE if a nonblocking call is cancelled; FALSE otherwise.
mpi.test.cancelled返回TRUE,如果一个非阻塞的调用将被取消,否则返回FALSE。
mpi.wait returns no value. Instead status contains information that can be retrieved by mpi.get.count and mpi.get.sourcetag.
mpi.wait没有返回值。相反状态中包含的信息,可以检索mpi.get.count和mpi.get.sourcetag,。
mpi.test returns TRUE if a request is complete; FALSE otherwise. If TRUE, it is the same as mpi.wait.
mpi.test返回TRUE,如果请求是完整的,否则返回FALSE。如果属实,这是一样mpi.wait。
mpi.waitany returns which request (index) has been completed. In addition, status contains information that can be retrieved by mpi.get.count and mpi.get.sourcetag.
mpi.waitany回报请求(索引)已经完成。此外,状态包含的信息,可以检索mpi.get.count和mpi.get.sourcetag,。
mpi.testany returns a list: index— request index; flag—TRUE if a request is complete; FALSE otherwise (index is no use in this case). If flag is TRUE, it is the same as mpi.waitany.
mpi.testany返回一个列表:指数请求指数;旗TRUE,如果请求是完整的,否则返回FALSE(在这种情况下,指数是没有用的)。如果标志为TRUE时,它是相同mpi.waitany。
mpi.waitall returns no value. Instead statuses 0, 1, ..., count-1 contain corresponding information that can be retrieved by mpi.get.count and mpi.get.sourcetag.
mpi.waitall没有返回值。相反状况0,1,...,计数1包含相应信息,可以检索mpi.get.count和mpi.get.sourcetag的。
mpi.testall returns TRUE if all requests are complete; FALSE otherwise. If TRUE, it is the same as mpi.waitall.
mpi.testall返回TRUE,如果所有的请求都完成,否则返回FALSE。如果属实,这是一样mpi.waitall。
mpi.waitsome returns a list: count— number of requests that have been completed; indices—an integer vector of size \$count of those completed request numbers (in 0, 1 ,..., count-1). In addition, statuses 0, 1, ..., \$count-1 contain corresponding information that can be retrieved by mpi.get.count and mpi.get.sourcetag.
mpi.waitsome返回一个列表:已完成的请求数数,指数的整数向量的大小\ $计数那些已完成的请求数(0,1,...,数-1)。此外,状态0,1,...,\ $计数1包含相应信息,可以检索mpi.get.count和mpi.get.sourcetag的。
mpi.testsome is the same as mpi.waitsome except that \$count may be 0 and in this case \$indices is no use.
mpi.testsomempi.waitsome除了\ $计数可能是0,并且在这种情况下,\ $指数是没有用的是相同的。
(作者)----------Author(s)----------
Hao Yu
参考文献----------References----------
http://www-unix.mcs.anl.gov/mpi/www/www3/
参见----------See Also----------
mpi.isend, mpi.irecv, mpi.get.count, mpi.get.sourcetag.
mpi.isend,mpi.irecv,mpi.get.count,mpi.get.sourcetag。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|