mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   EdH (https://www.mersenneforum.org/forumdisplay.php?f=152)
-   -   How I install YAFU onto my Ubuntu Machines (https://www.mersenneforum.org/showthread.php?t=23087)

EdH 2019-09-05 14:27

Hi Michael,

It looks like you didn't include NO_ZLIB=1 in your msieve compilation. YAFU doesn't recognize the ZLIB calls.

Try going back to your msieve directory and issue the following:
[code]
make clean
make all ECM=1 NO_ZLIB=1 <any other switches>
[/code]Ed

dizzyneuron 2019-09-05 16:26

Hello Ed

Thank you, sorry I missed that instruction but all went well. Only issue seems to be with ./yafu "tune" it gives me a segmentation fault. But so far does not seem to cause problems. Thanks again for help your instructions helped alot to get all installed. Take care.

Cheers, Michael

EdH 2019-09-06 03:38

Hi Michael,


A segmentation fault means something crashed. You probably need to track that down. bsquared's help may be needed. Can you tell what operation happened when the fault occurred? SIQS/NFS?


Ed

dizzyneuron 2019-09-06 19:31

Hello Ed

This what I get -

Setting THREADS = 1 for tuning

starting SIQS on c60: 349594255864176572614071853194924838158088864370890996447417

==== sieving in progress (1 thread): 3568 relations needed ====
==== Press ctrl-c to abort and save state ====
1028 rels found: 702 full + 326 from 7135 partial, (9630.79 rels/sec)
Max specified relations found

sieve time = 0.0000, relation time = 0.0000, poly_time = 0.0000
trial division touched 145298 sieve locations out of 1618477056


elapsed time for ~10k relations of c60 = 1.1925 seconds.
extrapolated time for complete factorization = 1.7780 seconds

starting SIQS on c65: 34053408309992030649212497354061832056920539397279047809781589871

==== sieving in progress (1 thread): 6448 relations needed ====
==== Press ctrl-c to abort and save state ====
Segmentation fault

Thank you.

Cheers, Michael

EdH 2019-09-06 23:10

Hi Michael,

It looks like SIQS is what crashed. I'm going to have to defer any thoughts to bsquared. Hopefully he'll catch the posts.

I guess the only other thing I might try would be recompiling msieve and YAFU.

Sorry I can't be of more help.

Ed

dizzyneuron 2019-09-07 20:24

Hello Ed

You have been a great help, I will try to recompile and hope. Take care.

Cheers, Michael

EdH 2019-09-07 21:51

[QUOTE=dizzyneuron;525409]Hello Ed

You have been a great help, I will try to recompile and hope. Take care.

Cheers, Michael[/QUOTE]
Hi Michael,

Keep me posted - good luck with it.

Ed

bsquared 2019-09-09 00:36

[QUOTE=dizzyneuron;525353]Hello Ed

This what I get -

Setting THREADS = 1 for tuning

starting SIQS on c60: 349594255864176572614071853194924838158088864370890996447417

==== sieving in progress (1 thread): 3568 relations needed ====
==== Press ctrl-c to abort and save state ====
1028 rels found: 702 full + 326 from 7135 partial, (9630.79 rels/sec)
Max specified relations found

sieve time = 0.0000, relation time = 0.0000, poly_time = 0.0000
trial division touched 145298 sieve locations out of 1618477056


elapsed time for ~10k relations of c60 = 1.1925 seconds.
extrapolated time for complete factorization = 1.7780 seconds

starting SIQS on c65: 34053408309992030649212497354061832056920539397279047809781589871

==== sieving in progress (1 thread): 6448 relations needed ====
==== Press ctrl-c to abort and save state ====
Segmentation fault

Thank you.

Cheers, Michael[/QUOTE]

Does it also crash if you try to factor this normally or just during tune?

dizzyneuron 2019-09-09 12:40

Hello

Seems to fail with factor to -

09/09/19 08:36:57 v1.34.5 @ dizzyneuron, System/Build Info:
Using GMP-ECM 7.0.4, Powered by GMP 6.1.2
detected Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
detected L1 = 32768 bytes, L2 = 8388608 bytes, CL = 64 bytes
measured cpu frequency ~= 2303.993260
using 1 random witnesses for Rabin-Miller PRP checks

===============================================================
======= Welcome to YAFU (Yet Another Factoring Utility) =======
======= bbuhrow at gmail.com =======
======= Type help at any time, or quit to quit =======
===============================================================
cached 78498 primes. pmax = 999983


>> factor(34053408309992030649212497354061832056920539397279047809781589871)

fac: factoring 34053408309992030649212497354061832056920539397279047809781589871
fac: using pretesting plan: normal
fac: no tune info: using qs/gnfs crossover of 95 digits

starting SIQS on c65: 34053408309992030649212497354061832056920539397279047809781589871

==== sieving in progress ( 8 threads): 6448 relations needed ====
==== Press ctrl-c to abort and save state ====
Segmentation fault

Hope this helps. Thank youfor your help.

Cheers, Michael

dizzyneuron 2019-09-10 17:55

Hello Ed/Ben

Looks like all is working now. Reread all post and did a make clean and then just used make x86_64 NFS=1, other flags show in cpu_info but am guessing they cause issues, cannot be sure may experimet more later. Thank both of you again for your help, funny brain still has issues with everyday things but math, with alot of stickies still makes my day. Take care.

Cheers, Michael

Ferrier 2019-10-24 16:04

[QUOTE=dizzyneuron;525571]Hello

Seems to fail with factor to -

09/09/19 08:36:57 v1.34.5 @ dizzyneuron, System/Build Info:
Using GMP-ECM 7.0.4, Powered by GMP 6.1.2
detected Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
detected L1 = 32768 bytes, L2 = 8388608 bytes, CL = 64 bytes
measured cpu frequency ~= 2303.993260
using 1 random witnesses for Rabin-Miller PRP checks

===============================================================
======= Welcome to YAFU (Yet Another Factoring Utility) =======
======= bbuhrow at gmail.com =======
======= Type help at any time, or quit to quit =======
===============================================================
cached 78498 primes. pmax = 999983


>> factor(34053408309992030649212497354061832056920539397279047809781589871)

fac: factoring 34053408309992030649212497354061832056920539397279047809781589871
fac: using pretesting plan: normal
fac: no tune info: using qs/gnfs crossover of 95 digits

starting SIQS on c65: 34053408309992030649212497354061832056920539397279047809781589871

==== sieving in progress ( 8 threads): 6448 relations needed ====
==== Press ctrl-c to abort and save state ====
Segmentation fault

Hope this helps. Thank youfor your help.

Cheers, Michael[/QUOTE]

Had almost the same issue after compiling the [B]trunk[/B] version.
Both in `./yafu "tune"` and normal factoring like `./yafu <a 70digits number>`


Though the EdH's compilation seems fine at #13...


All times are UTC. The time now is 05:48.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.