You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
The following error message is produced when running a Q# test project on build 0.28.263081:
System.DllNotFoundException : Unable to load DLL 'Microsoft.Simulator.Runtime' or one of its dependencies: A dynamic link library (DLL) initialization routine failed. (0x8007045A)
Run dotnet test from the command line or run the test from the VS test explorer.
Expected behavior
Test should run successfully.
Actual behavior
Project builds fine but throws runtime error above.
System information
OS: Windows 22H2 19045.2965, x64-based processor
.NET Core Version: 6.0.408
Additional context
I suspect that the problem is related to libomp140.x86_64.dll as in #897. Any help with a workaround would be greatly appreciated.
Note that my ~\.nuget\packages\microsoft.quantum.simulators\0.28.263081\runtimes\win-x64\native contains Microsoft.Quantum.Simulator.Runtime.dll and libomp140.x86_64.dll.
Edit: Confirmed same behavior on Ubuntu 18.04. Also with the default console application.
Edit 2: Latest SDK version that does not give this error on the Windows VM is 0.21.2112180703; this needs the .NET 3.1 runtime installed to build though.
The text was updated successfully, but these errors were encountered:
Describe the bug
The following error message is produced when running a Q# test project on build 0.28.263081:
To Reproduce
Create new default test project:
Run
dotnet test
from the command line or run the test from the VS test explorer.Expected behavior
Test should run successfully.
Actual behavior
Project builds fine but throws runtime error above.
System information
OS: Windows 22H2 19045.2965, x64-based processor
.NET Core Version: 6.0.408
Additional context
I suspect that the problem is related to
libomp140.x86_64.dll
as in #897. Any help with a workaround would be greatly appreciated.Note that my
~\.nuget\packages\microsoft.quantum.simulators\0.28.263081\runtimes\win-x64\native
containsMicrosoft.Quantum.Simulator.Runtime.dll
andlibomp140.x86_64.dll
.Edit: Confirmed same behavior on Ubuntu 18.04. Also with the default console application.
Edit 2: Latest SDK version that does not give this error on the Windows VM is 0.21.2112180703; this needs the .NET 3.1 runtime installed to build though.
The text was updated successfully, but these errors were encountered: