mersenneforum.org  

Go Back   mersenneforum.org > Other Stuff > Archived Projects > Octoproth Search

 
 
Thread Tools
Old 2006-11-25, 11:22   #1
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

1011000011102 Posts
Default Octoproth client questions

Hi all,

A few questions.

1º - If you decide to stop the client will the octo_6_0.exe write a some kind of checkpoint file?

2º - How do I test several n without starting the client?

Thanks in advance,

Carlos

Last fiddled with by em99010pepe on 2006-11-25 at 11:28
em99010pepe is offline  
Old 2006-11-25, 13:14   #2
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

2×3×263 Posts
Default

It isn't write a checkpoint file and at once you can test only one n value.
Note that it wouldn't be a faster program to use multiple n values.
R. Gerbicz is offline  
Old 2006-11-25, 13:19   #3
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2·5·283 Posts
Default

Quote:
Originally Posted by R. Gerbicz View Post
It isn't write a checkpoint file and at once you can test only one n value.
Note that it wouldn't be a faster program to use multiple n values.
My problem is simple, sometimes I have to reboot my machine so I don't want to lose all work done previously.
About the n value, imagine an input file where you write the n values you want to test. Well, after finishing one the client takes the next one. I just don't want to arrive home and see that my machine is in idle....

Thanks.

Carlos
em99010pepe is offline  
Old 2006-11-25, 13:27   #4
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

7·112 Posts
Default

Carlos,

No the octo6 program doesn't write checkpoints fies.
The only thing you can do is try to calculate the begin range when you want resume your search.

You also use pfgw to test the numbers but I don't know to do that.
You can also make a "batch" file

Code:
octo6 25555 0 1000T > output1.txt
octo6 12345 0 1000T > output2.txt
Regards
C.

Last fiddled with by ValerieVonck on 2006-11-25 at 13:29
ValerieVonck is offline  
Old 2006-11-25, 13:35   #5
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

CedricVonck,

If I run that batch the client will start two instances of the client. The second one should start after the end of the first one.

Carlos

Last fiddled with by em99010pepe on 2006-11-25 at 13:36
em99010pepe is offline  
Old 2006-11-25, 13:39   #6
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

283010 Posts
Default

A batch like this works but I need an estimated time for each n value.


start /low octo_6_0.exe 240 0 1000T > output1.txt
ping -n time 127.0.0.1 > NUL
start /low octo_6_0.exe 241 0 1000T > output2.txt
ping -n time 127.0.0.1 > NUL

and so on....

-n time means "time" seconds delay between each start.

Carlos

Last fiddled with by em99010pepe on 2006-11-25 at 13:40
em99010pepe is offline  
Old 2006-11-25, 15:08   #7
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

11010011112 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
CedricVonck,

If I run that batch the client will start two instances of the client. The second one should start after the end of the first one.

Carlos
Carlos,

IMHO, the second will start after the first has finished.

A range of 1000T will approx. 8000 seconds or 2.5 hours

Last fiddled with by ValerieVonck on 2006-11-25 at 15:10
ValerieVonck is offline  
Old 2006-11-25, 16:16   #8
S485122
 
S485122's Avatar
 
"Jacob"
Sep 2006
Brussels, Belgium

22·33·17 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
start /low octo_6_0.exe 240 0 1000T > output1.txt
ping -n time 127.0.0.1 > NUL
start /low octo_6_0.exe 241 0 1000T > output2.txt
ping -n time 127.0.0.1 > NUL
If you create a .cmd file and use the "start" command each start will start a separate window to run the specified program or command. If you just put your command the command interpreter will wait until each command has finished BUT there is a switch you can use for the start command: "/wait".

start_no_wait.cmd
Code:
start /low octo_6_0.exe 240 0 1000T > output1.txt
start /low octo_6_0.exe 241 0 1000T >> output1.txt
will execute the second line whithout waiting for the first line to finish.

start_with_wait.cmd
Code:
start /low /wait octo_6_0.exe 240 0 1000T > output1.txt
start /low /wait octo_6_0.exe 241 0 1000T >> output1.txt
will start octo_6_0.exe and wait for it to terminate before proceeding to the second line.

The same result can be achieved with :
no_start.cmd
Code:
octo_6_0.exe 240 0 1000T > output1.txt
octo_6_0.exe 241 0 1000T >> output1.txt
but octo_6_0.exe will run at normal priority.

Last fiddled with by S485122 on 2006-11-25 at 16:18
S485122 is offline  
Old 2006-11-25, 16:53   #9
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

Quote:
Originally Posted by Jacob Visser

start_with_wait.cmd
Code:
start /low /wait octo_6_0.exe 240 0 1000T > output1.txt
start /low /wait octo_6_0.exe 241 0 1000T >> output1.txt
will start octo_6_0.exe and wait for it to terminate before proceeding to the second line.
That's what I want....thanks. Now, the results are always recorded on that output1.txt file, right?
I'll try it as soon as I finish """232 em99010pepe - Reserved from 600T to 1000T""".

Carlos

Last fiddled with by em99010pepe on 2006-11-25 at 16:55
em99010pepe is offline  
Old 2006-11-25, 16:58   #10
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2·5·283 Posts
Default

Quote:
Originally Posted by CedricVonck View Post
Carlos,

IMHO, the second will start after the first has finished.

A range of 1000T will approx. 8000 seconds or 2.5 hours
With what processor? I have an AMD 64 3000+ and it's running " 232 em99010pepe - Reserved from 600T to 1000T" for the last 3 hours....

Carlos
em99010pepe is offline  
Old 2006-11-25, 18:45   #11
S485122
 
S485122's Avatar
 
"Jacob"
Sep 2006
Brussels, Belgium

34548 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
That's what I want....thanks. Now, the results are always recorded on that output1.txt file, right?
Yes, the ">>" appends the output to the file or creates the file if none existed before.

">" opens the file for output as a new file, erasing all previous content and is dangerous if you forget to save the file before reusing your batch file !

So to be on the safe side you could only use ">>".
S485122 is offline  
 

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running octoproth program in Linux jasong Octoproth Search 9 2007-12-27 02:44
Octoproth Reservation Thread Greenbank Octoproth Search 2 2007-12-26 09:58
octoproth program roger Octoproth Search 2 2007-11-17 12:57
Octoproth Discussion Kosmaj Octoproth Search 58 2007-08-29 02:42
Some questions regarding the client TauCeti NFSNET Discussion 4 2003-07-11 21:11

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


Wed Oct 5 05:14:25 UTC 2022 up 48 days, 2:42, 0 users, load averages: 0.55, 0.74, 0.83

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.

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