mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2010-07-20, 17:03   #507
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

53210 Posts
Default

Quote:
Originally Posted by Karl M Johnson View Post
Cant launch
Code:
Traceback (most recent call last):
  File "C:\Program Files (x86)\msieve\ggnfs\example\factmsieve[N].py", line 1984, in <module>
    .format(NUM_CORES, ('' if NUM_CORES == 1 else 's'), THREADS_PER_CORE))
ValueError: unmatched '{' in format
Thanks for testing it - I hope I have corrected this now. I am away from my machine right now so I can't test it.

Brian
Brian Gladman is offline   Reply With Quote
Old 2010-07-20, 17:16   #508
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

67278 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
I have not uploaded it here because I worry that my frequent postings of these updates as attachments might be unwelcome from the site owner's perspective as there is no obvious way to delete the outdated ones.
My understanding is that attachments do not take up space in the forum's database, which is at a premium, but use the server's filesystem which has plenty of room. If you want me to delete old attachments I'd be happy to.
jasonp is offline   Reply With Quote
Old 2010-07-20, 17:57   #509
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

3·137 Posts
Default

Works fine.
Here's proof:
Code:
Number: fljuger
N = 10516071764181878019570915711193255841747277442931750685301436621536353931969436843 (83 digits)
Divisors found:
r1=100054404774992936538559592036032315433 (pp39)
r2=105103536299385480146611735607955433919086771 (pp45)
Version: Msieve v. 1.45
Total time: 0.19 hours.
Factorization parameters were as follows:
n: 10516071764181878019570915711193255841747277442931750685301436621536353931969436843
Y0: -68415166295548572651
Y1: 12381286097
c0: -377694361883706557375845
c1: 4090294606463989838
c2: -1338990207050
c3: 16832272
c4: 480
skew: 221556.36 
type: gnfs
Factor base limits: 550000/550000
Large primes per side: 3
Large prime bits: 24/24
Sieved algebraic special-q in [0, 0)
Total raw relations: 1080300
Relations: 48816 relations
Pruned matrix : 35196 x 35422
Polynomial selection time: 0.08 hours.
Total sieving time: 0.09 hours.
Total relation processing time: 0.01 hours.
Matrix solve time: 0.00 hours.
time per square root: 0.00 hours.
Prototype def-par.txt line would be: gnfs,82,4,56,1500,0.001,0.3,200,15,10000,500,550000,550000,24,24,40,40,1.9,1.9,10000
total time: 0.19 hours.
Intel64 Family 6 Model 15 Stepping 11, GenuineIntel
Windows-post2008Server-6.1.7600
processors: 4, speed: 3.51GHz
Karl M Johnson is offline   Reply With Quote
Old 2010-07-20, 18:34   #510
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22·7·19 Posts
Default

Quote:
Originally Posted by jasonp View Post
My understanding is that attachments do not take up space in the forum's database, which is at a premium, but use the server's filesystem which has plenty of room. If you want me to delete old attachments I'd be happy to.
Hi Jason,

In an ideal world I would certainly like to see them deleted as quite a number of them contain bugs that will cause problems for anyone who uses them and doesn't realise that these were being posted to obtain help with debugging.

Will deleting them cause problems for anyone who reads old postings with these attachments? If it doesn't cause problems, I would, on balance, like to see them deleted (I assume we can't rediect old links to a current version).

I think the script is pretty solid now (except for relations estimation) so I am hoping it won't need such frequent updates in future. It would be nice to improve the relations estimates but this really requires someone with the the experience to provide the formulas (or tables) this needs.

Brian

Last fiddled with by jasonp on 2010-07-22 at 03:32 Reason: Done (wow that was a lot of attachments!)
Brian Gladman is offline   Reply With Quote
Old 2010-08-24, 12:35   #511
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

1011000011102 Posts
Default

Brian Gladman,

I don't know if this was already posted....
About your script, why not use all cores to search for the polynomial? Right now I don't have a NVIDIA GPU card and it is just a waste of time to see 3 of 4 cores idle. Thank you in advance,

Carlos
em99010pepe is offline   Reply With Quote
Old 2010-08-24, 17:27   #512
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22·7·19 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
Brian Gladman,

