How To Install condor-classads on CentOS 7

In this tutorial we learn how to install condor-classads on CentOS 7. condor-classads is HTCondor’s classified advertisement language

Introduction

In this tutorial we learn how to install condor-classads on CentOS 7.

What is condor-classads

Classified Advertisements (classads) are the lingua franca of HTCondor. They are used for describing jobs, workstations, and other resources. They are exchanged by HTCondor processes to schedule jobs. They are logged to files for statistical and debugging purposes. They are used to enquire about current state of the system. A classad is a mapping from attribute names to expressions. In the simplest cases, the expressions are simple constants (integer, floating point, or string). A classad is thus a form of property list. Attribute expressions can also be more complicated. There is a protocol for evaluating an attribute expression of a classad vis a vis another ad. For example, the expression “other.size > 3” in one ad evaluates to true if the other ad has an attribute named size and the value of that attribute is (or evaluates to) an integer greater than three. Two classads match if each ad has an attribute requirements that evaluates to true in the context of the other ad. Classad matching is used by the HTCondor central manager to determine the compatibility of jobs and workstations where they may be run.

We can use yum or dnf to install condor-classads on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install condor-classads.

Install condor-classads on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install condor-classads using yum by running the following command:

sudo yum -y install condor-classads

Install condor-classads on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install condor-classads using dnf by running the following command:

sudo dnf -y install condor-classads

How To Uninstall condor-classads on CentOS 7

To uninstall only the condor-classads package we can use the following command:

sudo dnf remove condor-classads

References

Summary

In this tutorial we learn how to install condor-classads on CentOS 7 using yum and dnf.