Subject: Discussion related to cado-nfs
List archive
- From: eric.jeancolas@free.fr
- To: Emmanuel Thomé <Emmanuel.Thome@inria.fr>
- Cc: Paul Zimmermann <Paul.Zimmermann@inria.fr>, pierrick gaudry <pierrick.gaudry@loria.fr>, cado-nfs@inria.fr
- Subject: Re: [cado-nfs] sqrt error
- Date: Tue, 27 Apr 2021 11:01:06 +0200 (CEST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=eric.jeancolas@free.fr; spf=Pass smtp.mailfrom=eric.jeancolas@free.fr; spf=None smtp.helo=postmaster@smtp4-g21.free.fr
- Ironport-hdrordr: A9a23:ok9UxKlIYwnCrsp0YZngrnPy1f/pDfMWimdD5ilNYBxZY6Wkvui2he8cyhP4zB0AMUtO9+yoEq+GXH/a6NpJ8ZAcVI3SJTXOlUmJCMVZ7YXkyyD9ACGWzINg/IppbqQWMqyMMXFUlsD/iTPIbeoI5dmc7eSBnu3ez2hgJDsaHZ1IygdiF0K7HkhuLTM2d6YRMZqH+45guT2tYh0sH7OGL1wERfWGncHBjpj8YRULbiRXnDWmqDOz9frHFAKF1Q0VSDNFzd4ZgB34uij0/L+qvf3+6jK07R6o071zmN/sjuROH9aNjM99EESVti+Qf4hqV7CPuzo4ydvfm2oCq9XHrxc+M8kb0Rq4FA3VwWqOqmyQtEdImhnf4GSVmH7y5fH+LQhKd/Zpvo5FbgDfr3MpodAU6sl29liUsJdaFnr77VvAzuLVXBJnnFfcmwtSrccviRVkIPsjQY4UiYQe+U9Pea1wZx7S2cQZEPJzFoXn7v5Qdl+WBkqp3VVS/A==
- Ironport-phdr: A9a23:HdEvyx+R1z2zUf9uWRq7ngc9DhMPi/DPJgcQr6AfoPdwSMyLwZ3uMQTl6Ol3ixeRBMOHsqMC0bOH+Pm5AiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagZ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1X4OJKvqMTV+gX9iiRw0xSdc8694IeUd0Xdu42EPtxS2vVrIPlrfNBpE99Knb23HqD8hnxnuA2rNy3BEdXsJTODj+1eZE/A/JCtuMyh3B/46aMJ8E1SuIz1+tiHKUtSlwXhR9XOPLRyJHDmPm6O/h70aHdIeATLEuMw9P08mHQoNEcNDky1tcFq6LEOSbWHq4niKLPTjNxr6Ia+LCYGABxHmYBxJd1Q4J8HvAOxJsXk+c
That sounds fine.
From my side, it's ok, and of course, I will double check my entries in the
future ;-)
Best regards
Éric
----- Mail original -----
De: "Emmanuel Thomé" <Emmanuel.Thome@inria.fr>
À: "eric jeancolas" <eric.jeancolas@free.fr>
Cc: "Paul Zimmermann" <Paul.Zimmermann@inria.fr>, "pierrick gaudry"
<pierrick.gaudry@loria.fr>, cado-nfs@inria.fr
Envoyé: Mardi 27 Avril 2021 09:36:26
Objet: Re: [cado-nfs] sqrt error
I just added a consistency check. It's there:
https://gitlab.inria.fr/cado-nfs/cado-nfs/-/merge_requests/36
The problem was that previously, the code was skipping all sorts of
checks if it found a small factor of N while trying to compute the common
mapping.
Here's now what I get when I follow the procedure that you describe:
localhost ~/NFS/cado $ ./cado-nfs.py
181570647363941951922859674104963771103015312977807439204421953197794821673476296854978179746096739603508598016332617111965534228905323443567644055007324027034168949
tasks.polyselect.import=tests/utils/buggy.poly
[...]
Error:Generate Factor Base: Program run on server failed with exit code -6
Error:Generate Factor Base: Command line was:
/home/thome/NFS/cado/build/houblon/sieve/makefb -poly
/tmp/cado.fepdhxwq/c165.poly -lim 53279688 -maxbits 14 -out
/tmp/cado.fepdhxwq/c165.roots1.gz -t 4 >
/tmp/cado.fepdhxwq/c165.makefb.stdout.1 2>
/tmp/cado.fepdhxwq/c165.makefb.stderr.1
Error:Generate Factor Base: Stderr output (last 10 lines only) follow (stored
in file /tmp/cado.fepdhxwq/c165.makefb.stderr.1):
Error:Generate Factor Base: Error, non-trivial factors (3) of N were
found while checking the poly file. This should not happen.
Error:Generate Factor Base: Error, we found no compatible mapping that
factors through the given number fields. Your poly file is most probably
wrong.
Error:Generate Factor Base: code BUG() : condition
cado_poly_check_mapping(((void *)0), poly, poly->n) failed in
cado_poly_set_plist at /home/thome/NFS/cado/utils/cado_poly.c:128 -- Abort
Error:Generate Factor Base:
Traceback (most recent call last):
File "/home/thome/NFS/cado/./cado-nfs.py", line 122, in <module>
factors = factorjob.run()
File "./scripts/cadofactor/cadotask.py", line 6131, in run
last_status = task.run()
File "./scripts/cadofactor/cadotask.py", line 3009, in run
raise Exception("Program failed")
Exception: Program failed
Yes, there are two distinct errors. In my opinion, both are a good reason
to abort the computation.
E.
On Tue, Apr 27, 2021 at 06:41:36AM +0200, eric.jeancolas@free.fr wrote:
> Dear Paul
>
> I explain here what I did to test, to be sure I did what you expect.
> I downloaded a new version of cado-nfs from
> https://gitlab.inria.fr/cado-nfs/cado-nfs/-/commits/7694b91283f11131ec54fe19c7d3ff8cdf8b97ad/
> On my conputer, I erased previous cado directories, and I made a tar on
> cado-nfs-7694b91283f11131ec54fe19c7d3ff8cdf8b97ad.tar.gz and a make.
> I issued the following command: ./cado-nfs.py
> 181570647363941951922859674104963771103015312977807439204421953197794821673476296854978179746096739603508598016332617111965534228905323443567644055007324027034168949
> tasks.polyselect.import=18888_164.poly
>
> The contents of 18888_164.poly is:
> n:
> 181570647363941951922859674104963771103015312977807439204421953197794821673476296854978179746096739603508598016332617111965534228905323443567644055007324027034168949
> skew: 1.36
> type: snfs
> c0: -80
> c5: 17
> Y0: 1000000000000000000000000000000000
> Y1: -1
> # f(x) = 17*x^5-80
> # g(x) = -x+1000000000000000000000000000000000
>
> I reached the following steps:
> Info:Generate Factor Base: Starting
> Info:Generate Factor Base: Finished
> Info:Generate Factor Base: Total cpu/real time for makefb: 22.1/19.6028
> Info:Generate Free Relations: Starting
> Info:Generate Free Relations: Found 1410662 free relations
> Info:Generate Free Relations: Finished
> Info:Generate Free Relations: Total cpu/real time for freerel:
> 462.44/319.124
> Info:Lattice Sieving: Starting
> Info:Lattice Sieving: We want 63458945 relation(s)
> Info:Lattice Sieving: Adding workunit c165_sieving_30592187-30595000 to
> database
> Info:Lattice Sieving: Adding workunit c165_sieving_30595000-30600000 to
> database
>
> When I have a mismatch on a number, I don't reach Lattice Sieving.
>
> So I stopped the process (Ctrl+C) just after that.
>
> Just to recall here: the number
> 181570647363941951922859674104963771103015312977807439204421953197794821673476296854978179746096739603508598016332617111965534228905323443567644055007324027034168949
> has been erroneously generated after some star removals.
> The number to be factorized is 18888_164 = (17*10^164-8)/9 =
> (17*(10^33)^5-80)/90 =
> 181*5706473639419519*22859674104963771103015312977807439204421953197794821673476296854978179746096739603508598016332617111965534228905323443567644055007324027034168949
> ( and eventually =
> 181*5706473639419519*7159052365561448148227529365476870909708139900919265573*3193114526571981969989829734950032818678374603944682479503444963111309977900602192542410513
> )
> The snfs polynomial has been generated accordingly.
>
> Can you reproduce the problem, or is it related to my installation?
>
> Best regards.
>
> Eric
>
>
> ----- Mail original -----
> De: "Paul Zimmermann" <Paul.Zimmermann@inria.fr>
> À: "eric jeancolas" <eric.jeancolas@free.fr>
> Cc: "pierrick gaudry" <pierrick.gaudry@loria.fr>, cado-nfs@inria.fr
> Envoyé: Lundi 26 Avril 2021 14:51:07
> Objet: Re: [cado-nfs] sqrt error
>
> Dear Eric,
>
> are you sure you used the exact revision I mention below (git co 7694b91)?
> I had to revert my commit later since it broke some tests.
>
> Paul
>
> > Date: Mon, 26 Apr 2021 13:18:12 +0200 (CEST)
> > From: eric.jeancolas@free.fr
> > Cc: pierrick gaudry <pierrick.gaudry@loria.fr>, cado-nfs@inria.fr
> >
> > Dear Paul,
> > I reinstalled cado and fiel timestamps are 26/04/2021 11:19.
> > The problem is still the same, the number is not viewed as an error
> > before sieving is starting.
> > Best regards.
> > Eric
> >
> > ----- Mail original -----
> > De: "Paul Zimmermann" <Paul.Zimmermann@inria.fr>
> > À: "eric jeancolas" <eric.jeancolas@free.fr>
> > Cc: "pierrick gaudry" <pierrick.gaudry@loria.fr>, cado-nfs@inria.fr
> > Envoyé: Lundi 26 Avril 2021 09:04:19
> > Objet: Re: [cado-nfs] sqrt error
> >
> > Dear Eric,
> >
> > please try the latest commit (7694b91) and please confirm it gives an
> > error
> > during the first check process.
> >
> > Best regards,
> > Paul
- [cado-nfs] sqrt error, eric . jeancolas, 04/26/2021
- Re: [cado-nfs] sqrt error, Pierrick Gaudry, 04/26/2021
- Re: [cado-nfs] sqrt error, eric . jeancolas, 04/26/2021
- Re: [cado-nfs] sqrt error, eric . jeancolas, 04/26/2021
- Re: [cado-nfs] sqrt error, Paul Zimmermann, 04/26/2021
- Re: [cado-nfs] sqrt error, eric . jeancolas, 04/26/2021
- Re: [cado-nfs] sqrt error, Paul Zimmermann, 04/26/2021
- Re: [cado-nfs] sqrt error, eric . jeancolas, 04/27/2021
- Re: [cado-nfs] sqrt error, Paul Zimmermann, 04/27/2021
- Re: [cado-nfs] sqrt error, Emmanuel Thomé, 04/27/2021
- Re: [cado-nfs] sqrt error, eric . jeancolas, 04/27/2021
- Re: [cado-nfs] sqrt error, eric . jeancolas, 04/27/2021
- Re: [cado-nfs] sqrt error, Paul Zimmermann, 04/26/2021
- Re: [cado-nfs] sqrt error, eric . jeancolas, 04/26/2021
- Re: [cado-nfs] sqrt error, Paul Zimmermann, 04/26/2021
- Re: [cado-nfs] sqrt error, Pierrick Gaudry, 04/26/2021
Archive powered by MHonArc 2.6.19+.