diff --git a/SimPEG/Parallel.py b/SimPEG/Parallel.py index 7a49fb5a..e07b02fa 100644 --- a/SimPEG/Parallel.py +++ b/SimPEG/Parallel.py @@ -539,10 +539,9 @@ class RemoteInterface(object): def _adjustMKLVectorization(nt=1): try: import mkl + mkl.set_num_threads(nt) except ImportError: pass - finally: - mkl.set_num_threads(nt) @staticmethod def _cdSame(rc):