I don't know if this was already posted....
About your script, why not use all cores to search for the polynomial? Right now I don't have a NVIDIA GPU card and it is just a waste of time to see 3 of 4 cores idle. Thank you in advance,

Carlos
Hi Carlos,

My script doesn't do any real work - it just calls the either ggnfs or msieve programs to do the hard work.

I could launch multiple copies of these applications but to do this I would have to know that they won't interfere with each other and I would also have to work out how to share the search space among the copies.

I doubt that this would be easy and it would seem better for the application to do this rather than my driver.

Brian
Brian Gladman is offline   Reply With Quote
Old 2010-08-24, 18:52   #513
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2·5·283 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
Hi Carlos,

My script doesn't do any real work - it just calls the either ggnfs or msieve programs to do the hard work.

I could launch multiple copies of these applications but to do this I would have to know that they won't interfere with each other and I would also have to work out how to share the search space among the copies.

I doubt that this would be easy and it would seem better for the application to do this rather than my driver.

Brian
Ok Brian I understand. I just don't know if I should occupy the rest of the cores while polynomial search is taking place because I don't know when the sieve starts. My current work has been on the polynomial phase for the last 12 hours....
Thank you.

Carlos
em99010pepe is offline   Reply With Quote
Old 2010-09-28, 03:11   #514
wreck
 
wreck's Avatar
 
"Bo Chen"
Oct 2005
Wuhan,China

16810 Posts
Default

May I ask how to set the priority in factmsieve.py under Linux OS?
wreck is offline   Reply With Quote
Old 2010-09-28, 17:48   #515
miklin
 
miklin's Avatar
 
Nov 2007

3×52 Posts
Default

Quote:
Originally Posted by wreck View Post
May I ask how to set the priority in factmsieve.py under Linux OS?
In sense???

Conversation concerning NICE ???

# Run the binaries at low priority?
# $NICE="nice -n 19 ";

Last fiddled with by miklin on 2010-09-28 at 17:59
miklin is offline   Reply With Quote
Old 2010-09-29, 04:20   #516
wreck
 
wreck's Avatar
 
"Bo Chen"
Oct 2005
Wuhan,China

23·3·7 Posts
Default

Quote:
Originally Posted by miklin View Post
In sense???

Conversation concerning NICE ???

# Run the binaries at low priority?
# $NICE="nice -n 19 ";
I see these two lines in file factMsieve.pl, but I use factmsieve.py cuttently,
Following lines are concerning priority I notice in the file factmsieve.py
Code:
if sys.platform.startswith('win'):
  EXE_SUFFIX = '.exe'
else:
  EXE_SUFFIX = ''
  NICE_PATH = ''
  MSIEVE = './' + MSIEVE


  if sys.platform.startswith('win'):
#   priority_high = 0x00000080
#   priority_normal = 0x00000020
#   priority_idle = 0x00000040
    al['creationflags'] = al.get('creationflags', 0) | 0x00000040
  else:
    al['preexec_fn'] = NICE_PATH
]
wreck is offline   Reply With Quote
Old 2010-11-21, 15:09   #517
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

1110111110102 Posts
Default

Hi Brian,

There's a post on my AliWin thread expressing a difficulty with factmsieve.py. Could you take a quick look? The basics are:

Code:
error (line 104): CUDA_ERROR_FILE_NOT_FOUND
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Or, is this something JasonP could help with?

Thanks.

Edit: I think the trouble might be due to the use of back instead of forward slashes:
Code:
ggnfs_cmd = C:\Program Files\Python\python "C:\MathWork\aliqueit\factmsieve.py"

Last fiddled with by EdH on 2010-11-21 at 15:26
EdH is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Msieve & ggnfs on MacOS xilman Msieve 8 2017-05-20 00:12
Factorizing with MSIEVE, GGNFS & Factmsieve.py Romuald Msieve 24 2015-11-09 20:16
Infinite loop for ggnfs or msieve Greebley Aliquot Sequences 4 2013-02-06 19:28
Error running GGNFS+msieve+factmsieve.py D. B. Staple Factoring 6 2011-06-12 22:23
A new driver? (or type of driver?) 10metreh Aliquot Sequences 3 2010-02-15 15:57

All times are UTC. The time now is 10:54.


Mon Aug 2 10:54:47 UTC 2021 up 10 days, 5:23, 0 users, load averages: 1.72, 1.72, 1.59

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.