Some behaviors of the solver can be set via environment variable that will override settings on the UI. This can be useful in a studio environment to make sure all users use the desired settings for a project.

API

AXIOM_USE_OPENCL - Set / Unset Variable - Uses OpenCL.

AXIOM_USE_METAL - Set / Unset Variable - Uses Metal.

AXIOM_USE_CUDA - Set / Unset Variable - Uses Cuda.

OpenCL

AXIOM_OCL_CORRECTROUND - Set / Unset Variable - Will have OpenCL do correctly rounded divide and square root operations.

Metal

AXIOM_METAL_LIBRARY_DEBUG - File Path Value - An optional alternative library file for Metal to use.

Cuda

AXIOM_CUDA_SKIPDRIVERVERSIONCHECK - Set / Unset Variable - Will skip the driver Cuda version and runtime Cuda version compatibility check.

Memory

AXIOM_MEMORY_AUTO - Set / Unset Variable - Uses shared memory in addition to device memory.

AXIOM_MEMORY_DEVICEONLY - Set / Unset Variable - Uses device memory only.

Device

AXIOM_DEVICE_PREFERRED - String Value - You can set what device the solver should prefer to use. You can get the name by using the manual device drop-down menu on the solver. This can only be one device. This only has an effect if you are using the GPU or CPU device type menu options. The manual and index options override this variable.

AXIOM_DEVICE_BLACKLIST - String Value - You can set what devices the solver should never use. You can get the names by using the manual device drop-down menu on the solver. Multiple names can be set if they are comma-separated.

AXIOM_DEVICE_NOCPU  - Set / Unset Variable - Will not allow any CPU devices to be used when simulating.

AXIOM_DEVICE_NOGPU - Set / Unset Variable - Will not allow any GPU devices to be used when simulating.