Linux (as root)
For ease of installation on Linux, we provide a script that will automatically download, install and start HTCondor.
Quickstart Installation Instructions
Warning
RedHat systems must be attached to a subscription.
Debian and Ubuntu containers don’t come with
curl
installed, so run the following first.apt-get update && apt-get install -y curl
The command below shows how to download the script and run it immediately; if you would like to inspect it first, see Inspecting the Script. The default behavior will create a complete HTCondor pool with its multiple roles on one computer, referred to in this manual as a “minicondor.” Experienced users who are making an HTCondor pool out of multiple machines should add a flag to select the desired role; see the Administrative Quick Start Guide for more details.
curl -fsSL https://get.htcondor.org | sudo /bin/bash -s -- --no-dry-run
If you see an error like bash: sudo: command not found
, try re-running
the command above without the sudo
.
Inspecting the Script
If you would like to inspect the script before you running it on your system as root, you can:
compare the script to the versions in our GitHub repository;
or run the script as user
nobody
, dropping the--no-dry-run
flag. This will cause the script to print out what it would do if run for real. You can then inspect the output and copy-and-paste it to perform the installation.
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.
Setting Up a Whole Pool
The details of using this installation procedure to create a multi-machine HTCondor pool are described in the admin quick-start guide: Administrative Quick Start Guide.