Skip to content
Snippets Groups Projects

set matplotlib cache directory

Merged Cort Posnansky requested to merge master-matplotlib-lockfile into master
All threads resolved!

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

Pipeline #498042 passed with warnings

Pipeline passed with warnings for d2a39f6b on master-matplotlib-lockfile

Approval is optional

Merged by Cort PosnanskyCort Posnansky 2 years ago (Feb 16, 2023 3:45am UTC)

Merge details

  • Changes merged into master with 0597075e (commits were squashed).
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #498089 passed with warnings

Pipeline passed with warnings for 0597075e on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading