mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > EdH

Reply
 
Thread Tools
Old 2020-07-01, 21:20   #89
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

24·11·19 Posts
Default

Quote:
Originally Posted by Mr. Odd View Post
I'm using the wip version.

Interesting about the bold edit - the text in my make file looked nothing like what you quoted.

Sorry, my mistake, it was gcc-7.3.0 and my system now has gcc-9.2.1, so I mixed them up.

Eh, all's well that end's well.
B2 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.
EdH is offline   Reply With Quote
Old 2020-08-10, 15:08   #90
sivandahan7
 
Aug 2020

2 Posts
Default

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,
sivandahan7 is offline   Reply With Quote
Old 2020-08-10, 21:59   #91
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

D1016 Posts
Default

Quote:
Originally Posted by sivandahan7 View Post
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,
Thanks for the feedback. Only a couple things come to mind:

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.
EdH is offline   Reply With Quote
Old 2020-08-11, 08:15   #92
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

4448 Posts
Default

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 ini-file and make sure the GMP-ECM binary's location is set correctly.
kruoli is offline   Reply With Quote
Old 2020-08-13, 08:41   #93
sivandahan7
 
Aug 2020

216 Posts
Default

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.59078e-05,0.196092,0.299688,0.0999245,102.36,42
applying option tune_info=Intel(R) Core(TM) i7-8700T CPU @ 2.40GHz,LINUX64,7.5902e-05,0.182524,0.621489,0.0992485,108.201,2399.99


08/12/20 12:09:54 v1.35-beta @ user-virtual-machine, System/Build Info: 
Using GMP-ECM 7.0.5-dev, Powered by GMP 6.2.0
detected Intel(R) Core(TM) i7-8700T CPU @ 2.40GHz
detected L1 = 32768 bytes, L2 = 12582912 bytes, CL = 64 bytes
measured cpu frequency ~= 2399.983520
using 1 random witnesses for Rabin-Miller 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 = gmp-ecm default on C154
ecm: 30/30 curves on C154, B1=2k, B2=gmp-ecm default
ecm: 74/74 curves on C154, B1=11k, B2=gmp-ecm default
ecm: 214/214 curves on C154, B1=50k, B2=gmp-ecm default, ETA: 0 sec 
pm1: starting B1 = 3750K, B2 = gmp-ecm default on C154
ecm: 430/430 curves on C154, B1=250k, B2=gmp-ecm default, ETA: 0 sec  
pm1: starting B1 = 15M, B2 = gmp-ecm default on C154
ecm: 904/904 curves on C154, B1=1M, B2=gmp-ecm default, ETA: 0 sec   
ecm: 2350/2350 curves on C154, B1=3M, B2=gmp-ecm default, ETA: 0 sec    
ecm: 4480/4480 curves on C154, B1=11M, B2=gmp-ecm default, ETA: 0 sec    
ecm: 2453/2453 curves on C154, B1=43M, B2=gmp-ecm 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 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
deadline: 8640000 CPU-seconds per coefficient
coeff 11760 specialq 1 - 15246007 other 33328 - 79987
Segmentation fault (core dumped)
Thanks,
sivandahan7 is offline   Reply With Quote
Old 2020-08-13, 14:48   #94
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

1101000100002 Posts
Default

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.
EdH is offline   Reply With Quote
Old 2020-09-04, 16:44   #95
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

67118 Posts
Default

Sorry for the huge delay, fix has been committed to Msieve trunk.
jasonp is offline   Reply With Quote
Old 2020-09-04, 18:32   #96
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

24×11×19 Posts
Default

Quote:
Originally Posted by jasonp View Post
Sorry for the huge delay, fix has been committed to Msieve trunk.
Thanks! I'll remove the edit references from the initial post sometime soon.
EdH is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How I Install CADO-NFS onto my Ubuntu Machines EdH EdH 3 2019-06-24 03:42
How I Install GMP-ECM onto my Ubuntu Machines EdH EdH 12 2019-04-16 09:28
How I Install msieve onto my Ubuntu Machines EdH EdH 0 2018-02-23 14:43
How I Install ggnfs onto my Ubuntu Machines EdH EdH 0 2018-02-22 03:31
How I Install GMP onto my Ubuntu Machines EdH EdH 0 2018-02-21 23:48

All times are UTC. The time now is 19:29.

Fri Sep 18 19:29:42 UTC 2020 up 8 days, 16:40, 1 user, load averages: 1.64, 1.90, 2.03

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.