当前位置:网站首页>LabVIEW prohibits other multi-core processing applications from executing on all cores

LabVIEW prohibits other multi-core processing applications from executing on all cores

2022-06-10 23:47:00 LabVIEW development

LabVIEW Prohibit other multi-core applications from executing on all cores

After installation LabVIEW after , Some applications can only execute on one core , And before installation , Applications can run on multiple cores . Open or not LabVIEW The same will happen . What's the situation , And how to solve ?

answer : In the installation LabVIEW When , The installation file will set a Windows environment variable (environment variable), called MKL_SERIAL, Set it to YES . This is a Intel Math Kernel Library Set up , Will make this library In sequence (serial) By . LabVIEW There are multiple threads in itself (multithreading) The function of , And make sure that MKL_SERIAL Set to YES To send threads to this library in .

edit

Add picture comments , No more than 140 word ( Optional )

This makes LabVIEW It can more skillfully generate threads suitable for the program . Intel In this library Provides some multithreaded processing , But in many cases, you need to turn off this function , therefore Intel They suggest that applications or compilers handle multithreading on their own . If other applications cannot handle their own threads , take MKL_SERIAL The value of is set to YES Will limit them , It becomes that it can only be executed on a single core environment . The reason is that these applications rely on library To handle their own threads .

If you can run LabVIEW when MKL_SERIAL The value is set to NO, You may encounter memory errors and LabVIEW The ability to control threads is weakened , Therefore, it is not recommended to perform... Under such a setting LabVIEW . If you really have to change the value of this environment variable , Please make sure you are running LabVIEW Change it back to YES ..

More details , Participate in the introduction of the following annex .

LabVIEW、LabVIEW Development 、LabVIEW Programming 、LabVIEW Program

Examples and information mentioned above , Both in word In the attachment in , Click to download . Learn more , Can you contact us .

LabVIEW Prohibit other multi-core applications from executing on all cores - Beijing Hanwen Wangxing Technology Co., Ltd (bjcyck.com)

 

原网站

版权声明
本文为[LabVIEW development]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206102229544213.html