mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > CADO-NFS

Reply
 
Thread Tools
Old 2019-10-23, 19:41   #430
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

381710 Posts
Default

Actually, is the git version I normally use,
Code:
https://scm.gforge.inria.fr/anonscm/git/cado-nfs/cado-nfs.git
the development branch, or is it the latest release? And, is there a download area for older versions, maybe something like the revision system for subversion? I had to grab a local directory from a working machine and recompile. That one is probably quite old.
EdH is offline   Reply With Quote
Old 2019-10-24, 04:49   #431
Dylan14
 
Dylan14's Avatar
 
"Dylan"
Mar 2017

24316 Posts
Default

Quote:
Originally Posted by EdH View Post
Actually, is the git version I normally use,
Code:
https://scm.gforge.inria.fr/anonscm/git/cado-nfs/cado-nfs.git
the development branch, or is it the latest release? And, is there a download area for older versions, maybe something like the revision system for subversion? I had to grab a local directory from a working machine and recompile. That one is probably quite old.

The git version that you use is the development version. Older versions are available here:
http://cado-nfs.gforge.inria.fr/download.html
Do note, the latest non-development version is over 2 years old at this point, so it is likely to be slower than the current version in the repository.
Dylan14 is offline   Reply With Quote
Old 2019-10-24, 14:05   #432
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

EE916 Posts
Default

Quote:
Originally Posted by Dylan14 View Post
. . .
Do note, the latest non-development version is over 2 years old at this point, so it is likely to be slower than the current version in the repository.
The version I'm running is an earlier git version, but I don't know how early.

Since the current git download won't compile (see earlier post), I was hoping there was a way to d/l an earlier revision to the git clone, like with subversion.

Thanks much!

Last fiddled with by EdH on 2019-10-24 at 14:06
EdH is offline   Reply With Quote
Old 2019-10-24, 15:42   #433
Nooks
 
Jul 2018

100112 Posts
Default

Run "git checkout <commit>" where commit is the hash of an earlier commit. You can find earlier commits by looking at the output of "git log":

Code:
commit 15143a94f3eb2cea193c838bb4e3a1885757767e
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Oct 7 08:45:42 2019 +0200

    typo

commit ea1c46714c526341905eca37572595bfc78dc51d (get_arg_max)
Author: Alexander Kruppa <akruppa@gmail.com>
Date:   Fri Oct 4 20:16:43 2019 +0200

    Bugfix: one Newton iteration was missing in u64arith_invmod()
Running "git checkout 15143a94f3eb2cea193c838bb4e3a1885757767e" (or some shorter prefix of that SHA checksum) will set your checkout to that point in the revision history. "git diff 15143a" will show the differences between what's currently checked out and that commit (note that I've used the short form of the commit name).

The command you want to find the change that causes your build failure is "git bisect", which helps you perform a binary search through the git commit history to find the bad change, assuming that there is one.
Nooks is offline   Reply With Quote
Old 2019-10-25, 00:16   #434
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

1110111010012 Posts
Default

Quote:
Originally Posted by Nooks View Post
Run "git checkout <commit>" where commit is the hash of an earlier commit. You can find earlier commits by looking at the output of "git log":

Code:
commit 15143a94f3eb2cea193c838bb4e3a1885757767e
Author: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date:   Mon Oct 7 08:45:42 2019 +0200

    typo

commit ea1c46714c526341905eca37572595bfc78dc51d (get_arg_max)
Author: Alexander Kruppa <akruppa@gmail.com>
Date:   Fri Oct 4 20:16:43 2019 +0200

    Bugfix: one Newton iteration was missing in u64arith_invmod()
Running "git checkout 15143a94f3eb2cea193c838bb4e3a1885757767e" (or some shorter prefix of that SHA checksum) will set your checkout to that point in the revision history. "git diff 15143a" will show the differences between what's currently checked out and that commit (note that I've used the short form of the commit name).

The command you want to find the change that causes your build failure is "git bisect", which helps you perform a binary search through the git commit history to find the bad change, assuming that there is one.
Excellent! Thank you! After I recover from an extended power outage** I'll have to check this info out and learn more about the git workings.

**Had to disconnect the server and transfer the /tmp/cado* directory before restarting when the power came back. I know, I need to use a different working directory, but for some reason that failed when I last tried it. . .
EdH is offline   Reply With Quote
Old 2019-10-26, 00:51   #435
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11×347 Posts
Default

Well, the current git version just won't compile with my Q8400 Core2 Quads. It appears to compile otherwise. . .
EdH is offline   Reply With Quote
Old 2019-10-26, 02:34   #436
Happy5214
 
Happy5214's Avatar
 
"Alexander"
Nov 2008
The Alamo City

24·43 Posts
Default

Quote:
Originally Posted by EdH View Post
Well, the current git version just won't compile with my Q8400 Core2 Quads. It appears to compile otherwise. . .

Core 2 Quad Q8400? I didn't think anyone here (other than myself) used CPUs that old. My primary computer has a Q8300. I'm too cheap to buy a new machine.
Happy5214 is offline   Reply With Quote
Old 2019-10-26, 03:15   #437
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

381710 Posts
Default

