next up previous contents index
Next: condor_ transfer_data Up: 9. Command Reference Manual Previous: condor_ submit   Contents   Index

Subsections


condor_ submit_dag

Manage and queue jobs within a specified DAG for execution on remote machines

Synopsis

condor_ submit_dag [-no_submit] [-verbose] [-force] [-maxidle NumberOfJobs] [-maxjobs NumberOfJobs] [-dagman DagmanExecutable] [-maxpre NumberOfPREscripts] [-maxpost NumberOfPOSTscripts] [-storklog LogFileName] [-notification value] [-noeventchecks] [-allowlogerror] [-r schedd_name] [-debug level] [-usedagdir] [-outfile_dir directory] [-config ConfigFileName] [-insert_sub_file FileName] [-append Command] [-oldrescue 0|1] [-autorescue 0|1] [-dorescuefrom number] DAGInputFile1 [DAGInputFile2 ... DAGInputFileN ]

Description

condor_ submit_dag is the program for submitting a DAG (directed acyclic graph) of jobs for execution under Condor. The program enforces the job dependencies defined in one or more DAGInputFiles. Each DAGInputFile contains commands to direct the submission of jobs implied by the nodes of a DAG to Condor. See the Condor User Manual, section 2.10 for a complete description.

Options

-no_submit
Produce the Condor submit description file for DAGMan, but do not submit DAGMan as a Condor job.
-verbose
Cause condor_ submit_dag to give verbose error messages.
-force
Require condor_ submit_dag to overwrite the files that it produces, if the files already exist. Note that dagman.out will be appended to, not overwritten.
-maxidle NumberOfJobs
Sets the maximum number of idle jobs allowed before condor_ dagman stops submitting more jobs. Once idle jobs start to run, condor_ dagman will resume submitting jobs. NumberOfJobs is a positive integer. If the option is omitted, the number of idle jobs is unlimited. Note that for this argument, each individual process within a cluster counts as a job, which is inconsistent with -maxjobs .
-maxjobs NumberOfJobs
Sets the maximum number of jobs within the DAG that will be submitted to Condor at one time. NumberOfJobs is a positive integer. If the option is omitted, the default number of jobs is unlimited. Note that for this argument, each cluster counts as one job, no matter how many individual processes are in the cluster.
-dagman DagmanExecutable
Allows the specification of an alternate condor_ dagman executable to be used instead of the one found in the user's path. This must be a fully qualified path.
-maxpre NumberOfPREscripts
Sets the maximum number of PRE scripts within the DAG that may be running at one time. NumberOfPREScripts is a positive integer. If this option is omitted, the default number of PRE scripts is unlimited.
-maxpost NumberOfPOSTscripts
Sets the maximum number of POST scripts within the DAG that may be running at one time. NumberOfPOSTScripts is a positive integer. If this option is omitted, the default number of POST scripts is unlimited.
-log LogFileName
Deprecated option; do not use.
-storklog LogFileName
Sets the file name for the Stork log for data placement jobs.
-notification value
Sets the e-mail notification for DAGMan itself. This information will be used within the Condor submit description file for DAGMan. This file is produced by condor_ submit_dag. See notification within the section of submit description file commands in the condor_ submit manual page on page [*] for specification of value.
-noeventchecks
This argument is no longer used; it is now ignored. Its functionality is now implemented by the DAGMAN_ALLOW_EVENTS configuration macro (see section 3.3.23).
-allowlogerror
This optional argument has condor_ dagman try to run the specified DAG, even in the case of detected errors in the user log specification.
-r schedd_name
Submit to a remote schedd. The jobs will be submitted to the schedd on the specified remote host. On Unix systems, the Condor administrator for you site must override the default AUTHENTICATION_METHODS configuration setting to enable remote file system (FS_REMOTE) authentication.
-debug level
Passes the the level of debugging output desired to condor_ dagman. level is an integer, with values of 0-7 inclusive, where 7 is the most verbose output. A default value of 3 is passed to condor_ dagman when not specified with this option. See the condor_ dagman manual page on page [*] for detailed descriptions of these values.
-usedagdir
This optional argument has causes condor_ dagman to run each specified DAG as if condor_ submit_dag had been run in the directory containing that DAG file. This option is most useful when running multiple DAGs in a single condor_ dagman.
-outfile_dir directory
Specifies the directory in which the .dagman.out file will be written. The directory may be specified relative to the current working directory as condor_ submit_dag is executed, or specified with an absolute path. Without this option, the .dagman.out file is placed in the same directory as the first DAG input file listed on the command line.
-config ConfigFileName
Specifies a configuration file to be used for this DAGMan run. Note that the options specified in the configuration file apply to all DAGs if multiple DAGs are specified. Further note that it is a fatal error if the configuration file specified by this option conflicts with a configuration file specified in any of the DAG files, if they specify one. For more information about how condor_ dagman configuration files work, see section 2.10.12.
-insert_sub_file FileName
Specifies a file to insert into the .condor.sub file created by condor_ submit_dag. The specified file must contain only legal submit file commands. Only one file can be inserted. (If both the DAGMAN_INSERT_SUB_FILE configuration variable and -insert_sub_file are specified, -insert_sub_file overrides DAGMAN_INSERT_SUB_FILE.) The specified file is inserted into the .condor.sub file before the Queue command and before any commands specified with the -append option.
-append Command
Specifies a command to append to the .condor.sub file created by condor_ submit_dag. The specified command is appended to the .condor.sub file immediately before the Queue command. Multiple commands are specified by using the -append option multiple times. Each new command is given in a separate -append option. Commands with spaces in them must be enclosed in double quotes. Commands specified with the -append option are appended to the .condor.sub file after commands inserted from a file specified by the -insert_sub_file option or the DAGMAN_INSERT_SUB_FILE configuration variable, so the -append command(s) will override commands from the inserted file if the commands conflict.
-oldrescue 0|1
Whether to use "old-style" rescue DAG naming when creating a rescue DAG (0 = false, 1 = true).
-autorescue 0|1
Whether to automatically run the newest rescue DAG for the given DAG file, if one exists (0 = false, 1 = true).
-dorescuefrom number
Forces condor_ dagman to run the specified rescue DAG number for the given DAG. A value of 0 is the same as not specifying this option. Specifying a non-existant rescue DAG is a fatal error.

