Subject: Discussion related to cado-nfs
List archive
- From: Robert Balfour <rhb11931@gmail.com>
- To: Pierrick Gaudry <pierrick.gaudry@loria.fr>, cado-nfs@inria.fr
- Subject: Re: [cado-nfs] dup1 bug when processing over 2^26 relations
- Date: Thu, 5 Aug 2021 19:20:29 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=rhb11931@gmail.com; spf=Pass smtp.mailfrom=rhb11931@gmail.com; spf=None smtp.helo=postmaster@mail-yb1-f180.google.com
- Ironport-hdrordr: A9a23:yizm+aAsInK+OqDlHemV55DYdb4zR+YMi2TDtnoBMCC9F/bzqynApoV/6faZskdyZJhko6HiBEDiexLhHPxOkO0s1N6ZNWGMhILrFuFfBODZslrd8kPFh4hgPGRbH5SWyuecMbG3t6nHCcCDfeod/A==
- Ironport-phdr: A9a23:Es6o+Be5luznZ+3oPHkc5I+alGM+YN7LVj580XLHo4xHfqnrxZn+JkuXvawr0AWRG9uKoKMfw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94PPbwlShTewZbx+IRG4oA7MqsQYnIxuJ7orxBDUuHVIYeNWxW1pJVKXgRnx49q78YBg/SpNpf8v7tZMXqrmcas2S7xYFykmPHsu5ML3rxnDTBCA6WUaX24LjxdHGQnF7BX9Xpfsriv3s/d21SeGMcHqS70/RC+v5Ll3RhD2lCgHNiY58GDJhcx2kKJbuw+qqxhmz4LJfI2ZKP9yc6XAdt0YWGVBRN5cWCNPAoy+b4UBAekPM/tGoYbhvFYBtweyCBO2Ce/z1jNFhHn71rA63eQ7FgHG2RQtEc4JsHvPstr1LrsSWv2owabSyTXDYfRW2Srn6IPVdR0hu/GMUqltfcbMzUQiGR7Jg06fqYzgJTyV1+ANv3KH4OpnUOKikmgqoBx+rTaz3MkjkJXJhp4LxVDe8yV02Jg4KN+3RkB1fdOpDIdduSGUOYZ4TM4vQ39ltSInxrAGuZC1cioHxps6yxPRdvCKbZSF7BL9WOuVITp1hm5pdry5ih2v8kag0vXxWteo3FtOtCZIkdnBumoT2xDO7sWLUOZx80S91TuJygvd8PtLIVoumqreM5MhwqA/lp4UsUnbGy/5gkT2jKuPekQk4eek9v3rYrv7qpKfK4N4kA7+MqMpmsywBeQ3LBICUHSc+eS5zLHj/Ev5T6tWjvAujKXVrJTXKd4Yq6O5GQNZzJsv5hKlAzu709kUgWELLFdfdxKGi4jpNUvOIPf9DfqnmVSskCxky+3bMrDlDJjBM2POkLjkfbln6k5czBA/wsxY55JREr0BOu78WlfttNzECR80KxC7zPz6B9V6z48eX2yPArSCPaPJsV6I4/ovLPOWaI8Uvjb9Mfkl6OT0gX83g19ONZWuiKMWZWqiH/9la2qQfHb2k59VCWYHpBA/R++sh1SfXSRCT3K1RaM1oD8hXsbuBo7PQcWrjqep3SGhH5QQaHoVJEqLFCLScI+JQetEQiuWLMh8iHRQT7irEtZwjkiGuwrzyr4hJe3RrH5L/an/3cR4srWA3So58iZ5WoHEiznlp4RckWYBRjtw16d68xQVIrir3q1xgvgeHttWtaohuuYSMJfdy6lrAYm3VFuRJpGGT1GpRtjgCjY0HIpZ/g==
Dear Pierrick,
Looks to be fixed now. Thank you!
Best regards,
Robert
On Thu, Aug 5, 2021 at 4:27 PM Pierrick Gaudry <pierrick.gaudry@loria.fr> wrote:
Hi Robert,
I've pushed a fix (commit e140378940c). Can you give it a try ?
Regards,
Pierrick
On Thu, Aug 05, 2021 at 02:01:18PM +0100, Robert Balfour wrote:
> Dear Paul et al,
>
> Any progress on finding the source of this bug?
>
> Best regards,
> Robert
>
> On Mon, Jul 26, 2021 at 3:32 PM Paul Zimmermann <Paul.Zimmermann@inria.fr>
> wrote:
>
> > Hi,
> >
> > I am able to reproduce the issue. It seems to happen since the following
> > commit:
> >
> > commit c3079ff3ce67dd801915dbd335b210e8570bea68
> > Author: Emmanuel Thomé <Emmanuel.Thome@inria.fr>
> > Date: Sat Apr 3 15:58:22 2021 +0200
> >
> > fopen_maybe_compressed: always use a temp file when writing
> >
> > Emmanuel, do you have any clue?
> >
> > Paul
> >
> > > From: Robert Balfour <rhb11931@gmail.com>
> > > Date: Mon, 26 Jul 2021 03:06:11 +0100
> > >
> > >
> > > [1:multipart/alternative Hide]
> > >
> > >
> > > [1/1:text/plain Show]
> > >
> > >
> > > [1/2:text/html Hide Save:noname (3kB)]
> > >
> > > Dear all,
> > >
> > > In recent revisions of CADO (revision 4ef6307d and the latest revision)
> > I am
> > > seeing a bug, on at least some numbers, when dup1 tries to process more
> > than
> > > 2^26 = 67108864 relations. dup1.stdout.1 ends abruptly with
> > >
> > > # Read 67108864 relations in 135.7s -- 62.5 MB/s -- 494715.5 rels/s
> > >
> > > while dup1.stderr.1 ends with the following:
> > >
> > > code BUG() : condition rc == 0 failed in split_iter_open_next_file at
> > > /store/charybdis/cado_4ef6307d/cado-nfs/filter/dup1.c:111 -- Abort
> > >
> > > I tried altering the contents of dup1.filelist.1 and found that the bug
> > > appears precisely when the files contain more than 2^26 relations. So
> > that
> > > you can attempt to reproduce this, I have attached a parameter file that
> > > produces the bug when run with the 149-digit number
> > >
> > > N =
> > >
> > 30451074702779672217829979074588808155199316436755065947683534426904549869449262327316787277317820182752090699957549708141192736670950500076802512839
> > >
> > >
> > > I have also heard from another user who has experienced the same bug with
> > > revision 90dd8db3.
> > >
> > > Best regards,
> > > Robert Balfour
> > >
> > > [2:application/octet-stream Show Save:c150.params (2kB)]
> > >
> >
- Re: [cado-nfs] dup1 bug when processing over 2^26 relations, Robert Balfour, 08/05/2021
- Re: [cado-nfs] dup1 bug when processing over 2^26 relations, Pierrick Gaudry, 08/05/2021
- Re: [cado-nfs] dup1 bug when processing over 2^26 relations, Robert Balfour, 08/05/2021
- Re: [cado-nfs] dup1 bug when processing over 2^26 relations, Pierrick Gaudry, 08/05/2021
Archive powered by MHonArc 2.6.19+.