|
Condor Submit Descriptions
Use the condor_submit command to queue a Condor job for execution. The primary argument to condor_submit is the name of a Condor submit description file. The file contains commands and keywords that direct job queuing, setup, execution and wrapup.
The syntax and keywords used in submit files are described in some detail in a section of the Condor Manual. Here are a few examples that demonstrate some commonly used options.
#################### # # Execute a compiled program with no input data or arguments # ####################
# name of the executable program Executable = a.out
# a.out was not compiled with condor_compile, so we run # in the vanilla universe Universe = vanilla # $(cluster) is replaced at runtime by the job number
# direct stdout and stderr to files Output = out.$(cluster) Error = err.$(cluster) # direct condor messages to a file Log = log.$(cluster)
# request condor to copy data files to the execution node should_transfer_files = YES when_to_transfer_output = ON_EXIT
# run the program with no arguments Queue
#################### # # Execute a program compiled with condor_compile, using input data # #################### # name of the executable program Executable = a.out
# a.out was compiled with condor_compile, so we can run in the standard # universe (where we have support for checkpointing) Universe = standard # $(cluster) is replaced at runtime by the job number
# define file for stdin Input = input.dat
# direct stdout and stderr to files Output = out.$(cluster) Error = err.$(cluster) # direct condor messages to a file Log = log.$(cluster)
# run the program Arguments = arg1 arg2 Queue
#################### # # Condor submit description file for scimark2 benchmark # http://math.nist.gov/scimark2/index.html # ####################
Universe = java
Error = logs/err.$(cluster) Output = logs/out.$(cluster) Log = logs/log.$(cluster)
jar_files = scimark2lib.jar should_transfer_files = YES when_to_transfer_output = ON_EXIT
Executable = scimark2lib.jar Arguments = jnt.scimark2.commandline
Queue
|