mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Information & Answers (https://www.mersenneforum.org/forumdisplay.php?f=38)
-   -   Error writing intermediate file (https://www.mersenneforum.org/showthread.php?t=12215)

Unregistered 2009-07-26 21:17

Error writing intermediate file
 
I'm running Prime 95 under wine in Ubuntu 9.04, running two workers on a dual core machine. after a HD upgrade i reinstalled prime 95 from a tar.gz and it extracted to my desktop. i didn't like the folder there so i used [mv /desktop/username/p95v259 ~/.wine/C:/Program\ Files/] to move the folder. and it's still running but i think the path of the save files is now wrong because every three or so GUI outputs in the workers i get "error writing intermediate file p01XXXXX" where the X's are the last digits of the exponent being tested. i'm merely comfortable with linux, not an expert but any help in getting this problem solved would be appriciated

pegaso56 2009-07-27 00:27

prime in Ubuntu
 
:smile:Hi, i would use mprime instead of prime95 under wine. All you have to do is create a folder, unzip mprime ther, and then run "./mprime -m", select the options and itś done.
For fully automatize the process, you can edit inittab file, generally itś located in etc subdirectory or you can launch a job with cron command.
Cheers, Carlos

Unregistered 2009-07-27 01:18

except I like the GUI for prime 95. and i dont know how to attach a computer running mprime to my user on primenet

S485122 2009-07-27 05:41

Prime95 (and mprime) save its configuration and intermediate files to the current folder (the folder where the executable is...)

Did you stop Prime95 before moving the folder ? If you did not, recreate the "p95v259" folder in its original location : "/desktop/username/". Stop and exit the program and transfer the files from the old location "/desktop/username/p95v259" to the new folder and restart the program from there.

It that does not solve the problem you should look in the .txt configuration files to see if there is a hardcoded path.

If that does not solve the problem it is the new path that gives the problems. What path do you see when you open a comand prompt under wine in the new p95v259 folder ?

mprime has a gui if I am not mistaken (mprime -m ?). And since the configuration files are compatible there should be no problem with attaching to your user account.

Jacob

Mini-Geek 2009-07-27 13:37

[quote=S485122;182915] mprime has a gui if I am not mistaken (mprime -m ?).[/quote]
I'm almost certain that mprime is command line only, and mprime -m brings you to a text-based version of the menu present in Prime95 (e.g. press 1 for Test, etc.).
[quote=S485122;182915]And since the configuration files are compatible there should be no problem with attaching to your user account.[/quote]
Bingo. If getting it all set up in mprime would be too hard, you can just set it up in Prime95 through wine, then copy the config files to your mprime folder (or copy mprime's executable to your prime95 folder) and run mprime.

Unregistered 2009-07-27 22:12

problem solved, just had to restart the program from the new directory

lfm 2009-07-27 23:58

[QUOTE=Unregistered;182854]I'm running Prime 95 under wine in Ubuntu 9.04, running two workers on a dual core machine. after a HD upgrade i reinstalled prime 95 from a tar.gz and it extracted to my desktop. i didn't like the folder there so i used [mv /desktop/username/p95v259 ~/.wine/C:/Program\ Files/] to move the folder. and it's still running but i think the path of the save files is now wrong because every three or so GUI outputs in the workers i get "error writing intermediate file p01XXXXX" where the X's are the last digits of the exponent being tested. i'm merely comfortable with linux, not an expert but any help in getting this problem solved would be appriciated[/QUOTE]

You probably have a permission problem on the directory path such that you do not have write access to the directory in "Program files" that you created. Try something like "chmod a+rwx ~/.wine/C:/Program\ Files/p95v259". If that works you might want to refine it a bit for better security but if you are the only one on the machine it should be OK.


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

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