mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2021-07-25, 10:12   #1
graysky
 
graysky's Avatar
 
Jul 2004

2B16 Posts
Default Run mprime to calculate the same work on a single thread?

How can I setup prime.txt to run only 1 thread? The customizing Torture Test menu gives me this option, but it doesn't get written out to prime.txt. My goal is to simple run prime -t and have it read in ~/prime.txt which should only run on a single thread.

Here is ~/prime.txt
Code:
V24OptionsConverted=1
WorkPreference=0
V30OptionsConverted=1
StressTester=1
UsePrimenet=0
MinTortureFFT=448
MaxTortureFFT=448
TortureMem=0
TortureTime=3
TortureWeak=0
WGUID_version=2

[PrimeNet]
Debug=0

Last fiddled with by graysky on 2021-07-25 at 10:22
graysky is offline   Reply With Quote
Old 2021-07-25, 12:08   #2
thyw
 
Feb 2016
! North_America

1308 Posts
Default

As I understand from the source code, put

Code:
TortureThreads=1
into your prime.txt


I do think this defeats the purpose of the stress test. did not think of that usecase

Last fiddled with by thyw on 2021-07-25 at 12:20
thyw is offline   Reply With Quote
Old 2021-07-25, 12:08   #3
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

22·3·17·19 Posts
Default

Quote:
Originally Posted by graysky View Post
How can I setup prime.txt to run only 1 thread? The customizing Torture Test menu gives me this option, but it doesn't get written out to prime.txt. My goal is to simple run prime -t and have it read in ~/prime.txt which should only run on a single thread.
taskset?
paulunderwood is offline   Reply With Quote
Old 2021-07-25, 12:10   #4
graysky
 
graysky's Avatar
 
Jul 2004

43 Posts
Default

I found this thread. Seems changes to both prime.txt and local.txt are needed.

@paulunderwood - I am using taskset externally to call mprime -t by the way.
graysky is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Core to process single work unit? JimboPrimer Homework Help 18 2011-08-28 04:08
How to calculate work/effort for PRP work? James Heinrich PrimeNet 0 2011-06-28 19:29
so what GIMPS work can single precision do? ixfd64 Hardware 21 2007-10-16 03:32
Should mprime work like this? Carlos Software 4 2005-08-27 22:06
4 checkins in a single calendar month from a single computer Gary Edstrom Lounge 7 2003-01-13 22:35

All times are UTC. The time now is 11:58.


Wed Oct 27 11:58:49 UTC 2021 up 96 days, 6:27, 0 users, load averages: 1.19, 1.16, 1.17

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.