mersenneforum.org > YAFU YAFU 2.0
 Register FAQ Search Today's Posts Mark Forums Read

2021-08-24, 13:01   #177
James Heinrich

"James Heinrich"
May 2004
ex-Northern Ontario

67128 Posts

Quote:
 Originally Posted by BudgieJane I'm having problems with version 2.06. It works OK on my new computer, running Windows 10 Pro, but it will not run on my old ones running Windows 7 Pro. It puts up the welcome message, waits something like half a minute, then quietly returns me to the command prompt
I also just tried v2.06 (from master.zip downloaded an hour ago) on my i7-3930K on Win7pro64 where yafu-x64.exe also fails. The first time I ran it it took a few (maybe 5) seconds before the crash dialog came up, subsquent runs in comes up near-immediately:
Code:
Problem signature:
Problem Event Name:	APPCRASH
Application Name:	yafu-x64.exe
Application Version:	0.0.0.0
Application Timestamp:	611c3335
Fault Module Name:	yafu-x64.exe
Fault Module Version:	0.0.0.0
Fault Module Timestamp:	611c3335
Exception Code:	c000001d
Exception Offset:	0000000000001300
OS Version:	6.1.7601.2.1.0.256.48
Locale ID:	1033
Additional Information 4:	b40bbb931625d5f5f8d166d47cac51f6
Dependency Walker shows the same list of missing DLLs that BudgieJane listed.
edit: this thread may contain relevant details.
Attached Thumbnails

Last fiddled with by James Heinrich on 2021-08-24 at 13:16

 2021-08-24, 13:16 #178 bsquared     "Ben" Feb 2007 3·1,193 Posts If there is a setting in visual studio 2019 where I can link these things statically then I'd do that, but I don't know how at the moment. I don't have access to any win7 systems to test on. Last fiddled with by bsquared on 2021-08-24 at 13:16
 2021-08-24, 14:52 #179 Brian Gladman     May 2008 Worcester, United Kingdom 72×11 Posts Here is a link to a zip file containing a statically linked YAFU x64 binary that might be worth a try: https://drive.google.com/file/d/1RaZ...ew?usp=sharing for those having DLL issues. I have to admit it seems unlikely to offer a solution.
2021-08-24, 15:08   #180
James Heinrich

"James Heinrich"
May 2004
ex-Northern Ontario

2×5×353 Posts

Quote:
 Originally Posted by Brian Gladman Here is a link to a zip file containing a statically linked YAFU x64 binary that might be worth a try ... for those having DLL issues. I have to admit it seems unlikely to offer a solution.
I tried it, it crashed the same way as the original.

2021-08-24, 18:21   #181

May 2008
Worcester, United Kingdom

72·11 Posts

Quote:
 Originally Posted by James Heinrich I tried it, it crashed the same way as the original.
I am not surprised since my build (and I suspect all current YAFU builds) use Windows SDK v10.

