VCRUNTIME140.dll not found

Moderators: Site Moderators, FAHC Science Team

erich56
Posts: 73
Joined: Thu May 05, 2016 11:35 am
Location: Vienna, Austria

VCRUNTIME140.dll not found

Post by erich56 »

I have been running FAH on a new PC with 2 x RTX3070 inside for several months, without problems.
Since last night, the following problem occurs: once a WU got finished and uploaded and a new WU is downloaded, this new WU under "status" is shown as running, but the progress stays at "0" (and the Windows Task Manager shows that FAH is not running with this new WU, but only with the other one). A window pops up with headline "FahCore_22.exe System error" and text "the execution of the code cannot be continued, as VCRUNTIME140.dll cannot be found". Obviously, the dll must be there, otherwise the other GPU would not be running FAH properly, right?
What happened? Why is FAH not functioning all of a sudden?
Severian
Posts: 8
Joined: Sat May 09, 2020 10:37 am
Location: France

Re: VCRUNTIME140.dll not found

Post by Severian »

Hello, same issue here with a WU for the 13456 project.
Some DLL are missing.

Is it possible that the 22-0.0.14 version of Core_22 doesn't contain all of the required DLL ?

Code: Select all

******************************* Date: 2021-07-28 *******************************
16:29:10:WU00:FS01:Connecting to assign1.foldingathome.org:80
16:29:11:WU00:FS01:Assigned to work server 54.157.202.86
16:29:11:WU00:FS01:Requesting new work unit for slot 01: gpu:15:0 GP106 [GeForce GTX 1060 3GB] 3935 from 54.157.202.86
16:29:11:WU00:FS01:Connecting to 54.157.202.86:8080
16:29:13:WU00:FS01:Downloading 6.92MiB
16:29:19:WU00:FS01:Download 77.69%
16:29:20:WU00:FS01:Download complete
16:29:20:WU00:FS01:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:13456 run:33 clone:15 gen:0 core:0x22 unit:0x0000000f000000000000349000000021
16:29:20:WU00:FS01:Downloading core from http://cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah
16:29:20:WU00:FS01:Connecting to cores.foldingathome.org:80
16:29:21:WU00:FS01:FahCore 22: Downloading 123.32MiB
16:29:27:WU00:FS01:FahCore 22: 4.66%
16:29:33:WU00:FS01:FahCore 22: 9.73%
16:29:39:WU00:FS01:FahCore 22: 14.85%
16:29:45:WU00:FS01:FahCore 22: 19.92%
16:29:51:WU00:FS01:FahCore 22: 24.99%
16:29:57:WU00:FS01:FahCore 22: 30.05%
16:30:03:WU00:FS01:FahCore 22: 35.12%
16:30:09:WU00:FS01:FahCore 22: 40.19%
16:30:15:WU00:FS01:FahCore 22: 45.26%
16:30:21:WU00:FS01:FahCore 22: 49.87%
16:30:27:WU00:FS01:FahCore 22: 54.53%
16:30:33:WU00:FS01:FahCore 22: 59.09%
16:30:39:WU00:FS01:FahCore 22: 64.06%
16:30:45:WU00:FS01:FahCore 22: 69.23%
16:30:51:WU00:FS01:FahCore 22: 74.30%
16:30:57:WU00:FS01:FahCore 22: 79.37%
16:31:03:WU00:FS01:FahCore 22: 83.83%
16:31:09:WU00:FS01:FahCore 22: 88.54%
16:31:15:WU00:FS01:FahCore 22: 93.20%
16:31:21:WU00:FS01:FahCore 22: 98.27%
16:31:23:WU00:FS01:FahCore 22: Download complete
16:31:23:WU00:FS01:Valid core signature
16:31:23:WU00:FS01:Unpacked 5.50MiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/FahCore_22.exe
16:31:23:WU00:FS01:Unpacked 2.72MiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMM.dll
16:31:23:WU00:FS01:Unpacked 386.00KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMAmoeba.dll
16:31:23:WU00:FS01:Unpacked 1014.50KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMAmoebaCUDA.dll
16:31:23:WU00:FS01:Unpacked 511.50KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMAmoebaReference.dll
16:31:23:WU00:FS01:Unpacked 518.50KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMCPU.dll
16:31:23:WU00:FS01:Unpacked 1.76MiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMCUDA.dll
16:31:23:WU00:FS01:Unpacked 59.00KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMCudaCompiler.dll
16:31:23:WU00:FS01:Unpacked 96.50KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMDrude.dll
16:31:23:WU00:FS01:Unpacked 118.00KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMDrudeCUDA.dll
16:31:23:WU00:FS01:Unpacked 117.50KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMDrudeOpenCL.dll
16:31:23:WU00:FS01:Unpacked 89.00KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMDrudeReference.dll
16:31:23:WU00:FS01:Unpacked 1.79MiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMOpenCL.dll
16:31:23:WU00:FS01:Unpacked 61.00KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMPME.dll
16:31:23:WU00:FS01:Unpacked 56.00KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMRPMD.dll
16:31:23:WU00:FS01:Unpacked 138.50KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMRPMDCUDA.dll
16:31:23:WU00:FS01:Unpacked 142.50KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMRPMDOpenCL.dll
16:31:23:WU00:FS01:Unpacked 78.00KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/OpenMMRPMDReference.dll
16:31:31:WU00:FS01:Unpacked 145.12MiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/cufft64_10.dll
16:31:31:WU00:FS01:Unpacked 3.25MiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/libcrypto-1_1-x64.dll
16:31:31:WU00:FS01:Unpacked 667.00KiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/libssl-1_1-x64.dll
16:31:32:WU00:FS01:Unpacked 4.48MiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/nvrtc-builtins64_102.dll
16:31:33:WU00:FS01:Unpacked 15.21MiB to cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/nvrtc64_102_0.dll
16:33:08:WU00:FS01:Starting
16:33:08:WU00:FS01:Running FahCore: "C:\Program Files (x86)\FAHClient/FAHCoreWrapper.exe" C:\Users\PEPTIDE\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/win/64bit/22-0.0.14/Core_22.fah/FahCore_22.exe -dir 00 -suffix 01 -version 706 -lifeline 7576 -checkpoint 15 -opencl-platform 0 -opencl-device 0 -cuda-device 0 -gpu-vendor nvidia -gpu 0 -gpu-usage 100
16:33:08:WU00:FS01:Started FahCore on PID 5320
16:33:10:WU00:FS01:Core PID:8440
16:33:10:WU00:FS01:FahCore 0x22 started
Image
aetch
Posts: 436
Joined: Thu Jun 25, 2020 3:04 pm
Location: Between chair and keyboard

