mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2010-11-21, 15:36   #518
WraithX
 
WraithX's Avatar
 
Mar 2006

479 Posts
Default

Quote:
Originally Posted by EdH View Post
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"
The error you received was because of the space between Program and Files in the above command line. So, you might first want to try putting quotes (") around the python part of your line, like so:

Code:
ggnfs_cmd = "C:\Program Files\Python\python" "C:\MathWork\aliqueit\factmsieve.py"
If you still get an error after that, please post back here and we can troubleshoot further.
WraithX is offline   Reply With Quote
Old 2010-11-21, 15:36   #519
smh
 
smh's Avatar
 
"Sander"
Oct 2002
52.345322,5.52471

29×41 Posts
Default

How about putting the path between quotes?

Or use the old 8.3 style, like c:\progra~1\
smh is offline   Reply With Quote
Old 2010-11-21, 16:19   #520
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

3,823 Posts
Default

Thanks Guys,

I guess I was thrown by being too hurried and in thinking that factmsieve.py must have been called fine because of:
Code:
error (line 104): CUDA_ERROR_FILE_NOT_FOUND
seeming to indicate Python was that far through the script.
EdH is offline   Reply With Quote
Old 2010-11-21, 22:47   #521
Mr. Odd
 
Mar 2010

3·19 Posts
Default

Quote:
Originally Posted by EdH View Post
Thanks Guys,

I guess I was thrown by being too hurried and in thinking that factmsieve.py must have been called fine because of:
Code:
error (line 104): CUDA_ERROR_FILE_NOT_FOUND
seeming to indicate Python was that far through the script.
Thanks for the help, fixing the "C:\Program Files\" reference worked and GGNFS launches, but I'm still getting that line 104 CUDA error, which is odd as I have another installation of GGNFS that works fine with CUDA turned on. Suggestions?
Mr. Odd is offline   Reply With Quote
Old 2010-11-21, 23:06   #522
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3·1,181 Posts
Default

msieve with CUDA support looks for a few *.ptx files in the current working directory; the CUDA runtime pops out this error when it doesn't find them. Either the files aren't there or the current directory as specified by python is not what you think it is.
jasonp is offline   Reply With Quote
Old 2010-12-17, 18:52   #523
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

5,881 Posts
Default

Are there any files that are used for every factorization? Could I run multiple factorizations from the same folder at once?
edit: silly question there is spairs.out and related files
It might be a nice optional feature to be able to run multiple factorizations in one directory though.

Last fiddled with by henryzz on 2010-12-17 at 19:15
henryzz is online now   Reply With Quote
Old 2010-12-20, 18:26   #524
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3·17·23 Posts
Default

Quote:
Originally Posted by henryzz View Post
It might be a nice optional feature to be able to run multiple factorizations in one directory though.
What benefit would that feature give to you? I'm trying to understand why someone would select such an option if it existed.

Jeff.
Jeff Gilchrist is offline   Reply With Quote
Old 2010-12-21, 09:26   #525
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

5,881 Posts
Default

Quote:
Originally Posted by Jeff Gilchrist View Post
What benefit would that feature give to you? I'm trying to understand why someone would select such an option if it existed.

Jeff.
If I ran four factorizations at once in the same directory with one core instead of one with 4 cores then I wouldn't have 3 cores idle during poly selection and filtering. I have however noticed since that with the factmsieve.py script it almost always only runs filtering once unlike factmsieve.pl which ran it many times(sometimes each filtering run taking longer than one sieve block with four cores sieving)
henryzz is online now   Reply With Quote
Old 2010-12-22, 05:43   #526
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

141518 Posts
Default

Quote:
Originally Posted by henryzz View Post
If I ran four factorizations at once in the same directory with one core instead of one with 4 cores then I wouldn't have 3 cores idle during poly selection and filtering. I have however noticed since that with the factmsieve.py script it almost always only runs filtering once unlike factmsieve.pl which ran it many times(sometimes each filtering run taking longer than one sieve block with four cores sieving)
Wouldn't running factmsieve.py 4 times from 4 separate directories do the trick? (You can still use just one copy of the GGNFS binaries and factmsieve.py as long as you kick off each factorization from inside the right directory.)
mdettweiler is offline   Reply With Quote
Old 2010-12-22, 09:12   #527
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

133718 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
Wouldn't running factmsieve.py 4 times from 4 separate directories do the trick? (You can still use just one copy of the GGNFS binaries and factmsieve.py as long as you kick off each factorization from inside the right directory.)
Yes need to get around to doing that.
henryzz is online now   Reply With Quote
Old 2010-12-23, 19:19   #528
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3×17×23 Posts
Default

Quote:
Originally Posted by henryzz View Post
Yes need to get around to doing that.
That is why I was asking because I figured you could probably do what you needed without having to add support in the script. If you configure factmsieve.py to point to the directory where the msieve/ggnfs binaries are located then you can just call ..\factmsieve.py (or whatever) from your 4 different working directories and be get the same results. That way all your output and data files are nicely separated as well and easier to clean-up.

Request complete, feature already available.
Jeff Gilchrist 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 08:12.


Tue Jul 27 08:12:41 UTC 2021 up 4 days, 2:41, 0 users, load averages: 2.09, 1.67, 1.70

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.