mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Single exponent testing on MultiCore (https://www.mersenneforum.org/showthread.php?t=17740)

graizada 2013-02-05 11:34

Single exponent testing on MultiCore
 
Hi,

When I start mprime, it asks to start as many workers as there are cores. I want to use all cores for the same exponent. Essentially dedicating the entire server to single exponent to speed up.

I looked in readme and on this forum. All I find is mlucas. Can you guide me on this ?

G

LaurV 2013-02-05 13:51

Stop mprime,

On local.txt file, look for something like
WorkerThreads=xxx
ThreadsPerTest=yyy

replace xxx with 1, and yyy with the number of your physical cores

then look to worktodo.txt and eliminate the heders [worker xx] in case you have them from a former run, let only the [worker 1]. If no worktodo yet, no problem.

Restart mprime.

Linux users may clarify it better.

Dubslow 2013-02-05 14:29

[QUOTE=LaurV;327700]Stop mprime,

On local.txt file, look for something like
WorkerThreads=xxx
ThreadsPerTest=yyy

replace xxx with 1, and yyy with the number of your physical cores

then look to worktodo.txt and eliminate the heders [worker xx] in case you have them from a former run, let only the [worker 1]. If no worktodo yet, no problem.

Restart mprime.

Linux users may clarify it better.[/QUOTE]
:tu:

In general though, we recommend only one core per test, because overall you get more work done; using multithreading is never quite as efficient as a single core per test.

Xyzzy 2013-02-05 14:36

[CODE]./mprime -m[/CODE]

Option #2


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.