20200701, 21:20  #89 
"Ed Hall"
Dec 2009
Adirondack Mtns
5·677 Posts 
B^{2} has probably changed it again! He does that, which is a good thing. It helps me keep on my toes and it shows he's actively improving the YAFU package. The yafu.ini file has changed in a big way just recently.

20200810, 15:08  #90 
Aug 2020
2 Posts 
Hi,
Thank you for installation instructions, It's looking good and working correctly ! But it's not working as I expecting, According to "lscpu" command, I have 8 Cpu(s) and 2 threads per cpu, Together it's 16 threads (this is the number I put on threads field of "yafu.ini" file), According to "top" and "monitor" Ubuntu tools, Actually I see yafu running on one cpu with 100% usage, What about other cpus and why yafu does no use them ? Do I miss something ? Thanks a lot, 
20200810, 21:59  #91  
"Ed Hall"
Dec 2009
Adirondack Mtns
5·677 Posts 
Quote:
1. Make sure the yafu.ini file is in the directory that you are using to call YAFU. 2. Make sure that the threads line isn't commented out with a "%" symbol. You might also try adding "threads 16" (without quotes) to the command line and see if that works. 

20200811, 08:15  #92 
"Oliver"
Sep 2017
Porta Westfalica, DE
3^{2}×37 Posts 
Please try running something with SIQS. It should look something like this: ==== sieving in progress ( 16 threads): 82576 relations needed ====
In some steps, yafu does not use more then 1 thread. You might have to add prefer_gmpecm to the inifile and make sure the GMPECM binary's location is set correctly. 
20200813, 08:41  #93 
Aug 2020
2 Posts 
Thanks,
Now it's working correctly, Unfortunately, I'm getting "Segmentation fault" while I try to factor 512 bit number, Please see the following log: Code:
applying option threads=16 applying option aprcl_p=500 applying option aprcl_d=200 applying option ggnfs_dir=/home/user/Desktop/yafu/Math/ggnfs/bin/ applying option B1ecm=11000 applying option ecm_path=/usr/local/bin/ecm applying option B1pm1=20000 applying option tune_info=Intel(R) Xeon(R) Gold 5122 CPU @ 3.60GHz,LINUX64,1.59078e05,0.196092,0.299688,0.0999245,102.36,42 applying option tune_info=Intel(R) Core(TM) i78700T CPU @ 2.40GHz,LINUX64,7.5902e05,0.182524,0.621489,0.0992485,108.201,2399.99 08/12/20 12:09:54 v1.35beta @ uservirtualmachine, System/Build Info: Using GMPECM 7.0.5dev, Powered by GMP 6.2.0 detected Intel(R) Core(TM) i78700T CPU @ 2.40GHz detected L1 = 32768 bytes, L2 = 12582912 bytes, CL = 64 bytes measured cpu frequency ~= 2399.983520 using 1 random witnesses for RabinMiller PRP checks =============================================================== ======= Welcome to YAFU (Yet Another Factoring Utility) ======= ======= bbuhrow@gmail.com ======= ======= Type help at any time, or quit to quit ======= =============================================================== cached 664579 primes. pmax = 9999991 >> >> factor(7481941016577287348099705569618881449446613674024887958060868042015962068162606112448282331657456711392343427317702862486293906907971066705762469196914429) fac: factoring 7481941016577287348099705569618881449446613674024887958060868042015962068162606112448282331657456711392343427317702862486293906907971066705762469196914429 fac: using pretesting plan: normal fac: using tune info for qs/gnfs crossover div: primes less than 10000 fmt: 1000000 iterations rho: x^2 + 3, starting 1000 iterations on C154 rho: x^2 + 2, starting 1000 iterations on C154 rho: x^2 + 1, starting 1000 iterations on C154 nfs: searching for brent special forms... nfs: searching for homogeneous cunningham special forms... nfs: searching for XYYXF special forms... nfs: couldn't find special form pm1: starting B1 = 150K, B2 = gmpecm default on C154 ecm: 30/30 curves on C154, B1=2k, B2=gmpecm default ecm: 74/74 curves on C154, B1=11k, B2=gmpecm default ecm: 214/214 curves on C154, B1=50k, B2=gmpecm default, ETA: 0 sec pm1: starting B1 = 3750K, B2 = gmpecm default on C154 ecm: 430/430 curves on C154, B1=250k, B2=gmpecm default, ETA: 0 sec pm1: starting B1 = 15M, B2 = gmpecm default on C154 ecm: 904/904 curves on C154, B1=1M, B2=gmpecm default, ETA: 0 sec ecm: 2350/2350 curves on C154, B1=3M, B2=gmpecm default, ETA: 0 sec ecm: 4480/4480 curves on C154, B1=11M, B2=gmpecm default, ETA: 0 sec ecm: 2453/2453 curves on C154, B1=43M, B2=gmpecm default, ETA: 0 sec nfs: commencing nfs on c154: 7481941016577287348099705569618881449446613674024887958060868042015962068162606112448282331657456711392343427317702862486293906907971066705762469196914429 nfs: searching for brent special forms... nfs: searching for homogeneous cunningham special forms... nfs: searching for XYYXF special forms... nfs: couldn't find special form nfs: commencing polynomial search over range: 8192  8442 nfs: commencing polynomial search over range: 8692  8942 nfs: commencing polynomial search over range: 8942  9192 nfs: commencing polynomial search over range: 8442  8692 nfs: commencing polynomial search over range: 9692  9942 nfs: commencing polynomial search over range: 9442  9692 nfs: commencing polynomial search over range: 10192  10442 nfs: commencing polynomial search over range: 9192  9442 nfs: commencing polynomial search over range: 10692  10942 nfs: commencing polynomial search over range: 11192  11442 nfs: commencing polynomial search over range: 11442  11692 nfs: commencing polynomial search over range: 11692  11942 nfs: commencing polynomial search over range: 11942  12192 nfs: commencing polynomial search over range: 9942  10192 nfs: commencing polynomial search over range: 10942  11192 nfs: commencing polynomial search over range: 10442  10692 deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient deadline: 8640000 CPUseconds per coefficient coeff 11760 specialq 1  15246007 other 33328  79987 Segmentation fault (core dumped) 
20200813, 14:48  #94 
"Ed Hall"
Dec 2009
Adirondack Mtns
6471_{8} Posts 
I think I failed to mention the msieve edit in my first post and this might be what's happening here. If you haven't made the msieve edit, check out post #81 and edit the appropriate file and then recompile both msieve and YAFU and see if that fixes it.

