mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Factoring (https://www.mersenneforum.org/forumdisplay.php?f=19)
-   -   Running GGNFS (https://www.mersenneforum.org/showthread.php?t=9645)

Karl M Johnson 2011-06-18 17:22

Worked fine. In the end, it threw some errors:
[code]Found 1819630 relations, 108.8% of the estimated minimum (1672000).
-> msieve -s example\bosr.dat -l example\bosr.log -i example\bosr.ini -nf example\bosr.fb -t 4 -nc1
-> Running matrix solving step ...
-> msieve -s example\bosr.dat -l example\bosr.log -i example\bosr.ini -nf example\bosr.fb -t 4 -nc2
linear algebra completed 88347 of 92884 dimensions (95.1%, ETA 0h 0m)
-> Running square root step ...
-> msieve -s example\bosr.dat -l example\bosr.log -i example\bosr.ini -nf example\bosr.fb -t 4 -nc3
-> Computing 1.30842e+09 scale for this machine...
-> procrels -speedtest> PIPE
Scaled time: 1.76 units (timescale= 3.228).
Traceback (most recent call last):
File "C:\Program Files (x86)\msieve\ggnfs\example\factmsieve.py", line 2236, in <module>
output_summary(NAME, fact_p, pols_p, poly_p, lats_p)
File "C:\Program Files (x86)\msieve\ggnfs\example\factmsieve.py", line 2051, in output_summary
.format(fact_p, poly_p, pols_p, lats_p))
ValueError: Unknown format code 'd' for object of type 'str'[/code]

But it did not affect the found factors, which were correct.

Brian Gladman 2011-06-18 18:14

Yeah - the final output step is completely screwed up. I will have to see what I can do about this.

Brian Gladman 2011-06-18 20:38

1 Attachment(s)
Here is a version that corrects the final output errors (I hope)

Andi_HB 2011-06-18 21:51

1 Attachment(s)
Hmm i got a message about the MIN_NFS_BITS lenght and attribute bit_lenght.
The MIN_NFS_BITS in Line 77 is 264.

Brian Gladman 2011-06-19 09:25

Thanks for the report. Sadly bit_length is a Python 3 invention. If you change line 2163 (i.e. where bit_length() is being used) to:

if fact_p['n'] < 2 ** MIN_NFS_BITS:

it should then be ok.

Andi_HB 2011-06-19 09:34

1 Attachment(s)
I have changed the line but now i have a new error message.

Brian Gladman 2011-06-19 09:47

I am not sure what is going on here but you could try:

msprocs.append(run_msieve('-np {0:d},{1:d} -v '.format(base + 1, base + 100), extn, parallel=True))

for the offending line 1055.

Karl M Johnson 2011-06-19 10:18

1 Attachment(s)
Haha, the version .80 works flawlessly!
Thanks, Brian!

Andi_HB 2011-06-19 11:29

1 Attachment(s)
Hmm not for me till now :(
It looks ok for the polysearch but after the search i got again a error message.

Brian Gladman 2011-06-19 12:07

1 Attachment(s)
Sadly we are using different Python versions. Try the attached version.

D. B. Staple 2011-06-19 16:26

It's really Great to get this update. At the minimum, in order to get factmsieve.81.py to run on a linux machine one will need to modify these two lines:

change line 131 from:
CWD = '.\\'
to:
CWD = './'

change line 2099 from:
CWD = os.getcwd() + '\\'
to:
CWD = os.getcwd() + '/'


All times are UTC. The time now is 22:39.

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