condor_download {condor}R Documentation

Condor Download

Description

Download results from a Condor job.

Usage

condor_download(run.dir = NULL, local.dir = ".", top.dir = "condor",
  create.dir = FALSE, pattern = "End.tar.gz|condor.*(err|log|out)$",
  overwrite = FALSE, untar.end = TRUE, session = NULL)

Arguments

run.dir

name of a Condor run directory inside top.dir.

local.dir

local directory to download to.

top.dir

top directory on submitter machine that contains Condor run directories.

create.dir

whether to create local.dir if it does not exist.

pattern

regular expression identifying which result files to download. Passing pattern="*" will download all files.

overwrite

whether to overwrite local files if they already exist.

untar.end

whether to extract End.tar.gz into local.dir after downloading. (Ignored if a file named ‘End.tar.gz’ was not downloaded.)

session

optional object of class ssh_connect.

Details

The default value of run.dir = NULL looks for Condor job results in top.dir/local.dir. For example, if local.dir = "c:/yft/run01" then the default run.dir becomes "condor/run01".

The default value of pattern="End.tar.gz|condor.*(err|log|out)$" downloads End.tar.gz and Condor log files. For many analyses, it can be convenient to pack all results into End.tar.gz to make it easy to find, download, and manage output files.

The default value of session = NULL looks for a session object in the user workspace. This allows the user to run Condor functions without explicitly specifying the session.

Value

No return value, called for side effects.

Author(s)

Arni Magnusson.

See Also

condor_submit, condor_q, condor_dir, and condor_download provide the main Condor interface.

condor_rm stops Condor jobs and condor_rmdir removes directories on the submitter machine.

condor-package gives an overview of the package.

Examples

## Not run: 

# General workflow
session <- ssh_connect("servername")

condor_submit()
condor_q()
condor_dir()
condor_download()  # after job has finished

# Alternatively, download specific run to specific folder
condor_download("01_this_model", "c:/myruns/01_this_model")

## End(Not run)


[Package condor version 2.1.0 Index]