mersenneforum.org  

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

Closed Thread
 
Thread Tools
Old 2004-01-31, 00:10   #1
Unregistered
 

5·113 Posts
Default Two programs on same machine?

I run Prime95 on two computers at home and one of the computers crashed. On the other one I have two partitions (one is FAT32 and another is NTFS). Can I copy the whole Prime95 folder from the wasted computer onto the second drive of the alive one and pretend it is the old machine (at least until I revive the dead one)? Thanks.
 
Old 2004-01-31, 01:32   #2
PrimeCruncher
 
PrimeCruncher's Avatar
 
Sep 2003
Borg HQ, Delta Quadrant

2BE16 Posts
Default

Unless the machine is dual-processor, I don't recommend it. The two Prime95 instances would conflict with each other. You can set them at the same priority to counteract this but then each instance will effectively run at half-speed. The wiser course is to add the exponents from the wasted machine to your worktodo.ini file. If this makes the work queue too long Prime95 will automatically unreserve some exponents.
PrimeCruncher is offline  
Old 2004-01-31, 02:28   #3
Unregistered
 

43×173 Posts
Default

Quote:
Originally Posted by PrimeCruncher
The wiser course is to add the exponents from the wasted machine to your worktodo.ini file.
Thank you.
 
Old 2004-01-31, 03:10   #4
PrimeCruncher
 
PrimeCruncher's Avatar
 
Sep 2003
Borg HQ, Delta Quadrant

2BE16 Posts
Default

No problemo. That's what this forum is for.
PrimeCruncher is offline  
Old 2004-01-31, 12:27   #5
patrik
 
patrik's Avatar
 
"Patrik Johansson"
Aug 2002
Uppsala, Sweden

1101010012 Posts
Default

Also copy the save file. If you are doing a Lucas-Lehmer test, the save file is called something like pXXXXXXX. Otherwise it will start that exponent from the beginning.

But I don't think there would be much harm of running two instances of Prime95. They would run at 50% each, not much less. Just be sure (if you are doing P-1) that the memory settings are low enough for allowing running two P-1 tests at the same time.
patrik is offline  
Old 2004-01-31, 15:29   #6
PrimeCruncher
 
PrimeCruncher's Avatar
 
Sep 2003
Borg HQ, Delta Quadrant

2×33×13 Posts
Default

Quote:
Originally Posted by patrik
Also copy the save file. If you are doing a Lucas-Lehmer test, the save file is called something like pXXXXXXX. Otherwise it will start that exponent from the beginning.
Ooh, yeah, I forgot about that.

Quote:
Originally Posted by patrik
But I don't think there would be much harm of running two instances of Prime95. They would run at 50% each, not much less. Just be sure (if you are doing P-1) that the memory settings are low enough for allowing running two P-1 tests at the same time.
Well, what's the point? Either you can run two Prime95 instances at half-speed or one at full-speed. The same amount of work will get done.
PrimeCruncher is offline  
Old 2004-01-31, 15:41   #7
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

10010111010112 Posts
Default

Quote:
Originally Posted by PrimeCruncher
Well, what's the point? Either you can run two Prime95 instances at half-speed or one at full-speed. The same amount of work will get done.
AFAIK, Prime95 is coded to get full use of the pipeline, cache and registers of the processor. Two instances of the same program would impose a delay due to context switching, cache misses and wait cycles for the pipeline to empty...

Luigi
ET_ is offline  
Old 2004-01-31, 18:47   #8
outlnder
 
outlnder's Avatar
 
Aug 2002

2×3×53 Posts
Default

Sometimes when copying the pxxxxxxxx file, the computer will give it an extension, such as ".dat". You will need to rename the file after moving it, eliminating the ".dat".
outlnder is offline  
Old 2004-02-01, 02:09   #9
jinydu
 
jinydu's Avatar
 
Dec 2003
Hopefully Near M48

2·3·293 Posts
Default

Is it possible to view the pxxxxxxxx file at all?
jinydu is offline  
Old 2004-02-01, 02:13   #10
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

204468 Posts
Default

Quote:
Originally Posted by jinydu
Is it possible to view the pxxxxxxxx file at all?
Yes, but it looks like garbage because it is a binary file... You can use "od" to dump the file in Linux... I suppose in Windows you would need some sort of hex editor or something...
Xyzzy is offline  
Old 2004-02-01, 05:51   #11
Pablo the Duck
 
Pablo the Duck's Avatar
 
Dec 2003
Team China

3616 Posts
Default

Quote:
Originally Posted by jinydu
Is it possible to view the pxxxxxxxx file at all?
Sometimes you can even listen to it! Nautilus (a Linux GUI file manager) once mistakenly identified a pxxxxxxxx file as an MP3 and, when I clicked on it, it played a scratching noise followed by an ear splitting popping sound.
Pablo the Duck is offline  
Closed Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seg fault with various programs Romuald Factoring 3 2016-11-14 05:38
tones from c programs davar55 Programming 12 2015-12-13 03:41
Sieving programs calimero22 Software 12 2015-11-22 08:43
nfsnet programs henryzz NFSNET Discussion 2 2007-11-06 14:59
factoring programs henryzz Factoring 6 2007-09-19 13:47

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


Mon Aug 15 16:48:32 UTC 2022 up 39 days, 11:35, 1 user, load averages: 1.61, 1.28, 1.27

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

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