- **YAFU**
(*https://www.mersenneforum.org/forumdisplay.php?f=96*)

- - **Trouble updating to most recent wip (and sigma question)**
(*https://www.mersenneforum.org/showthread.php?t=26022*)

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]or: [code] $ ./yafu "sigma(951452727946218710,1)-951452727946218710" Segmentation fault (core dumped) [/code]Header from previous (working) YAFU version: [code] 09/30/20 08:21:01 v1.35-beta @ math99, System/Build Info: Using GMP-ECM 7.0.5-dev, Powered by GMP 6.2.0 detected Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz detected L1 = 32768 bytes, L2 = 15728640 bytes, CL = 64 bytes [/code]I tried earlier revisions and 388 and below work, while 389 and 390 crash. =================================== 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 E5-2620 v2 @ 2.10GHz,LINUX64,3.79646e-05,0.193141,0.547899,0.0979439,100.603,2094.92 769573579531517290 [/code]Without -silent: [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 E5-2620 v2 @ 2.10GHz,LINUX64,3.79646e-05,0.193141,0.547899,0.0979439,100.603,2094.92 769573579531517290 [/code]The result isn't returned in either factor.log (not really expected), or session log (expected): factor.log: [code] 09/30/20 08:27:48 v1.35-beta @ math99, 09/30/20 08:27:48 v1.35-beta @ math99, **************************** 09/30/20 08:27:48 v1.35-beta @ math99, Starting factorization of 951452727946218710 09/30/20 08:27:48 v1.35-beta @ math99, using pretesting plan: normal 09/30/20 08:27:48 v1.35-beta @ math99, using tune info for qs/gnfs crossover 09/30/20 08:27:48 v1.35-beta @ math99, **************************** 09/30/20 08:27:48 v1.35-beta @ math99, div: found prime factor = 2 09/30/20 08:27:48 v1.35-beta @ math99, div: found prime factor = 5 09/30/20 08:27:48 v1.35-beta @ math99, div: found prime factor = 349 09/30/20 08:27:48 v1.35-beta @ math99, div: found prime factor = 491 09/30/20 08:27:48 v1.35-beta @ math99, Fermat method found factors: 09/30/20 08:27:48 v1.35-beta @ math99, prp7 = 1660261 09/30/20 08:27:48 v1.35-beta @ math99, prp6 = 334429 09/30/20 08:27:48 v1.35-beta @ math99, Total factoring time = 0.0072 seconds [/code]session.log appears to just tease: [code] 09/30/20 08:27:48 v1.35-beta @ math99, System/Build Info: 09/30/20 08:27:48 v1.35-beta @ math99, cached 664579 primes. pmax = 9999991 09/30/20 08:27:48 v1.35-beta @ math99, detected Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz detected L1 = 32768 bytes, L2 = 15728640 bytes, CL = 64 bytes 09/30/20 08:27:48 v1.35-beta @ math99, measured cpu frequency ~= 2094.922920 09/30/20 08:27:48 v1.35-beta @ math99, using 1 random witnesses for Rabin-Miller PRP checks 09/30/20 08:27:48 v1.35-beta @ math99, New random seeds: 2719837668, 2882061925 09/30/20 08:27:48 v1.35-beta @ math99, Processing: sigma(951452727946218710,1)-951452727946218710 09/30/20 08:27:48 v1.35-beta @ math99, Result : [/code]Thanks for any help! |

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. |

[QUOTE=bsquared;558365]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.[/QUOTE] Thanks much! It is now returning the result in session.log, but I'm only getting r391 and still seeing all the initialization. |

[QUOTE=EdH;558369]Thanks much! It is now returning the result in session.log, but I'm only getting r391 and still seeing all the initialization.[/QUOTE]
Oops, forgot to commit that - should be there now. |

[QUOTE=bsquared;558370]Oops, forgot to commit that - should be there now.[/QUOTE]
Excellent! Thanks much! |

All times are UTC. The time now is 23:07. |

Powered by vBulletin® Version 3.8.11

Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.