20200930, 13:38  #1 
"Ed Hall"
Dec 2009
Adirondack Mtns
2·7·263 Posts 
Trouble updating to most recent wip (and sigma question)
I started out with the below question about sigma(), but I decided to make sure I had the latest and greatest ("Updated to revision 390.") and now I get:
Code:
$ ./yafu Segmentation fault (core dumped) Code:
$ ./yafu "sigma(951452727946218710,1)951452727946218710" Segmentation fault (core dumped) Code:
09/30/20 08:21:01 v1.35beta @ math99, System/Build Info: Using GMPECM 7.0.5dev, Powered by GMP 6.2.0 detected Intel(R) Xeon(R) CPU E52620 v2 @ 2.10GHz detected L1 = 32768 bytes, L2 = 15728640 bytes, CL = 64 bytes =================================== Original question while YAFU was working: Is there a way to get just the result from a command line invocation of sigma()? silent appears to only suppress empty lines. With silent Code:
$ ./yafu "sigma(951452727946218710,1)951452727946218710" silent applying option threads=24 applying option aprcl_p=500 applying option aprcl_d=200 applying option ggnfs_dir=/home/math99/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) CPU E52620 v2 @ 2.10GHz,LINUX64,3.79646e05,0.193141,0.547899,0.0979439,100.603,2094.92 769573579531517290 Code:
$ ./yafu "sigma(951452727946218710,1)951452727946218710" applying option threads=24 applying option aprcl_p=500 applying option aprcl_d=200 applying option ggnfs_dir=/home/math99/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) CPU E52620 v2 @ 2.10GHz,LINUX64,3.79646e05,0.193141,0.547899,0.0979439,100.603,2094.92 769573579531517290 factor.log: Code:
09/30/20 08:27:48 v1.35beta @ math99, 09/30/20 08:27:48 v1.35beta @ math99, **************************** 09/30/20 08:27:48 v1.35beta @ math99, Starting factorization of 951452727946218710 09/30/20 08:27:48 v1.35beta @ math99, using pretesting plan: normal 09/30/20 08:27:48 v1.35beta @ math99, using tune info for qs/gnfs crossover 09/30/20 08:27:48 v1.35beta @ math99, **************************** 09/30/20 08:27:48 v1.35beta @ math99, div: found prime factor = 2 09/30/20 08:27:48 v1.35beta @ math99, div: found prime factor = 5 09/30/20 08:27:48 v1.35beta @ math99, div: found prime factor = 349 09/30/20 08:27:48 v1.35beta @ math99, div: found prime factor = 491 09/30/20 08:27:48 v1.35beta @ math99, Fermat method found factors: 09/30/20 08:27:48 v1.35beta @ math99, prp7 = 1660261 09/30/20 08:27:48 v1.35beta @ math99, prp6 = 334429 09/30/20 08:27:48 v1.35beta @ math99, Total factoring time = 0.0072 seconds Code:
09/30/20 08:27:48 v1.35beta @ math99, System/Build Info: 09/30/20 08:27:48 v1.35beta @ math99, cached 664579 primes. pmax = 9999991 09/30/20 08:27:48 v1.35beta @ math99, detected Intel(R) Xeon(R) CPU E52620 v2 @ 2.10GHz detected L1 = 32768 bytes, L2 = 15728640 bytes, CL = 64 bytes 09/30/20 08:27:48 v1.35beta @ math99, measured cpu frequency ~= 2094.922920 09/30/20 08:27:48 v1.35beta @ math99, using 1 random witnesses for RabinMiller PRP checks 09/30/20 08:27:48 v1.35beta @ math99, New random seeds: 2719837668, 2882061925 09/30/20 08:27:48 v1.35beta @ math99, Processing: sigma(951452727946218710,1)951452727946218710 09/30/20 08:27:48 v1.35beta @ math99, Result : 
20200930, 14:49  #2 
"Ben"
Feb 2007
41·83 Posts 
As usual, thanks for your diligent usage and testing. You can try r392 now.
I've tested a few of the basics with 1) NFS=1 USE_AVX2=1 USE_BMI2=1 SKYLAKEX=1 2) NFS=1 USE_AVX2=1 3) NFS=1 USE_SSE41=1 with both gcc 7.3.0 and icc on linux. No crashes so far. Sigma (indeed, any command), will now return a result into session.log. The .ini initialization is now quieter by default as well. 
20200930, 15:18  #3  
"Ed Hall"
Dec 2009
Adirondack Mtns
E62_{16} Posts 
Quote:


20200930, 15:21  #4 
"Ben"
Feb 2007
41×83 Posts 

20200930, 15:31  #5 
"Ed Hall"
Dec 2009
Adirondack Mtns
111001100010_{2} Posts 

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
what does sigma mean in ECM?  bbb120  GMPECM  7  20210126 16:18 
sigma(n)=x*(x+1)^3  enzocreti  enzocreti  3  20200929 12:12 
Sigma parameter in ecm  storm5510  Information & Answers  4  20191130 21:32 
PRP vs. LL (was: Changes to Recent Cleared and Recent Results)  petrw1  PrimeNet  32  20190409 10:44 
Iteration of (sigma(n)+phi(n))/2  sean  Factoring  2  20170918 15:39 