mersenneforum.org Stopping and restarting factmsieve
 Register FAQ Search Today's Posts Mark Forums Read

 2021-12-30, 22:42 #12 EdH     "Ed Hall" Dec 2009 Adirondack Mtns 10001100110012 Posts 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
2021-12-30, 23:24   #13
RichD

Sep 2008
Kansas

356310 Posts

Quote:
 Originally Posted by VBCurtis This. Happens. To. Everyone.
Count me in on this one. Probably more than once.

 2021-12-30, 23:45 #14 ThomRuley     May 2003 4438 Posts 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.
2021-12-31, 16:44   #15
chris2be8

Sep 2009

13·179 Posts

Quote:
 Originally Posted by charybdis 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.

 2022-01-03, 17:46 #16 henryzz Just call me Henry     "David" Sep 2007 Liverpool (GMT/BST) 25×11×17 Posts On linux ctrl-z would have been a decent way of pausing it. fg resumes it.

 Similar Threads Thread Thread Starter Forum Replies Last Post SELROC GPU Computing 2 2019-03-31 10:40 Uncwilly Software 2 2018-02-23 05:24 dmaine Information & Answers 1 2011-07-05 22:30 Joe O Prime Sierpinski Project 1 2010-11-04 23:05 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