20200904, 16:44  #95 
Tribal Bullet
Oct 2004
3×1,163 Posts 
Sorry for the huge delay, fix has been committed to Msieve trunk.

20200904, 18:32  #96 
"Ed Hall"
Dec 2009
Adirondack Mtns
5×677 Posts 

20200928, 17:31  #97 
Aug 2006
Monza, Italy
2×3×11 Posts 
Hi all, Makefile currently contains the following code
Code:
# modify the following line for your particular msieve installation ifeq ($(KNC),1) LIBS += L../msieve/ else ifeq ($(COMPILER),icc) LIBS += L../msieve/lib/linux else LIBS += L../msieve/lib/linux/gcc73/ endif endif Code:
LIBS += L../msieve Last fiddled with by RedGolpe on 20200928 at 17:31 
20200928, 18:11  #98  
"Ed Hall"
Dec 2009
Adirondack Mtns
5×677 Posts 
Quote:


Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
How I Install CADONFS onto my Ubuntu Machines  EdH  EdH  3  20190624 03:42 
How I Install GMPECM onto my Ubuntu Machines  EdH  EdH  12  20190416 09:28 
How I Install msieve onto my Ubuntu Machines  EdH  EdH  0  20180223 14:43 
How I Install ggnfs onto my Ubuntu Machines  EdH  EdH  0  20180222 03:31 
How I Install GMP onto my Ubuntu Machines  EdH  EdH  0  20180221 23:48 