From the Overview of the Condor Manual:
|
From the UTCS local condor documentation:
|
From the Overview of the Condor Manual:
|
|
From the UTCS local condor documentation:
|
From the Users' Manual:
|
1. Code Preparation.
|
2. What is Condor Universe.
|
3. What is Submit Description File?
|
|
4. Submit Job.
|
5. Job Completion.
|
###############################################
#
# General Format of Condor Job Command File
# (Notice that comment lines begin with #.)
#
###############################################
+Group = "GRAD"
+Project = "SCIENTIFIC_COMPUTING"
+ProjectDescription = "Computing..."
Requirements = ClassAd Boolean Expression
# a boolean, which when evaluated within the context of the machine ClassAd
# and a job ClassAd, must evaluate to TRUE before Condor will allow the job
# to use this machine.
Universe = which Condor Universe to use when running this job (OPTIONAL)
# vanilla/standard/pvm/scheduler/globus/mpi
Executable = name
# the name of the executable file for this job cluster
Initialdir = directory-path (OPTIONAL)
# the current working directory for the job
Arguments = list of the command line arguments to be supplied to the job (OPTIONAL)
...
...
...
Input = pathname (OPTIONAL)
# stdin of the job is redirected from a file specified here
Output = pathname (OPTIONAL)
# stdout of the job is redirected to a file specified here
Error = pathname (OPTIONAL)
# stderr of the job is redirected to a file specified here
Log = pathname
# a filename where Condor will write a log file (OPTIONAL)
Notification = when owners of the job(s) are notified by email (OPTIONAL)
# always/complete(DEFAULT)/error
Notify_user = the email address to use when Condor sends email about a job (OPTIONAL)
Queue
...
...
...
|
For the explanation of the following examples of submit description files, see:
From the Submitting a Job to Condor:
##################################################
#
# Example 1
# Simple condor job description file
#
##################################################
Executable = foo
Log = foo.log
Queue
|
##################################################
#
# Example 2: demonstrate use of multiple
# directories for data organization.
#
##################################################
Executable = mathematica
Universe = vanilla
input = test.data
output = loop.out
error = loop.error
Log = loop.log
Initialdir = run_1
Queue
Initialdir = run_2
Queue
|
From the condor_submit:
##################################################
#
# Example 3: queueing multiple jobs with differing
# command line arguments and output files.
#
##################################################
Executable = foo
Arguments = 15 2000
Output = foo.out1
Error = foo.err1
Queue
Arguments = 30 2000
Output = foo.out2
Error = foo.err2
Queue
Arguments = 45 6000
Output = foo.out3
Error = foo.err3
Queue
|
##################################################
#
# Example 4: Show off some fancy features including
# use of pre-defined macros and logging.
#
##################################################
Executable = foo
Requirements = Memory >= 32 && OpSys == "IRIX6" && Arch =="SGI"
Rank = Memory >= 64
Image_Size = 28 Meg
Error = err.$(Process)
Input = in.$(Process)
Output = out.$(Process)
Log = foo.log
Queue 150
|
(Links programs for C (or C++), respectively) |
|
|