Re: VCRUNTIME140.dll not found

Post by aetch »

Give one of these links a go.
Thread 1:-
https://answers.microsoft.com/en-us/win ... fc85bac575
https://www.microsoft.com/en-us/downloa ... x?id=52685

Thread 2:-
https://answers.microsoft.com/en-us/win ... 250f692bdf
https://support.microsoft.com/en-us/top ... f26a218cc0

I cannot test if this is the actual problem because my folding system ran without issue when it downloaded the new 0.0.14 core.
Folding Rigs - None (25-Jun-2022)

ImageImage
erich56
Posts: 73
Joined: Thu May 05, 2016 11:35 am
Location: Vienna, Austria

Re: VCRUNTIME140.dll not found

Post by erich56 »

Severian wrote:Hello, same issue here with a WU for the 13456 project.
here this also is project 13456 which causes the problem.
Would be nice to know which disease this is assigned to, so one could simply deselct the disease from the list.
Honestly, I do not want to fool around with downloading and trying to install files about which I am not sure what they are doing to my system.
aetch
Posts: 436
Joined: Thu Jun 25, 2020 3:04 pm
Location: Between chair and keyboard

Re: VCRUNTIME140.dll not found

Post by aetch »

erich56 wrote:here this also is project 13456 which causes the problem.
Would be nice to know which disease this is assigned to, so one could simply deselect the disease from the list.
It's the 0.0.14 core 22 which needs the VC runtime, not the project.
If you really want to block project 13456 you're blocking Covid-19
https://stats.foldingathome.org/project/13456
Honestly, I do not want to fool around with downloading and trying to install files about which I am not sure what they are doing to my system.
The Visual C++ Runtime comes from Microsoft (the writers of your operating system). It's a program package which add specific functionality to your system, just like a device driver.
It was probably already installed on the developers computer and they likely didn't realise it was a requirement, when they packaged up the new core, or just assumed it was already installed on everyone's computer.
Folding Rigs - None (25-Jun-2022)

ImageImage
bollix47
Posts: 2958
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: VCRUNTIME140.dll not found

