mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2021-12-30, 22:42   #12
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

10001100110012 Posts
Default

As a different experiment, if using linux, has anyone tried process pausing via CTRL-z and fg? I've been using this more lately and think I did even use it with CADO-NFS once or twice, although my memory of such is foggy.

I did just try this with YAFU and it worked quite well:

In the terminal where YAFU was running, I used CTRL-z and was given a "stopped" message.

I then did some other things like running top, which did not show any YAFU process.

Then, I entered fg and YAFU resumed without any trouble. top now shows YAFU running along again.

I will try this with Msieve later.

ETA: Just to mention that YAFU was running via a script. Other scripts should be handled the same.

Last fiddled with by EdH on 2021-12-30 at 22:45
EdH is offline   Reply With Quote
Old 2021-12-30, 23:24   #13
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

356310 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
This. Happens. To. Everyone.
Count me in on this one. Probably more than once.
RichD is offline   Reply With Quote
Old 2021-12-30, 23:45   #14
ThomRuley
 
ThomRuley's Avatar
 
May 2003

4438 Posts
Default

After the first one finished, I sent in estimated completion dates to PrimeNet, and then the assignments were automatically removed from the computer that originally had the assignments.
ThomRuley is offline   Reply With Quote
Old 2021-12-31, 16:44   #15
chris2be8
 
chris2be8's Avatar
 
Sep 2009

13·179 Posts
Default

Quote:
Originally Posted by charybdis View Post
Isn't accidentally deleting all the relations and having to restart from scratch an important character-building experience?
I still use factMsieve.pl because I know perl but not python. I have added the following to it:
Code:
  if ( -f "$DATNAME.chk") { # Restart from checkpoint if we have one
    logwrite("#### Attempting to restart linear algebra ####");
    $cmd="$NICE \"$MSIEVE\" -s $DATNAME -l $LOGFILE -i $ININAME -v -nf $FBNAME -t $NUM_CPUS -ncr";
  } else {
    $cmd="$NICE \"$MSIEVE\" -s $DATNAME -l $LOGFILE -i $ININAME -v -nf $FBNAME -t $NUM_CPUS -nc2";
  }
Which automatically restarts it if a checkpoint file exists. It still needs manual intervention if the .chk file is corrupt (eg msieve ran out of disk space trying to write it) so I would need to go back to the previous checkpoint, but I've never had that happen.
chris2be8 is offline   Reply With Quote
Old 2022-01-03, 17:46   #16
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

25×11×17 Posts
Default

On linux ctrl-z would have been a decent way of pausing it. fg resumes it.
henryzz is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopping a primenet work fetch loop SELROC GPU Computing 2 2019-03-31 10:40
Automatically stopping P-1 to benchmark? Why? Uncwilly Software 2 2018-02-23 05:24
Stopping New Work dmaine Information & Answers 1 2011-07-05 22:30
PrimeGrid PSP (Sieve) is stopping soon! Joe O Prime Sierpinski Project 1 2010-11-04 23:05
Stopping on a dime? R.D. Silverman NFSNET Discussion 1 2006-03-20 23:46

All times are UTC. The time now is 22:34.


Thu May 19 22:34:49 UTC 2022 up 35 days, 20:36, 0 users, load averages: 1.55, 1.46, 1.41

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

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