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

32×5 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

23×11 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

23×571 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 online now   Reply With Quote
Old 2021-07-25, 12:10   #4
graysky
 
graysky's Avatar
 
Jul 2004

32×5 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 13:05.


Fri Mar 31 13:05:12 UTC 2023 up 225 days, 10:33, 0 users, load averages: 0.93, 0.82, 0.83

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

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