View Single Post
Old 2008-03-28, 11:21   #11
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

284610 Posts
Default small edit ti post #2

in post #2 i gave the hint to create a seperate file for found primes (the client version).

for llrnet users like me with several folders of llrnet-ports/servers (i use a Quad so i got four folders for each of the two servers now) here is another hint:
my folders looks like this:
Code:
[LLRnet_A300_1]
[LLRnet_A300_2]
[LLRnet_A300_3]
[LLRnet_A300_4]
[LLRnet_I5000_1]
[LLRnet_I5000_2]
[LLRnet_I5000_3]
[LLRnet_I5000_4]
prim.bat
tests.bat
where [...] are the folders (A-> AES server, I->IronBits server) and the two batches to show me number of done tests and found primes.

now, edit one line from post #2:
Code:

  local file = openfile("..\\primes.txt", "a")
and the file 'primes.txt' will be generated not in the LLRnet-folder but in the folder above.
so every found prime from every server/port will be written there.
another point: if any prime is found the file exists. after checking you can delete this file and go on.

-> [PseudoCode on]
Code:
if exists(primes.txt)
      ALARM("prime found!")
endif

karsten

Last fiddled with by kar_bon on 2008-03-28 at 11:23
kar_bon is offline   Reply With Quote