mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2010-03-28, 18:38   #1
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

43638 Posts
Default Prime95 on Windows 7?

As we know, running Prime95 on Vista can be somewhat tricky:

1. Prime95 cannot be placed in the "Program Files" directory because Vista does not allow users to write to that folder.
2. Enabling the "Start at Bootup" option will cause Prime95 to act up; instead, a shortcut to Prime95 must be placed in the "Startup" folder.

Does anyone know if there are any similar issues associated with running Prime95 on Windows 7? I've never touched Windows 7 before, but chances are that I'll inevitably be using it in the future.

Last fiddled with by ixfd64 on 2019-03-21 at 22:21
ixfd64 is offline   Reply With Quote
Old 2010-03-28, 18:47   #2
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

I don't have experience with Windows Vista or 7, but I think that both of those problems are the same between Vista and 7.
Mini-Geek is offline   Reply With Quote
Old 2010-03-28, 19:50   #3
pegaso56
 
pegaso56's Avatar
 
Oct 2006
Rosario, Argentina

37 Posts
Default

Hi, short answer, mostly yes. Make a folder in my documents, or public documents. And why don't you try Linux?
Best regards, Carlos
pegaso56 is offline   Reply With Quote
Old 2010-03-28, 20:12   #4
joblack
 
joblack's Avatar
 
Oct 2008
n00bville

10110101012 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
As we know, running Prime95 on Vista can be somewhat tricky:

1. Prime95 cannot be placed in the "Program Files" directory because VIsta does not allow users to write to that folder.
2. Enabling the "Start at Bootup" option will cause Prime95 to act up; instead, a shortcut to Prime95 must be placed in the "Startup" folder.

Does anyone know if there are any similar issues associated with running Prime95 on Windows 7? I've never touched Windows 7 before, but chances are that I'll inevitably be using it in the future.
You can put prime95 in the Program Files folder but you have to give yourself (your user not the administrator) writing rights in the folder. Additionally I've found out that you have a performance lost if you use Prime95 in that folders (there seem to be additional win 7 tests which needs more time in writing).

I just moved the complete Prime95 folder in c:\Prime95 and I never got any problems (autostart works like a charm) with Win7 anymore ...

Last fiddled with by joblack on 2010-03-28 at 20:13
joblack is offline   Reply With Quote
Old 2010-03-29, 01:29   #5
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
1. Prime95 cannot be placed in the "Program Files" directory because VIsta does not allow users to write to that folder.
Quote:
Originally Posted by joblack View Post
You can put prime95 in the Program Files folder but you have to give yourself (your user not the administrator) writing rights in the folder. Additionally I've found out that you have a performance lost if you use Prime95 in that folders (there seem to be additional win 7 tests which needs more time in writing).
Has either of you tried what's described in undoc.txt, to use a different directory for the writeable files?

Code:
In prime.txt you can force the program to use different filenames for 6 files.
You can also change the working directory (identical to the -W command line
argument).
    prime.ini=your_filename
    local.ini=your_filename
    worktodo.ini=your_filename
    prime.log=your_filename
    prime.spl=your_filename
    results.txt=your_filename
    WorkingDir=your_directory_name
cheesehead is offline   Reply With Quote
Old 2010-03-29, 08:33   #6
joblack
 
joblack's Avatar
 
Oct 2008
n00bville

52·29 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Has either of you tried what's described in undoc.txt, to use a different directory for the writeable files?

Code:
In prime.txt you can force the program to use different filenames for 6 files.
You can also change the working directory (identical to the -W command line
argument).
    prime.ini=your_filename
    local.ini=your_filename
    worktodo.ini=your_filename
    prime.log=your_filename
    prime.spl=your_filename
    results.txt=your_filename
    WorkingDir=your_directory_name
It might be easier to move it out of the program files directory.
joblack is offline   Reply With Quote
Old 2010-03-29, 17:57   #7
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts
Default

Quote:
Originally Posted by joblack View Post
It might be easier to move it out of the program files directory.
Does that mean you have not tried the undoc.txt method?
cheesehead is offline   Reply With Quote
Old 2010-03-29, 18:02   #8
joblack
 
joblack's Avatar
 
Oct 2008
n00bville

13258 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Does that mean you have not tried the undoc.txt method?
No I moved the complete folder out of the win7 protection area ...
joblack is offline   Reply With Quote
Old 2010-03-29, 21:27   #9
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

Okay.

- - -

I remain interested in reports from folks who have tried the undoc.txt method. Please let me know whether you found that a satisfactory alternative.
cheesehead is offline   Reply With Quote
Old 2010-03-29, 23:41   #10
joblack
 
joblack's Avatar
 
Oct 2008
n00bville

2D516 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Okay.

- - -

I remain interested in reports from folks who have tried the undoc.txt method. Please let me know whether you found that a satisfactory alternative.
But let me say that under the windows programming specification it's a bad decision to write in the program files folder. It might be a good idea to give the user the chance to save the data in the profile (for instance in the installation process).

That would have the advantage that several user in a multiuser system could use the same executable (and the information could be saved on the server profile) ...
joblack is offline   Reply With Quote
Old 2010-03-30, 01:35   #11
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

11110000011002 Posts
Default

Quote:
Originally Posted by joblack View Post
But let me say that under the windows programming specification
which I'm not familiar-with except by inference from comments
Quote:
it's a bad decision to write in the program files folder.
What is the approved method of communicating to an executable either (a) a set of changeable parameters in some file within the program files folder, or (b) a pointer to a file containing such parameters in another folder?
cheesehead is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 7 SP1 Deleted Prime95??? Primeinator Information & Answers 3 2011-12-11 19:23
Windows 7 Windows Update & Prime95 issue!!! Unregistered Information & Answers 14 2010-04-10 21:47
Windows x64 better for Prime95 ? Axel Fox Software 5 2006-09-14 13:18
Prime95 v23.9 Windows Version? LargestPrime Software 2 2004-09-19 13:36
Prime95 on Windows 2003 optim Software 9 2003-11-13 04:59

All times are UTC. The time now is 11:41.

Sun Aug 9 11:41:49 UTC 2020 up 23 days, 7:28, 3 users, load averages: 1.86, 2.01, 1.93

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.