你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Workaround for MKL threading bug on macOS.
这个提交包含在:
2
setup.py
2
setup.py
@@ -112,7 +112,7 @@ if sys.platform == 'win32':
|
||||
compile_args = ['/O2', '/openmp', '/w'] # No static linking as no static version of OpenMP library; /w disables warnings
|
||||
linker_args = []
|
||||
extra_objects = []
|
||||
# Mac OS X - needs gcc (usually via HomeBrew) because the default compiler LLVM (clang) does not support OpenMP
|
||||
# macOS - needs gcc (usually via HomeBrew) because the default compiler LLVM (clang) does not support OpenMP
|
||||
# - with gcc -fopenmp option implies -pthread
|
||||
elif sys.platform == 'darwin':
|
||||
gccpath = glob.glob('/usr/local/bin/gcc-[4-9]*')
|
||||
|
在新工单中引用
屏蔽一个用户