找回密码
 注册
查看: 550|回复: 0

R语言 xgrid包 xgrid()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 23:18:11 | 显示全部楼层 |阅读模式
xgrid(xgrid)
xgrid()所属R语言包:xgrid

                                         Submit a Set of Jobs to an Apple Xgrid
                                         一组作业提交到苹果利用Xgrid

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Submit a set of jobs to an Apple Xgrid, letting the grid deal with scheduling and load balancing.
一组作业提交到苹果利用Xgrid,让电网调度和负载平衡处理。


用法----------Usage----------


xgrid(grid = "localhost", numsim = 20, ntask = 1,
  indir = "input", outdir = "output", param = 1,
  Rcmd = "runjob.R", auth = "None", outfile = "RESULTS.rds",
  prefix = "RESULT", throttle = 9999, sleeptime = 5, verbose = FALSE)



参数----------Arguments----------

参数:grid
domain name of the grid controller  
域名,网格控制器


参数:numsim
number of simulations (individual tasks) to run   
(个人任务)的模拟运行


参数:ntask
number of tasks to be run by each job  
各工作运行的任务数


参数:indir
input directory (contents copied from the client to the agent by the controller)  
输入目录(来自客户端的内容复制到代理由控制器)


参数:outdir
output directory to be used to store results returned from the agent by the controller  
要用于存储结果的输出目录由控制器从代理返回


参数:param
an optional parameter to be provided to the remote job  
一个可选的参数提供给远程工作的


参数:Rcmd
R script file within the input directory to be run by the remote agent  
input目录内的R脚本文件来运行远程代理


参数:auth
authorization to use to access the grid: options are "None" (default), "Kerberos" or "Password" (if "Password" then the environment variable XGRID_CONTROLLER_PASSWORD should contain  the password)  
授权使用与电网连接选项是“无”(默认值),“KERBEROS”或“密码”(如果“密码”,然后在环境变量XGRID_CONTROLLER_PASSWORD应该包含密码)


参数:outfile
directory to return output created by the remote job  
返回目录创建的远程职业的输出


参数:prefix
file prefix to add to the beginning of the name of individual job results files  
文件前缀添加到个人的工作成果文件的名称开始


参数:throttle
maximum number of jobs to run at one time (default = 9999), to avoid being greedy on a shared Xgrid  
最大数量的作业运行在一个时间(默认值= 9999),以避免一个共享的Xgrid的贪婪


参数:sleeptime
number of seconds to sleep after checking for completion of a remote job (default = 1 second)  
入睡后检查远程任务的完成(默认为1秒的秒数)


参数:verbose
verbose output (default = FALSE)  
“冗长输出(默认值= FALSE)


Details

详细信息----------Details----------

The function is used to generate a series of commands to execute using the Apple command line program xgrid which stuff jobs on a grid, monitor their progress, and return results when completed.  The function assumes that the function Rcmd exists in the input directory, and that the return value for this function is stored in the object res0  that will be returned separately for each job and collated into  a single dataframe.
的功能是用来产生一系列要执行的命令使用苹果的命令行程序xgrid这东西在网格上工作,监测其进展情况,并将结果返回时完成。函数假定该函数Rcmd在input目录存在,并且此函数的返回值被存储在对象res0将单独返回为每个作业和整理成一个单一的数据框。

The number of jobs run simultaneously can be controlled using the throttle option (otherwise, all jobs are queued and the  Xgrid controller determines which are run).
throttle使用选项(否则,所有的工作都是排队,并确定运行的Xgrid控制器),可以控制同时运行的作业数。


值----------Value----------

Returns a dataframe with number of rows equal to the number of simulations (tasks) calculated as given by the numsim option.   The specific contents of the dataframe are specified by the code run by the user.
返回一个数据框等于numsim选项给出计算的模拟次数(任务)的行的数量。的数据框的具体内容是由用户所指定的运行的代码。


注意----------Note----------

It is possible to utilize add-on packages on the remote agent, even if no direct access to the machine is provided.  This requires that packages are installed into the input directory, then accessed with the lib.loc option to library by the remote job.
可以利用附加的封装上的远程代理,即使没有直接的对机器的访问设置。这需要的软件包安装到input目录下,然后访问lib.loc选项library的远程工作。

Larger values of sleeptime may lead to longer job latency upon completion, but will  provide less of a load on the grid.
值越大,sleeptime可能导致更长的工作完成后,延迟,但会提供对电网的负载。


(作者)----------Author(s)----------



Nicholas Horton (<a href="mailto:nhorton@smith.edu">nhorton@smith.edu</a>)




参考文献----------References----------

High Performance Computing Version 10.6 Snow Leopard (2009). Apple Inc.

参见----------See Also----------

xgridsubmit, xgridattr, xgridresults and xgriddelete
xgridsubmit,xgridattr,xgridresults和xgriddelete

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2024-11-24 20:58 , Processed in 0.022141 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表