Ruby Wrapper for Condor
This is a Ruby wrapper for the Condor distributed computing framework.
It consists of a wrapper for a Condor submit file and a program, condor-exec
, that submits an arbitrary command line as a Condor job. For example:
condor-exec prog –option arg1 arg2
queues up a job for the program prog
with arguments --option arg1 arg2
. To pass options to condor-exec
itself, place them before prog
. For example:
condor-exec –output=myoutput prog –option arg1 arg2
Alternately, arguments may be specified in a separate arguments file, and one Condor job will be queued for each line in the file.
condor-exec –argfile=args prog
See condor-exec --help
for more information.
An /etc/ruby-condor.yaml
file may be used to specify default attributes for all processes. This is a YAML encoding a of hash. For example, the following will specify the Universe, Getenv, and Log values:
— Universe: vanilla Getenv: “true” Log: /tmp/$ENV(USER).condor.$(Cluster)
History
- 1.0.0
-
Basic submit file wrapper;
condor-exec
program - 1.1.0
-
Additional options in
condor-exec
, including argument files; Add logging support - 2.0.0
-
Load defaults from configuration file; change command line of condor-exec
Copyright
Copyright 2009, William Patrick McNeill
This program is distributed under the GNU General Public License.
Author
W.P. McNeill [email protected]