See Also

Condor User Manual

Exit Status

condor_ submit_dag will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.

Examples

To run a single DAG:

% condor_submit_dag diamond.dag

To run a DAG when it has already been run and the output files exist:

% condor_submit_dag -force diamond.dag

To run a DAG, limiting the number of idle node jobs in the DAG to a maximum of five:

% condor_submit_dag -maxidle 5 diamond.dag

To run a DAG, limiting the number of concurrent PRE scripts to 10 and the number of concurrent POST scripts to five:

% condor_submit_dag -maxpre 10 -maxpost 5 diamond.dag

To run two DAGs, each of which is set up to run in its own directory:

% condor_submit_dag -usedagdir dag1/diamond1.dag dag2/diamond2.dag

Author

Condor Team, University of Wisconsin-Madison

Copyright

Copyright © 1990-2008 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved. No use of the Condor Software Program is authorized without the express consent of the Condor Team. For more information contact: Condor Team, Attention: Professor Miron Livny, 7367 Computer Sciences, 1210 W. Dayton St., Madison, WI 53706-1685, (608) 262-0856 or miron@cs.wisc.edu.

U.S. Government Rights Restrictions: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of The Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as applicable, Condor Team, Attention: Professor Miron Livny, 7367 Computer Sciences, 1210 W. Dayton St., Madison, WI 53706-1685, (608) 262-0856 or miron@cs.wisc.edu.

See the Condor Version 7.1.0 Manual for additional notices.


next up previous contents index
Next: condor_ transfer_data Up: 9. Command Reference Manual Previous: condor_ submit   Contents   Index
condor-admin@cs.wisc.edu