On Monday 02 July 2007 17:33, jim barchuk wrote:
> HiHi All!
>
> I need to change a pokey old laptop from xp to linux. But I'd rather not
> lose a few months of prime95 calcs, or wait the few weeks till the current
> assignment completes. This can't be a new topic, someone musta been there
> done that, but I can't find any real info via google.
>
> So the question is what is the correct process/procedure to migrate the xp
> installation of prime95 from xp over to linux?

Should not be a problem. Just move the files from the windoze folder to a 
directory on the linux system. The only gotcha likely to catch windoze mode 
thinkers is that linux systems do _not_ by default run executables in the 
current working directory. Either add . to the PATH environmental variable or 
put a copy of mprime somewhere on the path( ~/bin is a good choice) or invoke 
mprime by explicitly invoking the current directory i.e. ./mprime -d & 
instead of just mprime -d &

If you're rebuilding the system copy the windoze files to a USB memory stick, 
zip drive or even a CD-R 
>
> (Although I've been running prime95 on up to 3 pcs both win and linux for
> about 10 years I'm not completely familiar with all the functions,
> features and operations of individual files.)
>
> As I (think I) see it I need to keep:
>
> pI and qI files
> local.ini
> worktodo.ini
> prime.ini
>
> And I think these 'should' be optional just for the historical record:
>
> prime.log
You can probably happily chuck that one

> results.txt

but you might want to convert it from windoze EOL to unix EOL by running 
dos2unix on it (changes carriage return+line feed to just line feed)
>
> If -that- is correct, then the next Q is that I -think- it should be
> required that I run dos2unix on the text files, inis and log?

Should work fine without converting the .ini's
>
> If -that- is correct, then the process seems to be:
>
> Stop prime95.
> Backup and move current xp prime95 files.
> Make copies of current files, for safety
> Run dos2unix on text files.
> Build new linux pc.
> Install prime95 for linux.
> Copy the saved/converted files to new linux installation.
> Start linux prime95
>
> NOPE! Not quite, ooops. I think I'm mostly wrong about most of that
> description, at least as far as the inis go. First, I see my linux prime95
> has a primnet.ini that's not in xp.

Long obsolete. Delete it.

> Also, there're a couple of different 
> linux-specific lines in prime.ini that are not in the xp prime.ini.

Let them default unless you have a good reason not to.

> Of 
> course the -function- of the two OS versions are the same, but the
> -methods- are a little different.
>
> So, it looks like I should -not- move certain xp files, but let the new
> linux install deal with them, such as editing prime.ini for ID and
> password and such.
>
> The only files I know for -sure- to keep and move are the pI and qI. And
> probably worktodo.ini because they're already assigned.

Move the lot. Then lose the executable & primenet.ini. Unzip mprimevxxx.zip to 
a temporary directory, move the executable (only) to ./bin and erase the 
temporary directory contents. Then 

dos2unix < results.txt > temp.tmp && mv -f temp.tmp results.txt 

Should be it.

If you have a problem with libraries get & unzip sprimevxxx.zip then move the 
new mprime - will be a lot bigger as it is linked statically i.e. no 
dependence on external libraries.

Regards
Brian Beesley
_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime

Reply via email to