mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-09-11, 11:08   #1
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

16248 Posts
Default Parallel Prime95 code and instructions

OK. I spent nearly 1/2 an hour searching for code and instructions for the parallelized version of Prime95. (I was away from the forum for too long, so I'm lost now.)

Better to ask:
Where can I find all the code and instructions about the parallel version of Prime95 ?
- executable file
- source code
- instructions for compiling the code
- instructions for saying Prime95 to run in // on several cores

(I have access to a Nehalem 8 cores....)

Thanks,
Tony
T.Rex is offline   Reply With Quote
Old 2008-09-11, 11:15   #2
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

74 Posts
Default

The 8-core "Nehalem" chip isn't supposed to be out until late 2009. Does Bull have connections with Intel or something?
ixfd64 is offline   Reply With Quote
Old 2008-09-11, 11:19   #3
Cruelty
 
Cruelty's Avatar
 
May 2005

23×7×29 Posts
Default

Sound more like 2-way 4-core system
Besides Nehalem chips will have hyperthreading enabled so 4-core system means 8 threads.
Cruelty is offline   Reply With Quote
Old 2008-09-11, 11:21   #4
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

240110 Posts
Default

That makes more sense, but still, none of the "Nehalem" chips have been released yet.
ixfd64 is offline   Reply With Quote
Old 2008-09-11, 11:22   #5
Cruelty
 
Cruelty's Avatar
 
May 2005

23×7×29 Posts
Default

Yes, but several people already are using engineering samples...
Cruelty is offline   Reply With Quote
Old 2008-09-11, 11:29   #6
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Links to executables can be found at http://www.mersenneforum.org/showthread.php?t=9779

Not 100% sure, but this link looks promising for the source:
ftp://mersenne.org/gimps/source256.zip
Not sure about compiling.

For the settings to run 1 number across the 8 cores, go to Test > Worker Threads and set as follows:

Number of worker threads: 1
Number of CPUs to use: 8
The other settings can be set to whatever you want, depending on what you want to do (obviously).
Mini-Geek is offline   Reply With Quote
Old 2008-09-11, 11:40   #7
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2·1,579 Posts
Default

Quote:
Originally Posted by T.Rex View Post
(I have access to a Nehalem 8 cores....)
Is it 8 real cores? Then it would be 16 threads. I read that Nehalem reintroduces hyperthreading, so a quad core would have 8 threads.
ATH is offline   Reply With Quote
Old 2008-09-11, 12:00   #8
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

22·229 Posts
Default

Quote:
Originally Posted by ATH View Post
Is it 8 real cores? Then it would be 16 threads. I read that Nehalem reintroduces hyperthreading, so a quad core would have 8 threads.
It is a proto Nehalem, with 8 cores I've been said (not played with it yet). So performances should not be the top of what is expected next year. End I do not want to use HyperThreading. Yes, Bull has a cooperation contract with Intel (and I think I have to check what I'm authorized to say about perf of Nehalem...).
Tony
T.Rex is offline   Reply With Quote
Old 2008-09-11, 12:18   #9
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

39416 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
For the settings to run 1 number across the 8 cores, go to Test > Worker Threads and set as follows:

Number of worker threads: 1
Number of CPUs to use: 8
The version I'm using:
Code:
Linux,Prime95,v25.6,build 6
Where is described the format of the worktodo.txt file ?
mprime refuses the old format.
Code:
[Main thread Sep 11 06:51] Mersenne number primality test program version 25.6
[Main thread Sep 11 06:51] Error: Worktodo.txt file contained bad LL exponent: 0
[Main thread Sep 11 06:51] Illegal line in worktodo.txt file: Test=M43xxxxxx,68,1
T.

Last fiddled with by T.Rex on 2008-09-11 at 12:29
T.Rex is offline   Reply With Quote
Old 2008-09-11, 12:21   #10
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

22×229 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Number of worker threads: 1
Number of CPUs to use: 8
OK ! Thanks. On my small machine, it adds the following in local.txt:
Code:
ThreadsPerTest=2
WorkerThreads=1
Tony
T.Rex is offline   Reply With Quote
Old 2008-09-11, 12:37   #11
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

22×229 Posts
Default

Quote:
Originally Posted by T.Rex View Post
mprime refuses the old format.
Code:
[Main thread Sep 11 06:51] Illegal line in worktodo.txt file: Test=M43xxxxxx,68,1
T.
OK! Simply remove the "M" !!
Test=43xxxxxx,68,1
No ascendant compatibiliy between versions...
T.
T.Rex is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 Source Code required Qazi PrimeNet 1 2017-02-03 15:40
What's the best way to use PFGW in parallel? CRGreathouse Information & Answers 4 2016-03-06 00:21
Useless SSE instructions __HRB__ Programming 41 2012-07-07 17:43
Which bits of gmp-ecm are now parallel? fivemack GMP-ECM 5 2010-09-05 06:49
Instructions please? jasong Sierpinski/Riesel Base 5 10 2005-03-14 04:03

All times are UTC. The time now is 22:59.


Fri Aug 6 22:59:48 UTC 2021 up 14 days, 17:28, 1 user, load averages: 4.00, 4.13, 4.01

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