你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Workaround for MKL threading bug on macOS.
这个提交包含在:
@@ -25,6 +25,12 @@ import sys
|
||||
|
||||
from enum import Enum
|
||||
|
||||
# There is a bug with threading and MKL on macOS
|
||||
# (https://github.com/gprMax/gprMax/issues/195) . Setting the MKL threading
|
||||
# layer to sequential solves it, but must be done before numpy is imported.
|
||||
if sys.platform == 'darwin':
|
||||
os.environ["MKL_THREADING_LAYER"] = 'sequential'
|
||||
|
||||
import h5py
|
||||
import numpy as np
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户