![]() |
![]() |
#111 | ||
"James Heinrich"
May 2004
ex-Northern Ontario
102178 Posts |
![]()
I tried building YAFU under WSL2/Ubuntu22.04 in Win11 on my Ryzen 7950X using EdH's instructions.
make yafu NFS=1 USE_SSE41=1 USE_AVX2=1 USE_BMI2=1 ICELAKE=1 make: *** [Makefile:399: factor/gmp-ecm/tinyecm.o] Error 1 make yafu NFS=1 USE_SSE41=1 USE_AVX2=1 USE_BMI2=1 SKYLAKE=1 success lscpu tells me (bold is all AVX-512, green is the ones mentioned further below): Quote:
Quote:
Last fiddled with by James Heinrich on 2023-02-13 at 00:47 |
||
![]() |
![]() |
![]() |
#112 |
"James Heinrich"
May 2004
ex-Northern Ontario
33×157 Posts |
![]()
But the AVX512 issue aside, the Linux build I now have seems perfectly happy to through the -batchfile list of assignments, no crashing on P-1 like the Windows binary does.
Case #1: edit: Well, it worked nicely for the first 236 inputs, then started spamming the screen with this kind of thing in infinite loop (for about 35 minutes before I noticed it): Code:
**** finished poly work in thread 6 nfs: thread 15 commencing polynomial search over range: 57829442 - 57829692 deadline: 8640000 CPU-seconds per coefficient error generating or reading NFS polynomials **** finished poly work in thread 15 nfs: thread 4 commencing polynomial search over range: 57829692 - 57829942 deadline: 8640000 CPU-seconds per coefficient error generating or reading NFS polynomials **** finished poly work in thread 4 nfs: thread 1 commencing polynomial search over range: 57829942 - 57830192 deadline: 8640000 CPU-seconds per coefficient error generating or reading NFS polynomials **** finished poly work in thread 1 nfs: thread 10 commencing polynomial search over range: 57830192 - 57830442 deadline: 8640000 CPU-seconds per coefficient error generating or reading NFS polynomials **** finished poly work in thread 10 ^Z [1]+ Stopped Case #2: Stuck on 6064229034709002472262972268188545203995543889159050770751775303656682657114151 or 7037143403475036214202972850064341177702412654627932222322186191725165912592743 Code:
... total yield: 35448, q=530017 (0.00037 sec/rel) nfs: commencing msieve filtering 6064229034709002472262972268188545203995543889159050770751775303656682657114151 checking relations array at location 1 checking relations array at location 1 checking relations array at location 1 checking relations array at location 1 error: number of relsets too large Last fiddled with by James Heinrich on 2023-02-13 at 01:31 |
![]() |
![]() |
![]() |
#113 | |
"Ben"
Feb 2007
22·941 Posts |
![]() Quote:
Some numbers in that range may be competitive with SIQS, but definitely not these. I would raise snfs_xover in yafu.ini to something like 95 or 100 to avoid this problem. That said, both the 2nd and 3rd of your example finish fine for me with snfs, just 4 times slower than siqs would have finished. The first example does go into an infinite loop because it detects the SNFS form, then decides that gnfs would actually be better, but there are no good preconfigured parameters for poly selection on a gnfs 79. So it never finds one. It does not occur to the nfs poly selection routine to consider siqs instead of gnfs... that is something I can fix. I don't think it is worth figuring out gnfs parameters for less than c85. Continue building with SKYLAKEX on the Zen 4 machine. IFMA as of now only helps with AVX-ECM, but there is something wrong with the IFMA code there; it is not finding factors that it should be finding. So until I can fix that don't use the ICELAKE build option. Edit: Also make sure you are using SKYLAKEX, not just SKYLAKE. It will just ignore the latter. I guess I should teach the makefile to accept either one. Thanks again for all of the use/testing! Last fiddled with by bsquared on 2023-02-13 at 13:47 |
|
![]() |
![]() |
![]() |
#114 |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
33×227 Posts |
![]() |
![]() |
![]() |
![]() |
#115 |
"Ben"
Feb 2007
22·941 Posts |
![]()
You're right. Of course James doesn't have either one, he has a Zen 4. When I first starting writing AVX-512 code, skylakex was what I was using. I was lazy and just tied use of AVX-512 instructions to that processor architecture, not thinking that it may eventually be available in other architectures or even cpu brands. So, SKYLAKEX is really a codeword for "use AVX-512F and BW instruction sets". Just remember to put the X on there.
|
![]() |
![]() |
![]() |
#116 | |||
"James Heinrich"
May 2004
ex-Northern Ontario
33×157 Posts |
![]() Quote:
Quote:
![]() I rebuilt it with SKYLAKEX and it seemed to work. It finished the last hundred assignments without complain anyways. Is there some way to see what features YAFU is built with? Maybe a line in the header would be interesting: Quote:
|
|||
![]() |
![]() |
![]() |
#117 | |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
137618 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#118 | |
"James Heinrich"
May 2004
ex-Northern Ontario
33×157 Posts |
![]()
I was mildly amused by this:
Quote:
![]() |
|
![]() |
![]() |
![]() |
#119 | ||
"Ben"
Feb 2007
22·941 Posts |
![]() Quote:
Yes it would. Quote:
![]() It is supposed to print the relevant portion of the help document. The help document is not up to date anyway, something else that needs work. Lately I have been trying to keep the .ini file up to date with what the various options do. |
||
![]() |
![]() |
![]() |
#120 |
"Ben"
Feb 2007
72648 Posts |
![]()
An unfortunate side effect of this is that when I add an option and update the repository yafu.ini, then a user's yafu.ini file (maybe full of custom things) gets overwritten when they update versions. Or is there a merge feature when fetching/pulling from github? I'm still a relative noob with git/github.
|
![]() |
![]() |
![]() |
#121 | |
"Jane Sullivan"
Jan 2011
Beckenham, UK
15116 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How I install YAFU version 2 onto my Ubuntu Machines | EdH | EdH | 7 | 2023-03-14 15:06 |
yafu ignoring yafu.ini | chris2be8 | YAFU | 9 | 2022-02-17 17:52 |
YAFU Version Differences | nivek000 | YAFU | 2 | 2021-12-21 16:21 |
Running YAFU via Aliqueit doesn't find yafu.ini | EdH | YAFU | 8 | 2018-03-14 17:22 |
YAFU version 1.31 | bsquared | YAFU | 26 | 2012-04-23 03:16 |