Simple Condor-G Job Example

To verify you can run a simple Condor-G job, first create a file named “hostname.condor” with the following contents:

executable = /bin/hostname
transfer_executable = false
globusscheduler = gatekeeper.purdue.nwicgrid.org/jobmanager-pbs
universe = globus
output = hostname.out
log = hostname.log
queue

Then, submit this Condor file to the Purdue Altix (caesar):

condor_submit hostname.condor

Or submit the same to the Notre Dame cluster by changing the globusscheduler line in the file and resubmitting:

globusscheduler = gatekeeper.nd.nwicgrid.org/jobmanager-sge

You can watch the progress of the job by reading the file “hostname.log“:

tail -50f hostname.log

Once complete, you should see “005 (...) mm/dd hh:mm:ss Job terminated.” with some more details about how the job terminated following that. Then you can read the file “hostname.out” to see the results:

more hostname.out