source: sasview/docs/sphinx-docs/source/user/environment.rst @ 845144e

magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249unittest-saveload
Last change on this file since 845144e was c1790a5, checked in by smk78, 6 years ago

Created Environment Variables help linked from Working with SasView?

  • Property mode set to 100644
File size: 911 bytes

Environment Variables

SasView creates and uses a number of environment variables:

  • SAS_MODELPATH=path
    • sets the directory containing custom models
  • SAS_DLL_PATH=path
    • sets the path to the compiled modules
  • SAS_WEIGHTS_PATH=~/.sasview/weights
  • XDG_CACHE_HOME=~/.cache
    • sets the pyopencl cache root (linux only)
    • defined in the appdirs package
  • SAS_COMPILER=tinycc|msvc|mingw|unix
    • sets the DLL compiler
  • SAS_OPENCL=vendor:device|none
    • sets the target OpenCL device for GPU computations
    • use none to disable
  • SAS_OPENMP=1|0
    • turns on/off OpenMP multi-processing of the DLLs

Document History

2018-07-20 Steve King
Note: See TracBrowser for help on using the repository browser.