mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2016-04-19, 12:16   #1
Johnatan
 
Apr 2016

D16 Posts
Default terminate yafu

What is the correct way to terminate yafu that is started using
Quote:
./yafu "factor(..)" -threads 4
?

If I press control+c, the ecm processes are killed, but yafu continues by spawning next threads using next curves.
If I send "kill -2 ..." to the process, nothing happens.
Johnatan is offline   Reply With Quote
Old 2016-04-19, 13:15   #2
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

22×853 Posts
Default

several ctrl-c's usually does it. Killing the yafu pid should also work.
bsquared is offline   Reply With Quote
Old 2016-06-13, 11:30   #3
Johnatan
 
Apr 2016

158 Posts
Default

Seems that on ubuntu GMP-ECM on control+c returns return code 2 and therefore yafu assums that work has been done and respawns next GMP-ECM processes.

Sending SIGTERM signal to yafu terminates yafu and GMP-ECM processes successfully.
Johnatan is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yafu bsquared YAFU 1276 2019-01-12 04:46
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
YAFU-1.34 bsquared YAFU 119 2015-11-05 16:24
yafu-1.33 bsquared YAFU 12 2012-11-08 04:12
yafu-1.32.1 bsquared YAFU 21 2012-09-04 19:44

All times are UTC. The time now is 21:09.

Thu Apr 22 21:09:49 UTC 2021 up 14 days, 15:50, 0 users, load averages: 3.33, 3.42, 3.32

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.