sge.get.result {Rsge}R Documentation

Returns the results for a job that has been executed in the SGE environment

Description

Used to retrieve stored results that were written by the worker processes.

Usage

sge.get.result(sge.fname, jobid)
sge.list.get.result(list, ...) 

Arguments

sge.fname File location where the worker process results are stored
jobid Job id of the job whose results we are returning
list List that contains the jobid and filename
... also passes sge.fname, jobid, and remove arguments to sge.get.result

Details

If the list version is used, then the list must have the named elements filename and jobid.

Rsge integrates with SGE by using the R functions load/store to write files to to a shared file system accessible by both 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 called by the user to gather results from calls to sge.submit.

Value

Returns results from the worker processes.

Author(s)

Dan Bode dbode@univaud.com

See Also

sge.submit


[Package Rsge version 0.6.1 Index]