mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Aliquot Sequences (https://www.mersenneforum.org/forumdisplay.php?f=90)
-   -   Aliqueit.exe discussion (https://www.mersenneforum.org/showthread.php?t=11618)

Greebley 2009-08-03 18:20

I didn't exactly pull it from thin air, I based it approximately on the work that those who know more than me chose as the right value for the c150 for 4788 (though I did round off to an even 47).

10metreh 2009-08-03 18:30

Behind all this is the problem that, for example, half t50 does not mean exactly t47.5. It is lower (and not too easy to work out; I am not an expert on ECM). If we used 10-digit increments, then half t50 would seem to mean t45.

Greebley 2009-08-03 19:15

I wasn't really worried about being super-accurate, rather work with what we do have which is a linear function based on the digits and making aliqueit match more closely what is chosen when it is done manually.

Greebley 2009-08-10 13:32

I thought this interesting: The factors listed by aliqueit were strange for this one ([URL="http://factorization.ath.cx/search.php?query=&se=1&aq=232956&action=last"]232956[/URL]:1890). The 73159784497 is the product of the following two factors (128873*567689). I wonder why it found that one before it found the much smaller 43541? In any case aliqueit handled it fine so not a bug - just unusual.

using previously found factor 2
using previously found factor 2
using previously found factor 2
using previously found factor 2
using previously found factor 3
using previously found factor 31
using previously found factor 47
using previously found factor 47
using previously found factor 73159784497
using previously found factor 128873
using previously found factor 567689
using previously found factor 43541

Edit: though it did get two
WARNING: factor doesn't divide n
WARNING: factor doesn't divide n
These seem common - I am not sure what causes them.

mklasson 2009-08-12 00:07

[QUOTE=Greebley;184823]I thought this interesting: The factors listed by aliqueit were strange for this one ([URL="http://factorization.ath.cx/search.php?query=&se=1&aq=232956&action=last"]232956[/URL]:1890). The 73159784497 is the product of the following two factors (128873*567689). I wonder why it found that one before it found the much smaller 43541? In any case aliqueit handled it fine so not a bug - just unusual.[/quote]

I suppose it's not too improbable if your trial cutoff is < 43541.

[QUOTE=Greebley;184823]using previously found factor 73159784497
using previously found factor 128873
using previously found factor 567689

Edit: though it did get two
WARNING: factor doesn't divide n
WARNING: factor doesn't divide n
These seem common - I am not sure what causes them.[/QUOTE]

After it's divided n by 73159784497 the two smaller factors no longer divide n and the warning appears. Another common reason for that warning is that you've started (and aborted) factoring a line several times. Multiple occurrences of the same factor are then parsed from the log and a scenario similar to the above unfolds. Not super neat, but no big deal either imho.

Cheers!

Batalov 2009-09-28 07:23

yafu -threads
 
Now that yafu is multithreaded, for some reason [FONT=Courier New]-threads 2[/FONT] (2 is for example here) parameter doesn't work with "siqs(num)" in the command-line, but stdin works, so I recommend a patch to aliqueit.cc:
[CODE] //system( ( cfg.yafu_cmd + " \"siqs(" + input_number + ")\"" + hide_output ).c_str() );
system( ( "echo \"siqs(" + input_number + ")\" | " + cfg.yafu_cmd + hide_output ).c_str() );[/CODE]
and add
[FONT=Courier New]yafu_cmd = yafu -threads 2
[/FONT]to aliqueit.ini (2 is for example).

Andi47 2009-09-28 08:30

[QUOTE=Batalov;191294]Now that yafu is multithreaded, for some reason [FONT=Courier New]-threads 2[/FONT] (2 is for example here) parameter doesn't work with "siqs(num)" in the command-line, but stdin works, so I recommend a patch to aliqueit.cc:
[CODE] //system( ( cfg.yafu_cmd + " \"siqs(" + input_number + ")\"" + hide_output ).c_str() );
system( ( "echo \"siqs(" + input_number + ")\" | " + cfg.yafu_cmd + hide_output ).c_str() );[/CODE]
and add
[FONT=Courier New]yafu_cmd = yafu -threads 2
[/FONT]to aliqueit.ini (2 is for example).[/QUOTE]

Hmmm... For me, it seemed to work yesterday, when I had specified to use 2 threads in yafu.ini. (at least, yafu sayed something like "sieving in progress (2 threads); I didn't check the task manager, if both threads had actually been used.)

P.S.: -threads 2 would make even more sense for aliqueit, if it would be able to run 2 (or more) threads of ECM - otherwise the second (in this example) thread would be idle while ECM is running.

mklasson 2009-09-28 09:45

[QUOTE=Andi47;191298]Hmmm... For me, it seemed to work yesterday, when I had specified to use 2 threads in yafu.ini. (at least, yafu sayed something like "sieving in progress (2 threads); I didn't check the task manager, if both threads had actually been used.)[/quote]

I think the problem is that yafu is very picky about the order of arguments. Putting "-threads 2" _last_ on the cmdline seems to work. Thank you for the workaround, Batalov.

[QUOTE=Andi47;191298]P.S.: -threads 2 would make even more sense for aliqueit, if it would be able to run 2 (or more) threads of ECM - otherwise the second (in this example) thread would be idle while ECM is running.[/QUOTE]

Yeah, I was right in the middle of adding that when I suddenly got busy some months ago. I'll try to get to it...

Mini-Geek 2009-09-28 12:00

Just use yafu.ini. That's why he put it in. :smile:

bsquared 2009-09-28 12:59

[quote=mklasson;191300]I think the problem is that yafu is very picky about the order of arguments. Putting "-threads 2" _last_ on the cmdline seems to work. Thank you for the workaround, Batalov.
...[/quote]

It expects to see the expression first, i.e. yafu "siqs(num)"... followed by any number of arguments in any order.

Or...

[quote=Mini-Geek;191306]Just use yafu.ini. That's why he put it in. :smile:[/quote]

zarabatana 2009-09-28 15:26

Sorry for this novice question, but, is possible make aliquot use only yafu with this argument: yafu factor (num)
yafu is faster than aliqueit using ecm.
If siqs can't be used with yafu use, use msieve.
Here isn't the right place, but, why yafu use msieve 1.38 and not 1.43?
[quote]==== post processing stage (msive-1.338) ====
begin with 482799 relations
reduce to 110713 relations in 9 passes
attempting to read 110713 relations
failed to read relation 37820
recovered 110712 relations
recovered 87774 polynomials
attempting to build 55306 cycles
found 55306 cycles in 4 passes
distribution of cycle lengths:[/quote]Thank you for your time, and sorry for my bad english.


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.