Skip to Content.
Sympa Menu

cado-nfs - Re: [Cado-nfs-discuss] CADO-NFS Issue - potential bug?

Subject: Discussion related to cado-nfs

List archive

Re: [Cado-nfs-discuss] CADO-NFS Issue - potential bug?


Chronological Thread 
  • From: paul zimmermann <Paul.Zimmermann@inria.fr>
  • To: Sudarshan Muralidhar <smural@seas.upenn.edu>
  • Cc: cado-nfs-discuss@lists.gforge.inria.fr
  • Subject: Re: [Cado-nfs-discuss] CADO-NFS Issue - potential bug?
  • Date: Wed, 10 Dec 2014 11:20:59 +0100
  • List-archive: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/>
  • List-id: A discussion list for Cado-NFS <cado-nfs-discuss.lists.gforge.inria.fr>

Dear Sudarshan,

> From: Sudarshan Muralidhar <smural@seas.upenn.edu>
> Date: Wed, 10 Dec 2014 10:13:05 +0000
>
> Hello,
>
> I'm using CADO-NFS to update Nadia Heninger's Factoring as a Service
> Project.
>
> When using CADO in distributed mode to factor numbers, I have no issue for
> numbers below ~100 digits. However, when I try larger digits (RSA-120, for
> example), I get failed workunits, eventually leading to an aborted job.
> My error message is listed below - does it lend any insight to something I
> may be doing wrong?
>
> Thanks,
> Sudarshan Muralidhar
>
> Error:Polynomial Selection (size optimized): Program run on node015 failed
> with exit code 134
> Error:Polynomial Selection (size optimized): Stderr output follows (stored
> in file /job10/c120.upload/c120_polyselect1_220000-224000.u2mm_t.stderr0):
> b'# Warning: this code is experimental, and not thread-safe.
> code BUG() : condition newsize == size failed in insert_hash at
> /home/cado-nfs/polyselect/auxiliary.c:3073 -- Abort
> Aborted (core dumped)
> Error:Polynomial Selection (size optimized): Exceeded maximum number of
> failed workunits, maxfailed=100

this is a known issue. The new polynomial selection code is not thread safe.
You should add tasks.polyselect.threads=1 on the cadofactor.py command line.

Best regards,
Paul Zimmermann




Archive powered by MHonArc 2.6.19+.

Top of Page