当前位置:网站首页>LabVIEW 禁止其他可多核心处理的应用程序在所有核心上执行
LabVIEW 禁止其他可多核心处理的应用程序在所有核心上执行
2022-06-10 22:30:00 【LabVIEW开发】
LabVIEW 禁止其他可多核心处理的应用程序在所有核心上执行
在安装完 LabVIEW 之后,一些应用程序只能在一个核心上执行,而在安装之前,应用程序可以在多个核心上跑。 不论是否打开 LabVIEW 都会发生相同的情形。 请问这是什么状况,并且该如何解决?
解答:在安装 LabVIEW 的时候,安装文件会去设定一个 Windows 环境变量(environment variable),叫作 MKL_SERIAL,将其设为 YES 。 这是一个 Intel Math Kernel Library 的设定,会使得这个 library 以序列(serial)的方式执行。 LabVIEW 本身就有多执行绪(multithreading)的功能,并且一定要将 MKL_SERIAL 设为 YES 以用来将各个执行绪送至这个 library 中。

编辑
添加图片注释,不超过 140 字(可选)
这使得 LabVIEW 可以更为巧妙地产生出适合程序的线程。 Intel 在这个 library 里提供了一些多执行绪的处理,但是在许多情形之下却需要关掉这个功能,所以Intel 他们建议应用程序或是编译器自行来处理多线绪。 倘若其他的应用程序不能处理它们自己的线程,将MKL_SERIAL的值设成 YES 将会使它们受到限制,变成只能在单一核心环境上执行。 原因是这些应用程序是靠library 来处理自己的执行绪。
如果可以在运行 LabVIEW 时 MKL_SERIAL 值被设为 NO,可能会遇到内存出错以及 LabVIEW 控制线程的能力被减弱,因此不推荐在这样的设置下执行 LabVIEW 。 如果真的必须更动这个环境变量的值,请确保在运行 LabVIEW 之前将其改回为 YES 。。
更详细的内容,参加如下附件的介绍。
LabVIEW、LabVIEW开发、LabVIEW编程、LabVIEW程序
上文中提到的例子和资料,均在word中的附件里,可点击下载。进一步了解,可联系们。
LabVIEW 禁止其他可多核心处理的应用程序在所有核心上执行 - 北京瀚文网星科技有限公司 (bjcyck.com)
边栏推荐
- Is it safe to open an account online in Shanghai?
- Introduction to software testing: the concept and process of software testing (brilliant content)
- 数据文件 Insurance csv包含1338条观测,即目前已经登记过的保险计划受益者以及表示病人特点和历年计划入的总的医疗费用的特征。这些特征是
- 关于嵌入式音频开发需要注意的两个方面
- PHP implementation of iframe cross site text replacement / iframe website text replacement
- Simple impedance matching circuit and formula
- How to generate automatic references (simple drawings)
- 数据文件nc6oa.txt由33个癌细胞系得6830个基因表达数据构成,每一个细胞系都是某种类型的癌细胞的类型。请按照基因表达数据对33个细胞系进行聚类(聚类类别数划是癌细胞的类型个数,比如乳腺癌、肺
- Project training 10 - backup of specific databases
- Model Workshop
猜你喜欢

Introduction to software testing: the concept and process of software testing (brilliant content)

Introduction to Wireshark capturing RTP load TS stream (UDP multicast)
![[paper sharing] pata: fuzzing with path aware Taint Analysis](/img/f6/627344c5da588afcf70302ef29d134.png)
[paper sharing] pata: fuzzing with path aware Taint Analysis
![30 frequently asked questions of 2022 latest software test interview questions [continuous update ~]](/img/43/12392286fe711c5ef15462c900e456.png)
30 frequently asked questions of 2022 latest software test interview questions [continuous update ~]

黑马头条丨腾讯薪酬制度改革引争议;英特尔全国扩招女工程师;黑马100%就业真的吗......

LabVIEW或MAX下的VISA测试面板中串口无法工作
![[Interface tutorial] how does easycvr set platform cascading through the interface?](/img/d5/b7cbe9522e91a7ae29558bb2abe1fa.jpg)
[Interface tutorial] how does easycvr set platform cascading through the interface?

HyperLeger Fabric安装

Prefer "big and small weeks", only write 200 lines of code every day, and the monthly salary of 8k-17k people will rise again

The time (in minutes) required for a group of workers to cooperate to complete the assembly process of a part are as follows:
随机推荐
Openvp* integrated LDAP authentication
Exécuteur - shutdown, shutdown Now, awaittermination details and actual Fighting
黑马头条丨腾讯薪酬制度改革引争议;英特尔全国扩招女工程师;黑马100%就业真的吗......
Usage of C tryparse
Is it safe to open an account in Shanghai Securities?
34. find the first and last positions of elements in the sorted array - binary search, double pointer
Mathematics and quality education
Apple CMS collection station source code - building tutorial - attached source code - new source code - development documents
判等问题:如何确定程序的判断是正确的?
About string format(String format, Object... args)
300 questions on behalf of the first lecture on determinant
Common settings for vs
[论文分享] PATA: Fuzzing with Path Aware Taint Analysis
【二叉树】二叉树剪枝
Leetcode 501: mode dans l'arbre de recherche binaire
PwnTheBox,Pwn:tutorial1
Analysis of Genesis public chain
PHP实现iframe跨站替换文字/替换iframe网站文字的方法
mysql 表机制
Font spider Teaching -- ttf/otf font file compression