To get a working Windows 7 version all of yafu, mpir, gmp-ecm, ggnfs, pthreads and its other dependencies would all have to be rebuilt using Windows SDK 8.1 and this would be considerable undertaking.

 2021-08-24, 18:50 #182 BudgieJane     "Jane Sullivan" Jan 2011 Beckenham, UK 32×31 Posts Version 2.01 works OK on my Win-7 machine.
 2021-08-24, 19:05 #183 WraithX     Mar 2006 2·35 Posts I am missing the same dll files as Budgie and James, but yafu 2.06 works fine on my Windows 7 Pro x64 computer. I tried yafu-x64.exe from https://github.com/bbuhrow/yafu I tried yafu-x64.exe from master.zip from https://github.com/bbuhrow/yafu/arch...ads/master.zip I tried the statically linked yafu-x64.exe that Brian shared All of them work for me. I was going to guess a possible instruction set issue, but I see that Budgie's i7-4710MQ has the same extensions as my E5-2687W v4. (except mine has TSX which is missing from Budgie's, but I wouldn't guess that's important here) James's C000001D could make sense since his processor doesn't support as many instruction sets as Budgie's or mine. His processor is missing AVX2 and FMA3 (and TSX). Maybe this is contributing? I found this online about C000001D. I'm not sure if this narrows down what might be going wrong, but maybe it can help with troubleshooting. C000001D STATUS_ILLEGAL_INSTRUCTION EXCEPTION_ILLEGAL_INSTRUCTION Budgie, can you run yafu-x64.exe and then after it crashes/stops, can you check your Windows Event Viewer -> Windows Logs -> Application log (or maybe System log) to see if the error is recorded in there? Maybe that will give us more information on what's going wrong? Attached Thumbnails   Last fiddled with by WraithX on 2021-08-24 at 19:06
 2021-08-24, 20:51 #184 BudgieJane     "Jane Sullivan" Jan 2011 Beckenham, UK 32·31 Posts Log Name: Application Source: Application Error Date: 24/08/2021 21:45:39 Event ID: 1005 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: JaneLT3 Description: Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program yafu-x64.exe because of this error. Program: yafu-x64.exe File: The error value is listed in the Additional Data section. User Action 1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again. 2. If the file still cannot be accessed and - It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted. - It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer. 3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER. 4. If the problem persists, restore the file from a backup copy. 5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance. Additional Data Error value: 00000000 Disk type: 0 Event Xml: 1005 2 100 0x80000000000000 664519 Application JaneLT3 yafu-x64.exe 00000000 0 Log Name: Application Source: Application Error Date: 24/08/2021 21:45:39 Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: JaneLT3 Description: Faulting application name: yafu-x64.exe, version: 0.0.0.0, time stamp: 0x611c3335 Faulting module name: yafu-x64.exe, version: 0.0.0.0, time stamp: 0x611c3335 Exception code: 0xc000001d Fault offset: 0x0000000000002403 Faulting process id: 0x4d4 Faulting application start time: 0x01d79928fdf3fa53 Faulting application path: C:\Users\Jane\Documents\Maths\yafu\Versions\yafu-2.06\yafu-x64.exe Faulting module path: C:\Users\Jane\Documents\Maths\yafu\Versions\yafu-2.06\yafu-x64.exe Report Id: 3d352f22-051c-11ec-8f66-0cd292d9c1cc Event Xml: 1000 2 100 0x80000000000000 664518 Application JaneLT3 yafu-x64.exe 0.0.0.0 611c3335 yafu-x64.exe 0.0.0.0 611c3335 c000001d 0000000000002403 4d4 01d79928fdf3fa53 C:\Users\Jane\Documents\Maths\yafu\Versions\yafu-2.06\yafu-x64.exe C:\Users\Jane\Documents\Maths\yafu\Versions\yafu-2.06\yafu-x64.exe 3d352f22-051c-11ec-8f66-0cd292d9c1cc
 2021-08-24, 21:34 #185 BudgieJane     "Jane Sullivan" Jan 2011 Beckenham, UK 32·31 Posts Don't know if you want to see this also: Attached Thumbnails
2021-08-24, 21:45   #186
BudgieJane

"Jane Sullivan"
Jan 2011
Beckenham, UK

4278 Posts

Quote:
 Originally Posted by Brian Gladman Here is a link to a zip file containing a statically linked YAFU x64 binary that might be worth a try: https://drive.google.com/file/d/1RaZ...ew?usp=sharing for those having DLL issues. I have to admit it seems unlikely to offer a solution.
I got a system error: The program can't start because nvcuda.dll is missing from your computer. Try reinstalling the program to fix this problem.

2021-08-25, 08:25   #187

May 2008
Worcester, United Kingdom

72·11 Posts

Quote:
 Originally Posted by BudgieJane I got a system error: The program can't start because nvcuda.dll is missing from your computer. Try reinstalling the program to fix this problem.
It seems that I have missed a DLL dependency in the build.

I have run through all the library dependencies again to check they are static and rebuilt it here:

There are so many dependencies in building YAFU so its still possible that I have still missed a DLL dependency somewhere (in this case it should work if CUDA 11.4 is installed on your host since the DLL dependency would then be found).

 Similar Threads Thread Thread Starter Forum Replies Last Post chris2be8 YAFU 6 2019-10-17 16:22 EdH YAFU 8 2018-03-14 17:22 bsquared YAFU 119 2015-11-05 16:24 storflyt32 YAFU 2 2015-06-29 05:19 bsquared YAFU 28 2012-07-20 16:17

All times are UTC. The time now is 17:53.

Tue Nov 30 17:53:43 UTC 2021 up 130 days, 12:22, 0 users, load averages: 1.28, 1.44, 1.50