slurm_download: SLURM Download

Description Usage Arguments Note See Also Examples

View source: R/slurm.R

Description

SLURM Download

Usage

1
2
slurm_download(session, slurm_job, parent_directory = "Documents",
  seconds = 10, ...)

Arguments

session

ssh connection created with apex_connect

slurm_job

a slurm_job object created with slurm_apply

parent_directory

location of slurm job folder on apex

seconds

seconds between job completion checks

...

further arguments passed to apex_download

Note

This function will block until the job finishes on the cluster.

See Also

apex_download

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

## End(Not run)

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