sge.get.result {Rsge} | R Documentation |
Used to retrieve stored results that were written by the worker processes.
sge.get.result(sge.fname, jobid, remove=FALSE) sge.list.get.result(list, ...)
sge.fname |
File location where the worker process results are stored |
jobid |
Job id of the job whose results we are returning |
remove |
Determines if the jobs files should be removed after running |
list |
List that contains the jobid and filename |
... |
also passes sge.fname, jobid, and remove arguments to sge.get.result |
If the list version is used, then the list must have the named elements filename and jobid.
Rsge integrates with SGE by using the load and store functionality to write files to to a shared file system to communicate between the worker processes and the submission process. Every node that runs will store its results in a unique file specified by the options sge.file.prefix and sge.ret.ext. This function excepts the results filename to be passed as an option.
sge.file.prefixuniquestring[SGE_TASK_ARRAY_ID].sge.ret.ext
This funciton is used internally by sge.parApply, and should be used to gather results from calls to sge.submit.
Returns results from the worker processes.
Dan Bode dbode@univaud.com