'\" t .\" Title: pegasus-run .\" Author: [see the "Authors" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 11/09/2018 .\" Manual: Pegasus Manual .\" Source: Pegasus 4.4.0 .\" Language: English .\" .TH "PEGASUS\-RUN" "1" "11/09/2018" "Pegasus 4\&.4\&.0" "Pegasus Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pegasus-run \- executes a workflow that has been planned using *pegasus\-plan*\&. .SH "SYNOPSIS" .sp .nf \fBpegasus\-run\fR [\fB\-D\fR\fIproperty=value\fR\&...][\fB\-c\fR \fIpropsfile\fR][\fB\-d\fR \fIlevel\fR] [\fB\-v][\fR\-\-grid*][rundir] .fi .SH "DESCRIPTION" .sp The \fBpegasus\-run\fR command executes a workflow that has been planned using \fBpegasus\-plan\fR\&. By default pegasus\-run can be invoked either in the planned directory with no options and arguments or just the full path to the run directory\&. \fBpegasus\-run\fR also can be used to resubmit a failed workflow by running the same command again\&. .SH "OPTIONS" .sp By default \fBpegasus\-run\fR does not require any options or arguments if invoked from within the planned workflow directory\&. If running the command outside the workflow directory then a full path to the workflow directory needs to be specified\&. .sp \fBpegasus\-run\fR takes the following options .PP \fB\-D\fR\fIproperty=value\fR .RS 4 The \fB\-D\fR option allows an advanced user to override certain properties which influence \fBpegasus\-run\fR\&. One may set several CLI properties by giving this option multiple times\&. .sp The \fB\-D\fR option(s) must be the first option on the command line\&. CLI properties take precedence over the file\-based properties of the same key\&. .sp See the \fBPROPERTIES\fR section below\&. .RE .PP \fB\-c\fR \fIpropsfile\fR, \fB\-\-conf\fR \fIpropsfile\fR .RS 4 Provide a property file to override the default Pegasus properties file from the planning directory\&. Ordinary users do not need to use this option unless the specifically want to override several properties .RE .PP \fB\-d\fR \fIlevel\fR, \fB\-\-debug\fR \fIlevel\fR .RS 4 Set the debug level for the client\&. Default is 0\&. .RE .PP \fB\-v\fR, \fB\-\-verbose\fR .RS 4 Raises debug level\&. Each invocation increase the level by 1\&. .RE .PP \fB\-\-grid\fR .RS 4 Enable grid checks to see if your submit machine is GRID enabled\&. .RE .PP \fIrundir\fR .RS 4 Is the full qualified path to the base directory containing the planned workflow DAG and submit files\&. This is optional if the \fBpegasus\-run\fR command is invoked from within the run directory\&. .RE .SH "RETURN VALUE" .sp If the workflow is submitted for execution \fBpegasus\-run\fR returns with an exit code of 0\&. However, in case of error, a non\-zero return value indicates problems\&. An error message clearly marks the cause\&. .SH "FILES" .sp The following files are created, opened or written to: .PP \fBbraindump\fR .RS 4 This file is located in the rundir\&. pegasus\-run uses this file to find out paths to several other files, properties configurations etc\&. .RE .PP \fBpegasus\&.?????????\&.properties\fR .RS 4 This file is located in the rundir\&. pegasus\-run uses this properties file by default to configure its internal settings\&. .RE .PP \fBworkflowname\&.dag\fR .RS 4 pegasus\-run uses the workflowname\&.dag or workflowname\&.sh file and submits it either to condor for execution or runs it locally in a shell environment .RE .SH "PROPERTIES" .sp pegasus\-run reads its properties from several locations\&. .PP \fBRUNDIR/pegasus\&.??????????\&.properties\fR .RS 4 The default location for pegasus\-run to read the properties from .RE .PP \fB\-\-conf propfile\fR .RS 4 properties file provided in the conf option replaces the default properties file used\&. .RE .PP \fB$HOME/\&.pegasusrc\fR .RS 4 will be used if neither default rundir properties or \-\-conf propertiesfile are found\&. .sp Additionally properties can be provided individually using the \fB\-Dpropkey\fR=\fIpropvalue\fR option on the command line before all other options\&. These properties will override properties provided using either \fB\-\-conf\fR or \fIRUNDIR/pegasus\&.???????\&.properties\fR or the \fI$HOME/\&.pegasusrc\fR .sp The merge logic is CONF PROPERTIES || DEFAULT RUNDIR PROPERTIES || PEGASUSRC overriden by Command line properties .RE .SH "ENVIRONMENT VARIABLES" .PP \fBPATH\fR .RS 4 The path variable is used to locate binaries for condor\-submit\-dag, condor\-dagman, condor\-submit,pegasus\-submit\-dag, pegasus\-dagman and pegasus\-monitord .RE .SH "SEE ALSO" .sp pegasus\-plan(1) .SH "AUTHORS" .sp Gaurang Mehta .sp Jens\-S\&. Vöckler .sp Pegasus Team \m[blue]\fBhttp://pegasus\&.isi\&.edu\fR\m[]