mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2016-10-14, 23:51   #1
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

19·101 Posts
Question Mfaktc file access error.

I am new to mfaktc. I just got a new video adapter that is capable of running it. However it gives me an OS error message when I try to open it. I have attached a couple of images; the error message and a capture from GPU-Z. I may not be using the correct version. Ideas?
Attached Thumbnails
Click image for larger version

Name:	mkaftc_error.JPG
Views:	86
Size:	29.9 KB
ID:	15029   Click image for larger version

Name:	gpuz_shot.JPG
Views:	82
Size:	86.8 KB
ID:	15030  
storm5510 is offline   Reply With Quote
Old 2016-10-15, 00:32   #2
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default

Where do you have mfaktc in the file system? If it is Program Files, or Program Files (x86), move it to a non-system folder. The Program Files folders restrict writing to disk.
I love your Teach avatar!

Last fiddled with by kladner on 2016-10-15 at 00:45
kladner is offline   Reply With Quote
Old 2016-10-15, 00:44   #3
potonono
 
potonono's Avatar
 
Jun 2005
USA, IL

3018 Posts
Default

The screenshot shows "c:\mfaktc\mfaktc-0.21\mfactc-win-32.exe", so it's not in a folder that is restricted by default by the OS, but I would still bet it is a permissions issue. Can you check the folder or file permissions on "c:\mfaktc" to make sure the account running it has read/write access?
potonono is offline   Reply With Quote
Old 2016-10-15, 00:46   #4
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

19·101 Posts
Default

Quote:
Originally Posted by kladner View Post
Where do you have mfaktc in the file system? If it is Program Files, or Program Files (x86), move it to a non-system folder. The Program Files folders restrict writing to disk.
It's in its own folder one level down from the top parent. Additional: I tried running it from a command box. It simply replies "Access denied." It then deletes the file. I've seen this before but it was a long time ago.
storm5510 is offline   Reply With Quote
Old 2016-10-15, 00:49   #5
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

Quote:
Originally Posted by potonono View Post
The screenshot shows "c:\mfaktc\mfaktc-0.21\mfactc-win-32.exe", so it's not in a folder that is restricted by default by the OS, but I would still bet it is a permissions issue. Can you check the folder or file permissions on "c:\mfaktc" to make sure the account running it has read/write access?
Thanks. I did not look closely enough. Your suggestion is most likely correct.

In case there is any doubt about "check permissions", right click on the folder and choose Properties. The Security tab has the permissions listed, and the means to (usually) change them.
kladner is offline   Reply With Quote
Old 2016-10-15, 00:54   #6
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

77F16 Posts
Default

Quote:
Originally Posted by potonono View Post
The screenshot shows "c:\mfaktc\mfaktc-0.21\mfactc-win-32.exe", so it's not in a folder that is restricted by default by the OS, but I would still bet it is a permissions issue. Can you check the folder or file permissions on "c:\mfaktc" to make sure the account running it has read/write access?
I checked all the permissions. It has read and write access. I've had trouble with Win 7's permissions in the past. I can't remember how I solved the problem.
storm5510 is offline   Reply With Quote
Old 2016-10-15, 01:01   #7
potonono
 
potonono's Avatar
 
Jun 2005
USA, IL

193 Posts
Default

If the account you are logged in from has full security permissions on the Security tab of the folder properties, then another suggestion might be to take ownership of the folder, assuming your current account isn't the owner. That's available from the Advanced button from that same window, then the Owner tab.

For the possibility that it might not actually be a permissions issue, are you running any antivirus programs? There are some funny ones that can cause Windows to throw that error for some programs too. If so, you might also try disabling your antivirus programs temporarily to see if mfaktc can run successfully.

Last fiddled with by potonono on 2016-10-15 at 01:08
potonono is offline   Reply With Quote
Old 2016-10-15, 02:13   #8
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

19·101 Posts
Default

I am not running any AV software. The folder appears to have the proper permissions. I'm stumped.
storm5510 is offline   Reply With Quote
Old 2016-10-15, 02:28   #9
potonono
 
potonono's Avatar
 
Jun 2005
USA, IL

110000012 Posts
Default

Not that I would suggest this in general for that error, but can you add "everyone" to the security permissions with 'full control' for the mfaktc folder?

Also, just for clarification, when you tried running the program from a command prompt, you indicated that it "deletes the file". What file was deleted? If the executable program was deleted when attempting to run it, then I really think you must be running some type of antivirus program that moved, quarantined, or actually deleted it, even if it's just Windows Defender and not some other separate antivirus program.

Last fiddled with by potonono on 2016-10-15 at 02:37
potonono is offline   Reply With Quote
Old 2016-10-15, 04:42   #10
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

19·101 Posts
Default

It deletes the main executable. In this case, the one I renamed to mfaktc32.exe. It worked just once when I copied it, and the required DLL to a folder I call "Temp." I added the -h switch and it listed a screen full of data. At the bottom it displayed an error message about my Cuda library being older than the one used for the compilation. 8.0 vs. 7.5. I downloaded an older version, 65, from the archives. It failed again as before. Just to cover all bases, I disabled Windows Defender in the registry.
storm5510 is offline   Reply With Quote
Old 2016-10-15, 05:12   #11
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

19×101 Posts
Default

Disregard previous reply. I was not specifying a command line parameter, and did not have a properly formatted 'worktodo' file. I don't understand why that would cause the main program to delete itself.

Regardless, it's running. It's factoring a large candidate that would have taken probably a day with Prime95. It's going to do it in less than three hours.

Thank you for your assistance. It's much appreciated.
storm5510 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
primenet: Error code: 45 - mfaktc 95bit_mul32_gs mattmill30 PrimeNet 6 2016-02-05 19:52
PrimeNet error 9: Access denied under FreeBSD aevernon Information & Answers 5 2016-01-21 14:57
PrimeNet error 9: Access denied? mike12166 Information & Answers 7 2009-06-20 08:54
Access violation error Unregistered Hardware 7 2005-04-23 11:56
File access Windows / Linux leifbk Linux 2 2005-02-04 09:39

All times are UTC. The time now is 14:48.

Sat Apr 17 14:48:36 UTC 2021 up 9 days, 9:29, 0 users, load averages: 1.64, 1.61, 1.56

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.