View Single Post
Old 2020-08-03, 15:00   #579
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

23·32·47 Posts
Default

As far as I can tell, ecmpi only writes to stdout. Here is a sample of its normal output for a successful run:
Code:
# 000: N = 3090600480571341440695629848053409503575850194735086870320378383071
# 000: B1 = 11000
# 000: #curves = 69
# 002: N = 3090600480571341440695629848053409503575850194735086870320378383071
# 002: B1 = 11000
# 002: #curves = 69
# 006: N = 3090600480571341440695629848053409503575850194735086870320378383071
# 006: B1 = 11000
# 006: #curves = 69
. . .
# 096: N = 3090600480571341440695629848053409503575850194735086870320378383071
# 096: B1 = 11000
# 096: #curves = 69
# 103: B1 = 11000
# 103: #curves = 69
# 046: curve 0 found factor 83229881248601348477 using sigma 1:3897721773
# 069: curve 0 found factor 83229881248601348477 using sigma -1:2104735613
# 112 curves done (162.3%)
Results: 3090600480571341440695629848053409503575850194735086870320378383071 = 37133303979371927709681795987519828996261725323 * 83229881248601348477
And, here is a sample of its normal output for an unsuccessful run:
Code:
. . .
# 068: N = 411676773140232256051084769693456454376283873543984860467009008264837448990912018251228188229503895262379101626680194478551024664844928705462803579339
# 068: B1 = 11000000
# 068: #curves = 4166
# 112 curves done (2.7%)
# 224 curves done (5.4%)
. . .
# 4144 curves done (99.5%)
# 4256 curves done (102.2%)
Results: 411676773140232256051084769693456454376283873543984860467009008264837448990912018251228188229503895262379101626680194478551024664844928705462803579339 = 411676773140232256051084769693456454376283873543984860467009008264837448990912018251228188229503895262379101626680194478551024664844928705462803579339
I search for the asterisk in the last line to signal success and harvest the factors, which I place in "aliqueit_ecm_temp.log" via a script.

I also use a script to catch Aliqueit's "ecm.py" call and change it to what ecmpi expects. The scripts I use are fully explained in this post in my "How I..." thread for Aliqueit.

In actuality, it might not be worth the effort to make Aliqueit ecmpi friendly, though. If I can get something like ECMnet working, that would be preferred by me, mainly because Ubuntu 18.04 broke openmpi and unless 20.04 has it working again, I will stop using it altogether with my next upgrade, but also because mpi clusters work best with all similar nodes, whereas my farm is anything but similar across the nodes, resulting in the slowest machine setting the pace for the whole cluster.

And, besides, if I'm the only one using it, or there is a tiny following I/we can quite effectively use scripts to convert the calls/results.
EdH is online now   Reply With Quote