Skip to content

set matplotlib cache directory

Cort Posnansky requested to merge master-matplotlib-lockfile into master

This MR resolves issues with matplotlib lock files.

Matplotlib uses a cache directory in the user's home directory by default. For a plotting job running in condor, the user's home directory is accessed over the network, which introduces latency and causes lock file errors. The change in this MR uses the previously empty __init__.py script in gstlal.plots to set a special matplotlib environment variable, telling it to use local tmp space for its cache directory.

Edited by Cort Posnansky

Merge request reports