취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

error loading lvanlys.dll in Labview 64 bits

해결 완료!
솔루션으로 이동

I just did a fresh install of LV 2019, 64 bit on a Ryzen 3600 and got the same behavior. Seems like an issue with the Ryzen 3x processors that is still present.

 

The marked solution works for me as well.

0 포인트
21/33 메시지
6,494 조회수

@altenbach wrote:

Thinking about this a little more, it is not clear why the dll does not load without the tweak. Shouldn't it run just fine, but less optimized? What else comes into play here?


Most likely, the MKL does some serious initialization code in its DLLMain function, which gets called by Windows when it tries to load a DLL. In this DLLMain() function the routine to initialize the exact SSE method seems to error out because it can't determine the correct CPU family and this error is propagated up the call chain to the DLLMain function which then returns a failure to Windows, which lets Windows abort the loading of the DLL, and that in turn will fail the loading of the lvanlys.dll.

There are two possible bugs in this:

1) The initialization method might not need to error out on not being able to detect the exact SSE implementation but instead just fall back to a safe one like SSE2 which probably all current CPUs should support albeit this would result in less performance.

2) The error might not need to propagate up the call chain and fail the loading of the DLL if there is some sort of fallback possible, even if that fallback has (terrible) performance.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
22/33 메시지
6,465 조회수

I had the same problem with a new Ryzen 3600 and the fix worked fine for me also.

 

Thank you so much!

0 포인트
23/33 메시지
6,451 조회수

Worked for me as well using Ryzen 9 3950X, thank you!

0 포인트
24/33 메시지
6,388 조회수

I’ve run into this issue as well, and the solution worked for me. Does anyone know what version of LabVIEW has this fixed?  2019 SP1?  2020?

0 포인트
25/33 메시지
6,286 조회수

This solved my issue too! Both  MKL_DEBUG_CPU_TYPE=4 and MKL_DEBUG_CPU_TYPE=5 work for me. My cpu is AMD Ryzen 9 3900XT 12-Core Processor.  

 

This issue was very frustrating!  I searched online many times. I tried many ways, like installing different versions of Labview, OS. Finally, I got here.

 

Really hope the team of Labview can solve this in the near future.

 

thanks a lot, anyway

0 포인트
26/33 메시지
6,184 조회수

where do I put the enviromental variables in LabView (the code)? sorry, i'm new to the app. 

0 포인트
27/33 메시지
6,161 조회수

That has nothing to do with LabVIEW, but rather with Windows.

 

https://docs.oracle.com/en/database/oracle/r-enterprise/1.5.1/oread/creating-and-modifying-environme...

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
28/33 메시지
6,133 조회수

I experienced this issue too, and it took me a while until I found this thread, very frustrating. I hope NI can fix this at some point.

 

Thank you so much BoKnows for posting this workaround!

0 포인트
29/33 메시지
6,103 조회수

If anyone stumbles upon this the bug, The number reported is actually bug number 960430 and is fixed in LabVIEW 2020 and NXG 5.0

 

Detailed steps for previous version of LabVIEW to solve this problem:
1) Add a new environmental variable in Windows: Control Panel » System » Advanced System Settings » Advanced » Environment Variables » System variables (the bottom part of the dialog) » New
2) Put MKL_DEBUG_CPU_TYPE as Variable name
3) Put 4 as Variable value
4) Confirm OK multiple times to close all dialogs
5) (A Windows restart might be needed.)
30/33 메시지
5,984 조회수