[Cado-nfs-discuss] polyselect3 not found

Jason Parker-Burlingham jasonp at panix.com
Wed Sep 11 07:34:08 CEST 2019


Hello,

I believe I have found an error, and a fix, but have not tracked down
the cause; at current git HEAD a small factorization fails at the end
of polyselect:

Info:Polynomial Selection (root optimized): Best polynomial from file
/tmp/tmp.3RjdG9A9eW/c60.upload/c60.polyselect2.0j4j51j4.opt_6 with
E=7.260e-06 is no better than current best with E=7.549e-06
Info:Polynomial Selection (root optimized): Best polynomial from file
/tmp/tmp.3RjdG9A9eW/c60.upload/c60.polyselect2.0j4j51j4.opt_6 with
E=7.392e-06 is no better than current best with E=7.549e-06
Info:Polynomial Selection (root optimized): Marking workunit
c60_polyselect2_6 as ok (100.0% => ETA Wed Sep 11 01:11:14 2019)
Info:Polynomial Selection (root optimized): Kept 9 polynomials with
MurphyE from 7.549e-06 to 6.090e-06
Traceback (most recent call last):
  File "./installed/bin/cado-nfs.py", line 122, in <module>
    factors = factorjob.run()
  File "/tmp/tmp.pKm0Y1lRix/cado-nfs/installed/lib/cado-nfs-3.0.0/scripts/cadofactor/cadotask.py",
line 5885, in run
    last_status, last_task = self.run_next_task()
  File "/tmp/tmp.pKm0Y1lRix/cado-nfs/installed/lib/cado-nfs-3.0.0/scripts/cadofactor/cadotask.py",
line 5977, in run_next_task
    return [task.run(), task.title]
  File "/tmp/tmp.pKm0Y1lRix/cado-nfs/installed/lib/cado-nfs-3.0.0/scripts/cadofactor/cadotask.py",
line 2300, in run
    **self.progparams[0])
  File "/tmp/tmp.pKm0Y1lRix/cado-nfs/installed/lib/cado-nfs-3.0.0/scripts/cadofactor/cadoprograms.py",
line 708, in __init__
    super().__init__(locals(), **kwargs)
  File "/tmp/tmp.pKm0Y1lRix/cado-nfs/installed/lib/cado-nfs-3.0.0/scripts/cadofactor/cadoprograms.py",
line 416, in __init__
    raise Exception("Binary executable file %s not found (did you run
\"make\" ?)" % execfile)
Exception: Binary executable file
/tmp/tmp.pKm0Y1lRix/cado-nfs/installed/lib/cado-nfs-3.0.0/polyselect3
not found (did you run "make" ?)

build/omega/polyselect/polyselect3 exists:
1] cado-nfs $ stat build/omega/polyselect/polyselect3
  File: build/omega/polyselect/polyselect3
  Size: 2428656         Blocks: 4744       IO Block: 4096   regular file
Device: fd00h/64768d    Inode: 174601      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 1000/  jasonp)   Gid: ( 1000/  jasonp)
Access: 2019-09-11 01:07:26.655038200 -0400
Modify: 2019-09-11 01:04:50.221534631 -0400
Change: 2019-09-11 01:04:50.221534631 -0400
 Birth: -

Copying it to the right place in the installation makes the
factorization complete successfully:
130] cado-nfs $ cp build/omega/polyselect/polyselect3
installed/lib/cado-nfs-3.0.0/polyselect

My environment was made by building GMP-6.1.2:

./configure --prefix=/tmp/tmp.pKm0Y1lRix/gmp-6.1.2/inst; make install

and then CADO-NFS:

make install GMP=${PWD}/../gmp-6.1.2/inst -j64


For now I can simply alter my Dockerfile to install polyselect3 into
the correct location, but I'm not familiar enough with the CADO-NFS
build setup to actually fix the problem.

Apologies if this is a known issue, I looked at the list archives first.

jason
-- 
My new phone number:  +1 4127218459


More information about the Cado-nfs-discuss mailing list