Runtime Error! R6030 - CRT not initialized
Hi, i have a problem with the new beta 11 release of CNTK Version 2. When i try to run the CNTK.exe for example via command prompt i receive the following error: Runtime Error! R6030 - CRT not initialized things i have tried so far: -installed all new windows updates -i have tried it with the binaries version as well as with a self compiled version from source -starting it as administrator I am using windows 7 and the old beta 9 release works without any issues.
I had deadlock problems with the beta 2.0 version when using using windows 7. I tried to build the beta 2.11 but I also got the same message, waiting for an answer too.
That's good to hear, i wasn't sure if the issue was due to some unique computer settings or sth. So I am not the only one with that problem.
You can test using win8.1 and win10.Setup CNTK on your machine
I have just installed the 2017-02-23.* V 2.0 Beta 12 Release of CNTK on my Win7/64 machine following exactly instruction - Setup CNTK on your machine. OK with one exception - I do not have Win8 or Win10. I have the same Runtime error when executing the CNTK.exe - Runtime Error! R6030 - CRT not initialized.
Additional finding:
You do not have this issue if you compile the code as Debug_CpuOnly.
no follow-up for a long time, please open a new issue if you experience this in a more recent CNTK installation
Hello! This problem can be solved by dynamically loading the CNTK dll or by dynamically loading the CUDA dll. I hope my comments will help others.
CNTK V 2.2 with Win7/64 GPU-compilations keep giving the CRT init error, but CPU-onlys don't. So it seems that it has something to do with CUDA. KGWANGMING suggests dynamically loading CUDA.dll. Now how do I do that???
I can confirm this is still an issue with the very latest cntk 2.3 (cntk.exe) on Windows 7 compiled from source with no modifications (compiled using vs2015 on windows10). @KGWANGMIN are you using cntk.exe? Did you make some modifications to "dynamically load" the dlls at the start of the program?
Still an issue with CNTK 2.4. Windows-64bit-GPU, running on Windows 8.1
Sorry, I should have posted the fix before (as it's trivial). Building from source go to Project->Properties and then go to the Linker section and Input sub-section. There you'll see a box called "Delay Loaded Dlls". There are a couple of entries already, but finally the list should include:
Cntk.Math-xxx.dll Cntk.PerformanceProfiler-xxx.dll CntkCore-xxx.dll
where xxx is the version number (or macro for version ${CntkComponentVersion} )
I also seem to have a few other items there msmpi.dll, nvml.dll ${CudaRuntimeDll}. I forget if they were there originally or part of my trying to get it to work. As I remember it's the Cntk.XXX ones that fixed the problem.
Please reactivate this issue. It's still not resolved. If it's resolved please provide the resolution/workaround.
Thanks Jan