![]() |
|
|
#1 |
|
Mar 2015
1 Posts |
Hi,
Is there anyway to change the number of workers by modifying configuration file (without using the interactive promt)? I'd like to run mprime by shell script and incrementing the number of cpus used. Thank you |
|
|
|
|
|
#2 |
|
"/X\(‘-‘)/X\"
Jan 2013
293010 Posts |
You'll have to stop mprime/Prime95, modify prime.txt and/or local.txt as you wish, then restart mprime/Prime95.
The `sed` command is great for what you want. That works great for Linux/Mac. If you're on Windows, there are options, including using PowerShell: Code:
get-content prime.txt | %{$_ -replace "expression","replace"}
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Number of workers vs. number of CPUs | daxmick | Information & Answers | 15 | 2018-02-23 01:33 |
| Workers | galgrnpa | Software | 5 | 2016-08-09 14:54 |
| command line switch for the number of workers to start | roemer2201 | Software | 6 | 2012-02-16 07:47 |
| Max # Workers | sk8kidamh | Software | 5 | 2011-07-16 15:58 |
| Went from 8 workers to 4 workers on v26.6 upgrade | dmoran | Software | 13 | 2011-05-23 12:36 |