This lesson is still being designed and assembled (Pre-Alpha version)

Services for Running Jobs

Overview

Teaching: 10 min
Exercises: 20 min
Questions
  • I have a lot of questions. Number one, how dare you?

Objectives
  • Alwas consider the good practices, specially when working remotely

Services for Running Jobs

Jobs can use these services to provide more reliable runs, to give logging and monitoring data for users, and to synchronize with other jobs. Note that different HTCondor job universes may provide different services. The functionality below is available in the vanilla universe, unless otherwise stated.

Environment Variables

An HTCondor job running on a worker node does not, by default, inherit the environment variables from the machine it runs on or the machine it was submitted from. If it did, the environment might change from run to run, or machine to machine, and create non reproducible, difficult to debug problems.

The user may define environment variables for the job with the environment command in the submit file.

In general, it is preferable to just declare the minimum set of needed environment variables with the environment command, as that clearly declares the needed environment variables.

Commands within the submit description file may reference the environment variables of the submitter. Submit description file commands use $ENV(EnvironmentVariableName) to reference the value of an environment variable.

Extra Environment Variables HTCondor sets for Jobs

Additional environment variables

Resource Limitations on a Running Job

HTCondor may configure the system a job runs on to prevent a job from using all the resources on a machine.

Jobs may see

Key Points

  • Where should I do my work when logging in to the UChicago Analysis Facility?