Quote:
Originally Posted by Happy5214 View Post
Core 2 Quad Q8400? I didn't think anyone here (other than myself) used CPUs that old. My primary computer has a Q8300. I'm too cheap to buy a new machine.
I do have some ancient hardware. I did retire the Pentium 4s a little while back. The Q8400s do run a slightly older version of CADO-NFS, though.
EdH is offline   Reply With Quote
Old 2019-10-31, 14:02   #438
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

I'm getting hit by frequent power outages. I have a parallel machine running with my CADO-NFS server doing some msieve testing, so it captures the relations files to another machine and runs msieve LA in parallel, if possible.

This last power outage destroyed the CADO-NFS directory during CADO-NFS LA. Msieve won't do LA on the saved relations. There is no snapshot file. (They haven't worked for me after a power outage, anyway.)

I don't remember how to start CADO-NFS at the filtering stage. Can someone refresh my memory as to how to pick up CADO-NFS at the end of relations gathering?

Thanks!

I found the README with the info I was looking for to try to build a restart. . .

Last fiddled with by EdH on 2019-10-31 at 14:46
EdH is offline   Reply With Quote
Old 2019-10-31, 17:42   #439
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

Quote:
Originally Posted by EdH View Post
. . .
I found the README with the info I was looking for to try to build a restart. . .
In case there is interest, I could not get CADO-NFS to correctly accept the 8.0 GB of relations it had produced. It kept telling me there were only 14k of over 60M. I had to create a modified poly file and manually run some sieving to add a few thousand relations to the existing ones in order for msieve to create a matrix. msieve LA is now counting down. CADO-NFS has been retasked. . .
EdH is offline   Reply With Quote
Old 2019-12-03, 16:54   #440
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11×347 Posts
Default

I hadn't really given it much thought as I was tied up for the Thanksgiving time frame, but this current Homogeneous Cunningham Number (5-2,395) is kicking my . . . I knew it would be a bit rough as a quartic, but it has been much more troublesome than I expected. After ten plus days, it is still running krylov. It stepped itself up to over 150M relations prior to that, and msieve wouldn't even build a matrix with those:
Code:
Wed Nov 27 15:42:07 2019  found 43148403 hash collisions in 150481636 relations
Wed Nov 27 15:42:17 2019  added 3657731 free relations
Wed Nov 27 15:42:17 2019  commencing duplicate removal, pass 2
Wed Nov 27 15:45:40 2019  found 58197613 duplicates and 95941754 unique relations
Wed Nov 27 15:45:40 2019  memory use: 852.8 MB
Wed Nov 27 15:45:40 2019  reading ideals above 104267776
Wed Nov 27 15:45:40 2019  commencing singleton removal, initial pass
Wed Nov 27 15:54:06 2019  memory use: 2756.0 MB
Wed Nov 27 15:54:06 2019  reading all ideals from disk
Wed Nov 27 15:54:07 2019  memory use: 1781.1 MB
Wed Nov 27 15:54:11 2019  commencing in-memory singleton removal
Wed Nov 27 15:54:14 2019  begin with 95941754 relations and 89951500 unique ideals
Wed Nov 27 15:54:53 2019  reduce to 48565925 relations and 36703205 ideals in 19 passes
Wed Nov 27 15:54:53 2019  max relations containing the same ideal: 28
Wed Nov 27 15:54:55 2019  reading ideals above 720000
Wed Nov 27 15:54:55 2019  commencing singleton removal, initial pass
Wed Nov 27 16:01:22 2019  memory use: 1378.0 MB
Wed Nov 27 16:01:22 2019  reading all ideals from disk
Wed Nov 27 16:01:23 2019  memory use: 1846.4 MB
Wed Nov 27 16:01:28 2019  keeping 48438181 ideals with weight <= 200, target excess is 250010
Wed Nov 27 16:01:32 2019  commencing in-memory singleton removal
Wed Nov 27 16:01:37 2019  begin with 48565925 relations and 48438181 unique ideals
Wed Nov 27 16:02:34 2019  reduce to 48463653 relations and 48333630 ideals in 14 passes
Wed Nov 27 16:02:34 2019  max relations containing the same ideal: 200
Wed Nov 27 16:02:38 2019  filtering wants 1000000 more relations
Did I just have bad luck, or was the polynomial a truly poor one?
Code:
n: 15511640641470902861412193110950053902622414575896230622010872491557176010272780951376514004554647568057529677786967709412454141325321707454094419046730623511926783273119854156313082841
skew: 1.0000
c4: 1
c3: 1
c2: 1
c1: 1
c0: 1
Y1: -604462909807314587353088
Y0: 16543612251060553497428173841399257071316242218017578125
EdH is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
CADO-NFS on windows jux CADO-NFS 25 2021-07-13 23:53
CADO help henryzz CADO-NFS 4 2017-11-20 15:14
CADO and WinBlows akruppa Programming 22 2015-12-31 08:37
CADO-NFS skan Information & Answers 1 2013-10-22 07:00
CADO R.D. Silverman Factoring 4 2008-11-06 12:35

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


Fri Jul 16 20:19:49 UTC 2021 up 49 days, 18:07, 1 user, load averages: 1.89, 1.99, 2.10

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