mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-02-15, 08:49   #1
roemer2201
 
Dec 2008
127.0.0.1

11102 Posts
Default command line switch for the number of workers to start

Dear All,

usually I run mprime on one cluster node, which has 12 Cores, so my mprime-setup has 12 workers. Is there a possibility to run mprime with a certain amount of worker threads from the command line? E.g. "./mprime -d --workers 4"?

Thank You
roemer2201 is offline   Reply With Quote
Old 2012-02-15, 14:28   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1C7E16 Posts
Default

No.

You might could use a Unix utility to edit local.txt before launching mprime to achieve the desired outcome.
Prime95 is offline   Reply With Quote
Old 2012-02-15, 16:35   #3
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

After I feel I've become proficient enough in C/programming (a long while off) the first thing I will do is to give MPrime decent individual worker control.
Dubslow is offline   Reply With Quote
Old 2012-02-16, 03:30   #4
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

24×571 Posts
Default

my dream 25 years ago: after I feel I've become proficient enough in C/programming (a long while off) the first thing I will do is to implement a decent go-moku/renju program... I did not write a line for it, in 25 years. Should be that a sign that I never became proficient enough in C? :P

Last fiddled with by LaurV on 2012-02-16 at 03:30
LaurV is offline   Reply With Quote
Old 2012-02-16, 03:34   #5
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Yes, but you don't suffer from near-daily frustration at not being able to play those games. (Maybe an exaggeration, but I know I'm not the only one with this problem. Xyzzy uses separate instances of MPrime to get the necessary control.)
Dubslow is offline   Reply With Quote
Old 2012-02-16, 07:38   #6
roemer2201
 
Dec 2008
127.0.0.1

2×7 Posts
Default

So does this mean that I launched a feature request with my post?
roemer2201 is offline   Reply With Quote
Old 2012-02-16, 07:47   #7
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Well, it's been discussed before, and me wanting to tackle it has been floating around my head for a month or two, but since you've made the thread, this will probably be where any discussion about it takes place.
Dubslow is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from command line pepi37 Linux 4 2015-07-16 22:06
Windows command line mu5tan6 Software 14 2015-03-20 17:21
Run Benchmark Test using Command Line Only? Gabe Brown Information & Answers 3 2009-12-12 14:01
command line switch wongnog Information & Answers 1 2008-07-20 11:29
NewPGen from the command line monst Software 19 2008-01-31 07:07

All times are UTC. The time now is 15:37.

Sat Jan 16 15:37:12 UTC 2021 up 44 days, 11:48, 0 users, load averages: 1.50, 1.59, 1.64

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.