Skip to content

Commit

Permalink
Added an OSError exception to MKL check
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurTolley committed Jun 5, 2023
1 parent 166c2b9 commit 8d4483c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycbc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def makedir(path):
try:
import pycbc.fft.mkl
HAVE_MKL=True
except ImportError:
except (ImportError, OSError):
HAVE_MKL=False

# Check for openmp suppport, currently we pressume it exists, unless on
Expand Down

0 comments on commit 8d4483c

Please sign in to comment.