你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Move MKL bug fix
这个提交包含在:
@@ -7,6 +7,14 @@ Electromagnetic wave propagation simulation software.
|
||||
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
# 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'
|
||||
|
||||
from ._version import __version__
|
||||
from .cmds_single_use import Discretisation
|
||||
from .cmds_single_use import Domain
|
||||
|
在新工单中引用
屏蔽一个用户