Linux or macOS (as user)
Installing HTCondor on Linux or macOS as a normal user is a multi-step process. Note that a user-install of HTCondor is always self-contained on a single machine; if you want to create a multi-machine HTCondor pool, you will need to have administrative privileges on the relevant machines and follow the instructions here: Administrative Quick Start Guide.
Download
The first step is to download HTCondor for your platform. If you know which platform you’re using, that HTCondor supports it, and which version you want, you can download the corresponding file from our website; otherwise, we recommend using our download script, as follows.
cd
curl -fsSL https://get.htcondor.org | /bin/bash -s -- --download
On macOS, If you use a web browser to download a tarball from our web site, then the OS will mark the file as quarantined. All binaries extracted from the tarball will be similarly marked. The OS will refuse to run any binaries that are quarantined. You can remove the quarantine marking from the tarball before extracting, like so:
xattr -d com.apple.quarantine condor-10.7.1-x86_64_macOS13-stripped.tar.gz
Install
Unpack the tarball and rename the resulting directory:
tar -x -f condor.tar.gz
mv condor-*stripped condor
You won’t need condor.tar.gz
again, so you can remove it now if you wish.
Configure
cd condor
./bin/make-personal-from-tarball
Using HTCondor
You’ll need to run the following command now, and every time you log in:
. ~/condor/condor.sh
Then to start HTCondor (if the machine has rebooted since you last logged in):
condor_master
It will finish silently after starting up, if everything went well.
Verifying a Single-Machine Installation
You can easily check to see if the installation procedure succeeded. The following commands should complete without errors, producing output that looks like the corresponding example.
condor_status
Name OpSys Arch State Activity LoadAv Mem Actv
slot1@azaphrael.org LINUX X86_64 Unclaimed Benchmarking 0.000 2011 0+00
slot2@azaphrael.org LINUX X86_64 Unclaimed Idle 0.000 2011 0+00
slot3@azaphrael.org LINUX X86_64 Unclaimed Idle 0.000 2011 0+00
slot4@azaphrael.org LINUX X86_64 Unclaimed Idle 0.000 2011 0+00
Total Owner Claimed Unclaimed Matched Preempting Backfill Drain
X86_64/LINUX 4 0 0 4 0 0 0 0
Total 4 0 0 4 0 0 0 0
condor_q
-- Schedd: azaphrael.org : <184.60.25.78:34585?... @ 11/11/20 14:44:06
OWNER BATCH_NAME SUBMITTED DONE RUN IDLE HOLD TOTAL JOB_IDS
Total for query: 0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended
Total for all users: 0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended
If both commands worked, the installation likely succeeded.
Where to Go from Here
For a brief introduction to running jobs with HTCondor, see the Users’ Quick Start Guide.
If you’re looking to set up a multi-machine pool, go to the Administrative Quick Start Guide.