mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2022-11-13, 13:36   #122
SuikaPredator
 
Aug 2022
China

25 Posts
Default

What happened to the number of curves?
Code:
D:\Software\GMP-ECM>ecm.py -r job0180.txt -threads 12 -c 900 -maxmem 8192 -out factors_found.txt -pollfiles 3 1e6
-> ___________________________________________________________________
-> | Running ecm.py, a Python driver for distributing GMP-ECM work   |
-> | on a single machine.  It is copyright, 2011-2022, David Cleaver |
-> | and is a conversion of factmsieve.py that is Copyright, 2010,   |
-> | Brian Gladman. Version 0.46 (Python 2.6 or later)  4th Nov 2022 |
-> |_________________________________________________________________|

-> *** Already completed 528 curves on this number...
-> *** Will run 372 more curves.
->=============================================================================
-> Working on number: 187060905791346431...280717931660727007 (520 digits)
-> Trying to resume job in file: job0180.txt
-> *** Will run 372 more curves.
-> Currently working on: job0180.txt
-> Starting 12 instances of GMP-ECM...
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t00.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t01.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t02.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t03.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t04.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t05.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t06.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t07.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t08.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t09.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t10.txt
-> ecm -c 186 -maxmem 4096 1e6 < job0180.txt > job0180_t11.txt

GMP-ECM 7.0.4 [configured with GMP 6.1.2, --enable-asm-redc] [ECM]
Using B1=1000000, B2=1045563762, polynomial Dickson(6), 12 threads
____________________________________________________________________________
 Curves Complete |   Average seconds/curve   |    Runtime    |      ETA
-----------------|---------------------------|---------------|--------------
   414 of    372 | Stg1 39.07s | Stg2 13.60s |   0d 00:32:38 |   0d 00:00:00

Last fiddled with by SuikaPredator on 2022-11-13 at 13:37
SuikaPredator is offline   Reply With Quote
Old 2023-01-24, 04:18   #123
WraithX
 
WraithX's Avatar
 
Mar 2006

541 Posts
Default

Quote:
Originally Posted by SuikaPredator View Post
What happened to the number of curves?
Code:
D:\Software\GMP-ECM>ecm.py -r job0180.txt -threads 12 -c 900 -maxmem 8192 -out factors_found.txt -pollfiles 3 1e6
The problem comes from the "-r" option. It is not correctly implemented and I hadn't tested that feature in a long time and so didn't notice the problem.

I'd recommend calling ecm.py the same way every time, something like:
Code:
python ecm.py -threads 12 -c 900 -maxmem 8192 -out factors_found.txt -pollfiles 3 1e6 < number.txt
You can interrupt the above run. Then later issue the same command and it will find the previous work done, correctly count how many curves have been done, and correctly split the remaining curves among the specified number of threads.

Sorry for the broken "-r" feature, but I won't have time to fix it for a while.
WraithX is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Coding Help? kelzo Programming 3 2016-11-27 05:16
PHP vs. Python vs. C (all with GMP) daxmick Programming 2 2014-02-10 01:45
Python... Xyzzy Programming 20 2009-09-08 15:51
using libecm from python yqiang GMP-ECM 2 2007-04-22 00:14
Help w/ python. a216vcti Programming 7 2005-10-30 00:37

All times are UTC. The time now is 23:08.


Mon Mar 27 23:08:44 UTC 2023 up 221 days, 20:37, 0 users, load averages: 0.48, 0.76, 0.90

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