Condor/Installation

From WolfTech
Jump to navigation Jump to search

Windows

  1. Navigate to http://www.cs.wisc.edu/condor/downloads-v2/download.pl to find download links for the current versions of the Condor client.
  2. Choose a release version - we suggest the current stable release (7.4.2 as of this writing) - and a mirror to use.
  3. On the following page, scroll down the list until you find “WinNT 5.0 Intel x86”, and download the MSI installer.
  4. Provide the following information when you run the MSI:
    • Select “Join an existing Condor Pool”
      • For hostname of the Central Manager – “condor.ece.ncsu.edu”
    • Select “Submit jobs to condor pool”
      • For conditions to start a condor job on your machine, select “When keyboard has been idle for 15 minutes and CPU is idle”
      • then select “Keep the job in memory and restart when you leave”
    • Accounting domain of your machine: ece.ncsu.edu
    • E-mail: rkvenkat@ncsu.edu & smtp: smtp.ncsu.edu
    • Path to Java Virtual Machine: leave as default
    • Hosts with Read & Write access : *.ncsu.edu
    • VM Universe settings: leave as "No" and click Next
    • HDFS support settings: leave as "No" and click Next
    • Click the Install button, then click Install to install the Condor client.
    • After restarting your machine, add C:\condor\bin to your PATH environment variable.

Linux

(Need to have root access to install condor)

  1. Create a user named “condor” (with normal user privileges). Note : Condor will run a job on an available machine under the username “condor”.
    • To add a user run “/usr/bin/redhat-config-users” (user-friendly GUI)
  2. Download “Condor 6.6.5 - Linux 2.4.x (glibc 2.3) - Red Hat 9” from http://www.cs.wisc.edu/condor/downloads/v6.6.license.html
  3. Unzip condor-6.6.5-linux-x86-glibc23-dynamic.tar.gz [ gunzip –c <filename> | tar xvf - ] in “/usr”
    • cd /usr/condor-6.6.5
    • Replace the existing “condor_configure” perl script by this modified perl script condor_configure
    • condor_configure --install --type = submit,execute --central-manager = zakkwylde.ecew2k.ncsu.edu –owner = condor
    • cd etc
    • Replace the condor_config file by this modified condor_config file [ condor_config ]
    • cd ../local.$(HOSTNAME) & modify/add the following if they do not exist already in the condor_config.local file :
      • NETWORK_INTERFACE = < your IP address >
        • To find out your machine’s IP address : host <full hostname> (e.g., host zakkwylde.ecew2k.ncsu.edu)
      • CONDOR_ADMIN = root@zakkwylde.ecew2k.ncsu.edu
      • CONDOR_HOST = zakkwylde.ecew2k.ncsu.edu
      • MAIL = /bin/mail
      • Comment out the following lines (add # at the beginning of the line)
        • FILESYSTEM_DOMAIN =
        • UID_DOMAIN =
        • SUSPEND =
        • START =
        • VACATE =
        • PREEMPT =
    • Set CONDOR_CONFIG environment variable to point to /usr/condor-6.6.5/etc/condor_config
      • tcsh – setenv CONDOR_CONFIG /usr/condor-6.6.5/etc/condor_config
      • bash – export CONDOR_CONFIG = /usr/condor-6.6.5/etc/condor_config
    • cd /usr/condor-6.6.5/sbin
    • ./condor_master
    • To ensure that Condor is running, type ps -ef | egrep condor_ , the following processes should be running
      • condor_ master
      • condor_ startd
      • condor_ schedd
  Article created by Ravi Venkatesan of the CESR Research group