mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   mfaktc: a CUDA program for Mersenne prefactoring (https://www.mersenneforum.org/showthread.php?t=12827)

TheDomis 2015-08-07 12:07

Hi, can someone tell me why CUDA 6.5 mfaktc doesn't launch on Windows XP 32bit? It says it's an invalid Win32 application. I tried to redownload it but it still doesn't launch, the CUDA 4.2 version launches normally.

Specs:
AMD Athlon 64 3200+ Venice OCed to 2.3GHz
1.5GB RAM
GeForce GT 630

LaurV 2015-08-08 03:47

Missing libraries? Do you have cudart 6.5 dlls?
Try opening a command prompt and launch the program from there, which may allow you to see the real error (before the window disappears).

TheDomis 2015-08-08 15:59

[url]http://imgur.com/xYNZCbU[/url] This is what happens when I open it.
[url]http://imgur.com/UD0mELG[/url] When I close it it says access denied.

TheDomis 2015-08-16 18:56

[QUOTE=LaurV;407431]Missing libraries? Do you have cudart 6.5 dlls?
Try opening a command prompt and launch the program from there, which may allow you to see the real error (before the window disappears).[/QUOTE]

When I open it from the command prompt it says that it's not a valid win32 application, when I hit OK it says in the command prompt that access is denied.

Gordon 2015-08-16 19:00

[QUOTE=TheDomis;408101]When I open it from the command prompt it says that it's not a valid win32 application, when I hit OK it says in the command prompt that access is denied.[/QUOTE]

Perhaps need to run cmd.exe as administrator?

TheDomis 2015-08-16 19:03

OK I figured it out, apparently Win XP is unable to run VS2012 applications, it has to be compiled with VS2010 or .NET 4.0 I think. .NET 4.5 is unsupported in Win XP.

TheDomis 2015-08-16 22:10

1 Attachment(s)
If anyone has an old rig with WinXP but cannot run the latest version of mfaktc with CUDA 6.5, I have just compiled mfaktc-0.21 x86 CUDA 6.5 with VS2010 instead of VS2012, so it will run on WinXP. I couldn't compile a x64 version because this PC is running 32-bit Windows. Enjoy.

alpertron 2015-08-17 01:24

You can also create applications for Windows XP using Visual Studio 2013. Check this [URL="https://www.visualstudio.com/en-us/products/visual-studio-2013-compatibility-vs.aspx"]compatibility list for VS 2013[/URL].

TheDomis 2015-08-17 04:58

Yes, but you can't create or launch .NET 4.5 applications in Windows XP which I believe was the culprit.

vsuite 2015-08-25 03:44

[QUOTE=TheDomis;408103]OK I figured it out, apparently Win XP is unable to run VS2012 applications, it has to be compiled with VS2010 or .NET 4.0 I think. .NET 4.5 is unsupported in Win XP.[/QUOTE]

Thanks for solving it. I was getting that problem with WINXP and several of the win32 downloads (mfaktc and possibly also cudalucas).

flashjh 2015-09-17 00:06

[QUOTE=TheJudger;402624]GTX 960/970/980 and Titan X are OK, too (indeed they are very nice cards!).
Just don't use CUDA Toolkit 7.0 when compiling mfaktc.

Oliver[/QUOTE]

I installed a Titan Z and compiled a CUDA 7.5 version. Will the built-in self test check if everything is working now?


All times are UTC. The time now is 23:12.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.