|
How to set up Condor for analysis | ||
![]() |
Condor can be downloaded from the University of
Wisconsin website at the address
http://www.cs.wisc.edu/condor. The philosophy behind condor is that you have a pool of machines, one of which is the central manager, and the others are job-running machines. Detailed information on how to install condor on Linux/Unix machines can be found at the above website, in the Unix v6.6 installation page. From the site home page you will also find information about other platforms. Remember that you can make a pool with machines with different platforms on them. The choices we did were to have a condor user/group, and follow the relative instructions in the tutorial. We also decided not to rely on a shared filesystem for binaries installations, so in the installation script the answer to that question is no. Every machine has its local installation under /usr/local/condor. If you want to enable Java support in condor (recommended), make a Java installation somewhere BEFORE installing condor. You will need the path to the JavaVM (i.e. <java inst dir>/bin/java). To start installation, first
of all create a condor user/group, then run as the root user the
condor_install script in the directory where you untarred the downloaded
package.
Other settings which differ from the standard installation, and that you will need to manually edit after installation, are:
Also one thing: it is not 100% clear to me as why this happens, but jobs will not run if the /home/control directory and its subdirectories are not open in rwx to all users. This is a bit strange (because jobs should be executed as the condor user), and for sure it is not nice, so if anyone manages to understand this, please feel free to correct. To fix this: chmod -R go+rwx /home/condor The last step to do is to set up the machine so that it starts condor at boot time. Copy the /usr/local/condor/sbin/condor_master script to /etc/init.d and create symlinks to it in /etc/rc0.d and /etc/rc5.d. Then reboot your computer, and run condor_status at the command line to see if the machine is now in the pool (it should appear in the list of nodes). The above instructions apply both for setting up a central manager machine, and for adding a machine to a pool. The difference is that, when you set up the central manager, you will specify that the central manager's name is the name of the machine you are on, and condor will understand what you want to do. | ||