Hint: This means that multiple copies of the OpenMP runtime have been linked into the program.

简介: Hint: This means that multiple copies of the OpenMP runtime have been linked into the program.

解决OMP: Hint: This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.

在开头加上如下代码以解决问题:


import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'

目录
相关文章
|
19天前
|
人工智能 机器人 测试技术
【CMake报错】报错:Flow control statements are not properly nested.
【CMake报错】报错:Flow control statements are not properly nested.
|
前端开发 Java
java:How to use variable parameter? (easy to understand)
It's the first time to write a blog in English for me. (About variable parameter)
70 0
java:How to use variable parameter? (easy to understand)
编译OpenJDK12:Target CPU mismatch. We are building for x86_64 but CL is for ""; expected "x64"
编译OpenJDK12:Target CPU mismatch. We are building for x86_64 but CL is for ""; expected "x64"
96 0
编译OpenJDK8:Target CPU mismatch. We are building for x86_64 but CL is for ""; expected "x64"
编译OpenJDK8:Target CPU mismatch. We are building for x86_64 but CL is for ""; expected "x64"
81 0
|
测试技术
Note tool
Sent: Monday, March 23, 2015 2:56 PM https://dewdfgwd:2030/sap/bc/ui5_ui5/sap/znotetool/index.html?sap-client=001&sap-ui-language=EN&sap-ui-appcache=false 把Opportunity,(或者lead,Appointment,task)ID输入,点submit,就能看到下面挂着的note全部的technical information了 后台只能连AG3哈,这个是拿来做单元测试的。 GM6/001 tcode SE80:
133 0
Note tool
Why expand does not work for complex note
Why expand does not work for complex note? Created by Wang, Jerry, last modified on Jan 12, 2015
103 0
Why expand does not work for complex note
How is dependent libraries defined in metadata loaded in the runtime
How is dependent libraries defined in metadata loaded in the runtime
124 0
How is dependent libraries defined in metadata loaded in the runtime
BUG! exception in phase semantic analysis in source unit
BUG! exception in phase semantic analysis in source unit
313 0
BUG! exception in phase semantic analysis in source unit