[Cado-nfs-discuss] [error] failed on the lattice sieving "Cannot allocate memory"

canny georgina cannysiska at gmail.com
Wed Jul 11 02:58:38 CEST 2018


Hi, i tried using cado-nfs using imported polynomial (again) and works fine
until c120.
So, I went on c130. However this stopped in the middle of lattice sieving
process when it's trying to adding its workunit.
But i thought it fails to add the work unit so it seems like it's trying to
resubmit the work unit again.
This happens repeatedly. I've tried using parameter I=15 and I=16 but none
of them seems to work and still produce the same error
I'll provide the imported polynomial as well as the error message here:
Works fine until this:
root at ubuntu:/home/chunnie/Desktop/Math2/cado-nfs# ./cado-nfs.py
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
tasks.sieve.I=16
tasks.polyselect.import=/home/chunnie/Desktop/winner/c130\(2\)\
\[winner\].poly
Info:root: Using default parameter file ./parameters/factor/params.c130
Info:root: No database exists yet
Info:root: Created temporary directory /tmp/cado.brgw_7mh
Info:Database: Opened connection to database /tmp/cado.brgw_7mh/c130.db
Info:root: Set tasks.threads=4 based on detected logical cpus
Info:root: tasks.polyselect.threads = 2
Info:root: tasks.sieve.las.threads = 2
Info:root: slaves.scriptpath is /home/chunnie/Desktop/Math2/cado-nfs
Info:root: Command line parameters: ./cado-nfs.py
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
tasks.sieve.I=16
'tasks.polyselect.import=/home/chunnie/Desktop/winner/c130(2) [winner].poly'
Info:root: If this computation gets interrupted, it can be resumed with
./cado-nfs.py /tmp/cado.brgw_7mh/c130.parameters_snapshot.0
Info:Server Launcher: Adding ubuntu to whitelist to allow clients on
localhost to connect
Info:HTTP server: Using non-threaded HTTPS server
Info:HTTP server: Using whitelist: localhost,ubuntu
Info:Complete Factorization: Factoring
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
Info:HTTP server: serving at https://ubuntu:33785 (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://ubuntu:33785
--certsha1=d6326dfa9c796dd811704cd053c259b35649bfbf
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: Running clients: localhost (Host localhost, PID
2582), localhost+2 (Host localhost, PID 2585)
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/chunnie/Desktop/winner/c130(2) [winner].poly
Info:Polynomial Selection (root optimized): New best polynomial from file
/home/chunnie/Desktop/winner/c130(2) [winner].poly: Murphy E = 2.35e-17
Info:Polynomial Selection (root optimized): Best polynomial previously
found in /home/chunnie/Desktop/winner/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: 45.97/17.1253
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:
315.18/86.0738
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:Lattice Sieving: Adding workunit c130_sieving_810000-820000 to database
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_720000-730000 to
client localhost+2
then starts to give error/failing message like this:
Info:Lattice Sieving: Adding workunit c130_sieving_820000-830000 to database
Error:Lattice Sieving: Program run on localhost failed with exit code 1
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.brgw_7mh/c130.upload/c130_sieving_711270-720000.ze0ts0dq.stderr0):
b'malloc_aligned(): Cannot allocate memory\n'
Info:Lattice Sieving: Resubmitting workunit c130_sieving_711270-720000 as
c130_sieving_711270-720000#2
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_730000-740000 to
client localhost
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_740000-750000 to
client localhost
Error:Lattice Sieving: Program run on localhost failed with exit code 137
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.brgw_7mh/c130.upload/c130_sieving_730000-740000.ksg3ao4j.stderr0):
b'Killed\n'
Info:Lattice Sieving: Resubmitting workunit c130_sieving_730000-740000 as
c130_sieving_730000-740000#2
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_750000-760000 to
client localhost+2
Info:Lattice Sieving: Adding workunit c130_sieving_830000-840000 to database
Error:Lattice Sieving: Program run on localhost+2 failed with exit code 137
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.brgw_7mh/c130.upload/c130_sieving_720000-730000.yw5c2iiw.stderr0):
b'Killed\n'
Info:Lattice Sieving: Resubmitting workunit c130_sieving_720000-730000 as
c130_sieving_720000-730000#2
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_760000-770000 to
client localhost+2
Error:Lattice Sieving: Program run on localhost+2 failed with exit code 1
and it keeps repeating like this:
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.brgw_7mh/c130.upload/c130_sieving_750000-760000.a30zamin.stderr0):
b'malloc_aligned(): Cannot allocate memory\nmalloc_aligned(): Cannot
allocate memory\n'
Info:Lattice Sieving: Resubmitting workunit c130_sieving_750000-760000 as
c130_sieving_750000-760000#2
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_770000-780000 to
client localhost+2
Error:Lattice Sieving: Program run on localhost+2 failed with exit code 1
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.brgw_7mh/c130.upload/c130_sieving_760000-770000.44rand_v.stderr0):
b'malloc_aligned(): Cannot allocate memory\nmalloc_aligned(): Cannot
allocate memory\n'
Info:Lattice Sieving: Resubmitting workunit c130_sieving_760000-770000 as
c130_sieving_760000-770000#2
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_780000-790000 to
client localhost
Error:Lattice Sieving: Program run on localhost failed with exit code 137
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.brgw_7mh/c130.upload/c130_sieving_740000-750000.pk2sv8u3.stderr0):
b'Killed\n'
So, i've tried to let it be for about 15-20 minutes and it's still stuck on
that.
As for the polynomial file imported "c130_nonlinear.poly", it's like this:
n:
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
Y3: -36926495828235
Y2: 35278477409736
Y1: -24644926506039868111747058828972
Y0: 49883150067837870270806778853764202547265
c3: -6977840249740
c2: 6666421335083
c1: 39873187582291010584918640487298
c0: 8156455605783492638827000554082892318012
skew: 1.000
# lognorm: 93.01, alpha: -2.20 (proj: -1.44), E: 90.81, nr: 1
# lognorm: 91.20, alpha: 0.21 (proj: -0.94), E: 91.40, nr: 3
# MurphyE(Bf=1.130e+07,Bg=5.080e+06,area=3.780e+14)=2.35e-17
# generated by b852223: 1 /home/chunnie/Desktop/c130/c130(2).poly 0 0 in
0.01s

Thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/attachments/20180711/7218a1e7/attachment.html>


More information about the Cado-nfs-discuss mailing list