Orion Environment Variables

Orion sets several environment variables that can be accessed in a cube. The hardware given to each allocation of a cube could be different depending on what was required and the instance type.

ORION_CPU

The number of CPUs available for use.

ORION_DISK

The amount of temporary storage in megabytes available for use.

ORION_GPU

The number of GPUs available for use.

ORION_INSTANCE

The instance type providing the resources to the allocation.

ORION_JOB_ID

A unique identifier given to each job.

ORION_MEM

The amount of memory in megabytes available for use.

ORION_NUM_PROCS

The total pids-limit value for a cube.

ORION_PROJECT

The ID of the project the job is running in.

ORION_TAGS

A list of comma separated strings indicating unique features of an instance. For example “cuda9” indicates that the allocation supports GPUs with a CUDA 9 compatible driver and software environment.