slurm_output_dfr: SLURM Read executed job output into data frame

Description Usage Arguments Value See Also Examples

View source: R/slurm.R

Description

SLURM Read executed job output into data frame

Usage

1
slurm_output_dfr(slurm_job)

Arguments

slurm_job

a slurm_job object created with slurm_apply

Value

a data frame with one column by return value of the function passed to slurm_apply, where each row is the output of the corresponding row in the params data frame passed to slurm_apply

See Also

get_slurm_out

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
session <- apex_connect()
do_search <- function(x, y) x + y
slurm_job <- slurm_apply(do_search,
                         data.frame(x = seq( 0, 42,  21),
                                    y = seq(42,  0, -21)),
                         "find_meaning")
slurm_upload(session, slurm_job)
slurm_submit(session, slurm_job)
slurm_download(session, slurm_job)
results <- slurm_output_dfr(slurm_job)

## End(Not run)

Saint-Louis-University/sluhpc documentation built on Oct. 30, 2019, 11:47 p.m.