Condor HTC (High Throughput Computing)

Currently Condor is installed on our cluster with a Rocks roll.

[root@grow-grid ~]# condor_version
CondorVersion: 7.4.4 Oct 13 2010 BuildID: 279383 $
CondorPlatform: X86_64-LINUX_RHEL5 $

Setup

Edit the head node config file settings

?
CONDOR_HOST = grow-prod.local
NETWORK_INTERFACE = 10.1.1.1

Add this file plugin_cms.py to:

[user@grow-prod ~]$ sudo vi /opt/rocks/lib/python2.4/site-packages/rocks/commands/report/host/condor/config/plugin_cms.py

Execute the following commands to reconfigure condor on all of the nodes (You may have to execute them twice)

[root@grow-prod ~]$ rocks sync host condor grid
[root@grow-prod ~]$ rocks sync host condor login
[root@grow-prod ~]$ rocks sync host condor compute
[root@grow-prod ~]$ rocks run host 'service rocks-condor restart'

Condor Status Script

[root@grow-prod ~]$ vi /root/condor-status-script.sh

"/root/condor-status-script.sh"
#!/bin/bash
. /root/.bashrc
OUTPUT=/var/www/html/condor_status.txt
echo -e " \n\n" >$OUTPUT
echo -e "As of `date` \n">>$OUTPUT
/opt/condor/bin/condor_status -submitters >>$OUTPUT
/opt/condor/bin/condor_userprio -all >>$OUTPUT
/opt/condor/bin/condor_status -run >>$OUTPUT

Add the following line to the cron job that will update the condor status every ten minutes. This status report can be viewed here
http://grow-prod.its.uiowa.edu/condor_status.txt

[root@grow-prod ~]$ vi /var/spool/cron/root

"/var/spool/cron/root"
1,11,21,31,41,51 * * * * /root/condor-status-script.sh

Notes

Contact Info

This Dokuwiki page is maintained by:
Daniel Squires
University of Iowa
Department of Computer Science
Email: daniel-squires@uiowa.edu