/usr/local/condor/bin/
and /usr/local/condor/sbin/
are placed in /usr/bin/
and /usr/sbin/
, respectively.This is an old revision of the document!
This page describes the procedure for installing Condor on a Fedora 13 system from the Condor source code. The Fedora repository version of Condor is a few versions behind and has a few features, such as Checkpointing, disabled. For these reasons, we chose to install Condor from scratch using the Red Hat Enterprise Linux version of the source code.
Using this type of installation and configuration, the standard location for the following files are as follows:
/etc/condor/condor_config
/var/lib/condor/condor_config.local
/usr/local/condor/
/var/lib/condor/log/
/usr/local/condor/bin/
/usr/local/condor/sbin/
/usr/local/condor/etc/examples/mp1script
sudo ./condor_configure --type=manager,submit,execute --local-dir=/var/lib/condor --install-dir=/usr/local/condor --owner=condor --install --verbose
export CONDOR_CONFIG=/usr/local/condor/etc/condor_config
I tried to put the binaries in /usr/local/bin and /usr/local/sbin, but sudo's PATH didn't include /usr/local/bin and /usr/local/sbin, which made it inconvenient to run under sudo.
ln -s /usr/local/condor/bin/* /usr/bin/ ln -s /usr/local/condor/sbin/* /usr/sbin/ sudo chown condor:condor /usr/local/condor/bin/* sudo chown condor:condor /usr/local/condor/sbin/*
The Condor installation comes with example boot, configuration, and submission scripts. The included example boot script is compatible with Fedora 13's system services system, so registering it with the system allows Condor to automatically start when the computer is booted. To add the script to the system and register it, do the following:
sudo cp /usr/local/condor/etc/examples/condor.boot.generic /etc/init.d/condor sudo chmod 774 /etc/init.d/condor sudo chkconfig --add condor sudo chkconfig --level 45 condor on
To verify the settings, run the following command and make sure levels 4 and 5 are on:
chkconfig --list | fgrep condor
Back in the olden days, Condor used to be able to easily do idle detection based on the device files in the /dev/
folder. This is great if the system has a PS/2 keyboard and (God forbid!) a serial mouse, but now with USB keyboards and mice, doing idle detection based on these USB device files is feeble, probably since USB device files vary by the make and model of the keyboard or mouse. Fortunately, Condor is now able to latch on to the X11 window manager and poll it for activity. Condor needs to run an extra daemon to do this, known as the condor_kbdd
daemon.
If Condor were installed from a package manager, the condor_kbdd
daemon wouldn't be included since it is considered a separate software package. No big deal. Installing Condor from its source code means that the condor_kbdd
program comes with the whole bundle, which is nice. Although the condor_kbdd
daemon is installed, it is not activated in Condor by default. In order to activate the daemon, simply add KBDD
as an item in the DAEMON_LIST
configuration variable as a comma-separated list. If the condor_kbdd
daemon is correctly installed, Condor will start the daemon and latch it on to the X11 window server to allow for proper idle detection of any and all applicable input devices. 2)