Post by bollix47 »

The Visual C++ Runtime is listed in the requirements for running FAH:

https://foldingathome.org/support/faq/i ... ?lng=en-US
erich56
Posts: 73
Joined: Thu May 05, 2016 11:35 am
Location: Vienna, Austria

Re: VCRUNTIME140.dll not found

Post by erich56 »

what I am questioning is: why has everything worked well over the past months, and all of a sudden Visual C++ is supposed to be missing?
aetch
Posts: 436
Joined: Thu Jun 25, 2020 3:04 pm
Location: Between chair and keyboard

Re: VCRUNTIME140.dll not found

Post by aetch »

1). I think those requirements are well out of date. It talks of Windows XP, cores 17/18/21 (21 appears to have been depracated over the last year, I've never seen the other cores) , NVidia drivers 361, client7.3.x (seriously, when I joined over a year ago we were on 7.5.1 and moving to 7.6.x).
2). The linked redistributable is for C++ 2008. The missing file (VCRUNTIME140.dll) belongs to the redistributable for Visual C++ 2015. Just like the Windows OS, the versions move on and add new functionality. I have to assume 0.0.13 core 22 was using an older version of the redistributable.
Folding Rigs - None (25-Jun-2022)

ImageImage
Gary480six
Posts: 93
Joined: Mon Jan 21, 2008 6:42 pm

Re: VCRUNTIME140.dll not found

Post by Gary480six »

Having the same issue with P13456.

The issue is that this work unit requires core 22.0.0.14 - and this new version of the core needs several .dll files that may not be on your computer. The two systems that got this new work unit were Windows 7 systems.. if that helps anyone.

I needed to download two sets of Microsoft updates to fix my systems.

Microsoft Visual C++ 2015-2019 Redistributable. (I installed both the 32-bit and the 64-bit)

And Windows Update KB2999226-x64

That covered both missing .dll files on my system.
JohnChodera
Pande Group Member
Posts: 467
Joined: Fri Feb 22, 2013 9:59 pm

Re: VCRUNTIME140.dll not found

Post by JohnChodera »

Hi folks!

So sorry about this. Our initial testing with volunteers didn't reveal this issue, so we're surprised by this---we intend to distribute all DLLs you need for core22 0.0.14.

We've disabled these 0.0.14 projects for full FAH right now until we can address this issue. All other projects should continue running with 0.0.13, and should not have this issue.

Best,

John
JohnChodera
Pande Group Member
Posts: 467
Joined: Fri Feb 22, 2013 9:59 pm

Re: VCRUNTIME140.dll not found

Post by JohnChodera »

@Gary480six: Can you let us know which exact DLLs you needed to install? Besides `VCRUNTIME140.dll`, what was the other DLL?

~ John Chodera // MSKCC
JohnChodera
Pande Group Member
Posts: 467
Joined: Fri Feb 22, 2013 9:59 pm

Re: VCRUNTIME140.dll not found

Post by JohnChodera »

Also, it would help us if anyone who ran into this problem let us know which version of Win you're using.

~ John Chodera // MSKCC
Gary480six
Posts: 93
Joined: Mon Jan 21, 2008 6:42 pm

Re: VCRUNTIME140.dll not found

Post by Gary480six »

John,

In my case it was MSVCP140.dll and then api-ms-win-crt-runtime-|1-1-0.dll that were missing. (looks like it's been different .dlls for others)

On one computer I had to install several Microsoft packages to get that P13456 to Fold:

Microsoft Visual C++ 2015-2019 Redistributable
Windows Update KB2999226-x64

Both systems that had this issue so far were Windows 7 - one Pro and one Ultimate.
erich56
Posts: 73
Joined: Thu May 05, 2016 11:35 am
Location: Vienna, Austria

Re: VCRUNTIME140.dll not found

Post by erich56 »

JohnChodera wrote:Also, it would help us if anyone who ran into this problem let us know which version of Win you're using.

~ John Chodera // MSKCC
hi John - my version is Windows 10 Pro
JohnChodera
Pande Group Member
Posts: 467
Joined: Fri Feb 22, 2013 9:59 pm

Re: VCRUNTIME140.dll not found

Post by JohnChodera »

Thanks, @Gary480six and @erich56!

Did anyone have to install a DLL *besides* one these two? Did anyone require just one?

Code: Select all

MSVCP140.dll
api-ms-win-crt-runtime-|1-1-0.dll
Post Reply