[Cado-nfs-discuss] [error] have enlarged memory and processor cores but failed to process

canny georgina cannysiska at gmail.com
Tue Jul 24 16:07:58 CEST 2018


I've seen the params.c190, thank you for the suggestion. Now I change the
command (increase bkmult and decrease threads) into something like this:
i'm still using the same poly as previous command.

chun at chun-XPS-8300:~/Desktop/cado-nfs$ ./cado-nfs.py
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
tasks.sieve.I=16 tasks.sieve.allow_largesq=true tasks.sieve.bkmult=1.2
tasks.polyselect.import=/home/chun/Desktop/c130\(2\)\ \[winner\].poly
tasks.threads=6

Works fine until workunit adding (up to 84000)
Info:root: No database exists yet
Info:root: Created temporary directory /tmp/cado.p9oem_9f
Info:Database: Opened connection to database /tmp/cado.p9oem_9f/c130.db
Info:root: tasks.polyselect.threads = 2
Info:root: tasks.sieve.las.threads = 2
Info:root: slaves.scriptpath is /home/chun/Desktop/cado-nfs
Info:root: Command line parameters: ./cado-nfs.py
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
tasks.sieve.I=16 tasks.sieve.allow_largesq=true tasks.sieve.bkmult=1.2
'tasks.polyselect.import=/home/chun/Desktop/c130(2) [winner].poly'
tasks.threads=6
Info:root: If this computation gets interrupted, it can be resumed with
./cado-nfs.py /tmp/cado.p9oem_9f/c130.parameters_snapshot.0
Info:Server Launcher: Adding chun-XPS-8300 to whitelist to allow clients on
localhost to connect
Info:HTTP server: Using non-threaded HTTPS server
Info:HTTP server: Using whitelist: localhost,chun-XPS-8300
Info:Complete Factorization: Factoring
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
Info:HTTP server: serving at https://chun-XPS-8300:37199 (0.0.0.0)
Info:HTTP server: For debugging purposes, the URL above can be accessed if
the server.only_registered=False parameter is added
Info:HTTP server: You can start additional cado-nfs-client.py scripts with
parameters: --server=https://chun-XPS-8300:37199
--certsha1=7ab56e5ad383768360274fc7fdd532aa0b2fde16
Info:HTTP server: If you want to start additional clients, remember to add
their hosts to server.whitelist
Info:Client Launcher: Starting client id localhost on host localhost
Info:Client Launcher: Starting client id localhost+2 on host localhost
Info:Client Launcher: Starting client id localhost+3 on host localhost
Info:Client Launcher: Running clients: localhost (Host localhost, PID
2370), localhost+2 (Host localhost, PID 2373), localhost+3 (Host localhost,
PID 2376)
Info:Polynomial Selection (size optimized): Skipping this phase, as we will
import the final polynomial
Warning:Polynomial Selection (size optimized): some stats could not be
displayed for polyselect1 (see log file for debug info)
Info:Polynomial Selection (root optimized): Starting
Info:Polynomial Selection (root optimized): Importing file
/home/chun/Desktop/c130(2) [winner].poly
Info:Polynomial Selection (root optimized): New best polynomial from file
/home/chun/Desktop/c130(2) [winner].poly: Murphy E = 2.35e-17
Info:Polynomial Selection (root optimized): Best polynomial previously
found in /home/chun/Desktop/c130(2) [winner].poly has Murphy_E = 2.35e-17
Info:Polynomial Selection (root optimized): Imported polynomial, skipping
this phase
Warning:Polynomial Selection (root optimized): some stats could not be
displayed for polyselect2 (see log file for debug info)
Info:Generate Factor Base: Starting
Info:Generate Factor Base: Finished
Info:Generate Factor Base: Total cpu/real time for makefb: 40.49/8.95877
Info:Generate Free Relations: Starting
Info:Generate Free Relations: Found 406278 free relations
Info:Generate Free Relations: Finished
Info:Generate Free Relations: Total cpu/real time for freerel:
300.41/51.1111
Info:Lattice Sieving: Starting
Info:Lattice Sieving: We want 22129742 relation(s)
Info:Lattice Sieving: Adding workunit c130_sieving_711270-720000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_720000-730000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_730000-740000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_740000-750000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_750000-760000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_760000-770000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_770000-780000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_780000-790000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_790000-800000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_800000-810000 to database
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_711270-720000 to
client localhost
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_720000-730000 to
client localhost+2
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_730000-740000 to
client localhost+3
Info:Lattice Sieving: Adding workunit c130_sieving_810000-820000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_820000-830000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_830000-840000 to database

first error shows up like this:
Error:Lattice Sieving: Program run on localhost+2 failed with exit code 137
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.p9oem_9f/c130.upload/c130_sieving_720000-730000.lqx6vejc.stderr0):
b'Killed\n'
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_740000-750000 to
client localhost+2
Info:Lattice Sieving: Resubmitting workunit c130_sieving_720000-730000 as
c130_sieving_720000-730000#2

then continues to this type of error:
Error:Lattice Sieving: Program run on localhost+2 failed with exit code 134
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.p9oem_9f/c130.upload/c130_sieving_740000-750000.qapv3c1q.stderr0):
b'code BUG() : condition r0 != std::numeric_limits<double>::lowest() failed
in expand_at_root at /home/chun/Desktop/cado-nfs/sieve/logapprox.cpp:71 --
Abort\n*** Error: caught signal "Aborted"\n======= Backtrace:
=========\n/tmp/cado.p9oem_9f/client/download/las()
[0x4ad063]\n/lib/x86_64-linux-gnu/libc.so.6(+0x354b0)
[0x7fd6c0d1e4b0]\n/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)
[0x7fd6c0d1e428]\n/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)
[0x7fd6c0d2002a]\n/tmp/cado.p9oem_9f/client/download/las(_ZN29piecewise_linear_approximator14expand_at_rootEd+0x28b)
[0x45ce9b]\n/tmp/cado.p9oem_9f/client/download/las(_ZN29piecewise_linear_approximator9logapproxEdd+0x144)
[0x45e074]\n/tmp/cado.p9oem_9f/client/download/las(_ZN13lognorm_smartC1ERK13siever_configRK13cxx_cado_polyiRK14qlattice_basisii+0x14c)
[0x45989c]\n/tmp/cado.p9oem_9f/client/download/las(_ZN10sieve_info16update_norm_dataEv+0xa5)
[0x45f635]\n/tmp/cado.p9oem_9f/client/download/las(_Z16do_one_special_qR8las_infoR8nfs_workSt10shared_ptrI7nfs_auxER11thread_poolR14cxx_param_list+0x497)
[0x474e27]\n/tmp/cado.p9oem_9f/client/download/las(main+0x2803)
[0x454eb3]\n/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
[0x7fd6c0d09830]\n/tmp/cado.p9oem_9f/client/download/las(_start+0x29)
[0x4561a9]\nAborted (core dumped)\n'

then this keeps repeating.
I don't know what caused this, but unlike before, this has no suggestion in
order to make it work (e.g: increase bkmult, and so on).

Thank you



2018-07-23 22:08 GMT+07:00 paul zimmermann <Paul.Zimmermann at inria.fr>:

> > i've tried searching for bkmult parameter and it happens to be in the las
> > command right?
> > i wonder how i can adjust that parameter when i'm using cado-nfs.py
> command?
>
> see parameters/factor/params.c190 in the git repository.
>
> Paul
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/attachments/20180724/ad7d9d5d/attachment.html>


More information about the Cado-nfs-discuss mailing list