NSLS-II / PyXRF

Fluorescence fitting GUI.
http://nsls-ii.github.io/PyXRF
BSD 3-Clause "New" or "Revised" License
31 stars 23 forks source link

Place Dask cache into /tmp directory on Linux #260

Closed dmgav closed 2 years ago

dmgav commented 2 years ago

Change the location of Dask cache when PyXRF is running on Linux. The cache is now located in /tmp/<user_name>/dask directory. It is still located in <user_home_dir>/.dask directory if PyXRF is running on Windows or OSX. The change is expected to fix issues that occur on beamline workstations, where user home directories are on slow NFS.

dmgav commented 2 years ago

The changes were tested on a beamline workstation and seem to fix the issue.