![]() |
|
|
#1453 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Back to Windows for the time being: While I don't run a web server and can't play Minecraft, I can play all things Steam, such as TF2. Anyways kladner, I've discovered the problem with this is that ^C's are sent to cmd.exe, not mfaktc -- so I get a new prompt, which eventually gets overridden by an mfaktc class output. Just so I could say I tried, 'mfaktc-win-64.exe /affinity 0x80' doesn't work -- no surprises there. I'm running this from a shortcut. Edit: Just tried 'start /b /low /affinity 0x08 mfaktc-win-64.exe', but it again said 'Target not found'. Unfortunate.
Last fiddled with by Dubslow on 2011-12-25 at 04:49 |
|
|
|
|
|
#1454 | |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
Quote:
Yes. Ctl-C does not get through to mfaktc in the batch scenario. Ctl-Break will stop it. Probably not ideal, but I don't stop mfaktc, or let it stop that often. |
|
|
|
|
|
|
#1455 | |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
Quote:
This is what shows in my Results Details page on the server: Code:
Manual testing 52279247 F 2011-12-24 05:43 0.0 1525757169405396xxxxx 6.2631 Manual testing 52279247 NF 2011-12-24 05:43 0.0 no factor for M52279247 from 2^69 to 2^70 [mfaktc 0.18 barrett79_mul32] 2.2870 These are only attempts at deduction on my part. But PrimeNet does not seem to balk at all Factor Found reports from mfaktc 0.18. Last fiddled with by kladner on 2011-12-25 at 06:04 |
|
|
|
|
|
|
#1456 | |
|
Apr 2011
in vivo
4B16 Posts |
Quote:
Code:
c: cd "\Program Files\mfaktc\" cmd.exe /c "start "mfaktc 1 DCTF" /low /affinity C mfaktc-win-64.exe -v 1" cd "\Program Files\mfaktc - 2\" cmd.exe /c "start "mfaktc 2 LLTF" /low /affinity 30 mfaktc-win-64.exe -v 1" cd "\Program Files\mfaktc - 3\" cmd.exe /c "start "mfaktc 3 LLTF 74" /low /affinity C0 mfaktc-win-64.exe -v 1" It gives me three windows with the title of what each is for. Maybe it will give you a starting point. |
|
|
|
|
|
|
#1457 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
My problem is I'm trying not to use a batch file, just a shortcut. kladner, it was starting in the correct directory, I checked that when I set it up.
|
|
|
|
|
|
#1458 |
|
Apr 2011
in vivo
3·52 Posts |
OK, seems I misunderstood.
I made a shortcut by right clicking on mfaktc-win-64.exe and picking sendto desktop (shortcut). Then I right clicked on the shortcut and picked properties. Target box had: Code:
"C:\Program Files\mfaktc\mfaktc-win-64.exe" Code:
"/low /affinity C mfaktc-win-64.exe -v 1" Code:
"C:\Program Files\mfaktc\mfaktc-win-64.exe" "/low /affinity C mfaktc-win-64.exe -v 1" Double click on the shortcut and the programs starts. If I'm bugging you or really misunderstand, just say so, I will stop. |
|
|
|
|
|
#1459 |
|
"James Heinrich"
May 2004
ex-Northern Ontario
11·311 Posts |
I run 2 instances of mfaktc, in C:\Prime95\mfaktc\1\ and C:\Prime95\mfaktc\2\
I put this simple batch file in C:\Prime95\mfaktc\mfaktc.bat Code:
cd \Prime95\mfaktc\1 start "mfaktc 1" /min /low /affinity 0x01 mfaktc-win-64.exe cd \Prime95\mfaktc\2 start "mfaktc 2" /min /low /affinity 0x04 mfaktc-win-64.exe |
|
|
|
|
|
#1460 |
|
"Kieren"
Jul 2011
In My Own Galaxy!
27AE16 Posts |
|
|
|
|
|
|
#1461 | ||
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Quote:
Quote:
Last fiddled with by Dubslow on 2011-12-26 at 03:47 |
||
|
|
|
|
|
#1462 |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2·3·1,693 Posts |
I set up two shortcuts. On the left, it sets the directory in Start in: and runs the same command line I use in my batch files. An example is in the text above. Unfortunately, in the captured view of the properties box, the entire line is not visible. It is, however, the same as the last line in the batch file. This works exactly the same as the batch. It sets priority and affinity, but Ctl-C goes to CMD, not mfaktc.
The shortcut on the right also sets the directory, but it simply runs mfaktc. This launches mfaktc, and Ctl-C goes to the program. However, affinity and priority are not set and so default to all cores and normal priority. I haven't yet tried the approach suggested by James Heinrich, using "Start" by itself without a "cmd.exe" preface. EDIT: The following command line is not accepted by the shortcut Properties dialog: Code:
start "mfaktc_c" /b /low /affinity 0x20 mfaktc-win-64.exe However, using "Start" by itself in a batch file runs mfaktc. Affinity and Priority are set, and Ctl-C goes to mfaktc. I am kind of confused by this. I didn't think there was much difference between a Shortcut command line, and one in a batch file. EDIT2: I suppose that using Start in a batch file has implicitly invoked CMD to run the batch. Last fiddled with by kladner on 2011-12-26 at 04:44 |
|
|
|
|
|
#1463 |
|
Feb 2005
The Netherlands
2×109 Posts |
Something odd is happening when I run mfakct 0.18 on my GT 555M. After a short while, the GPU usage drops from 100% to +- 70-80%, and a little later, it goes back again to 100% for a short time, before it drops again, ad infinitum. Mfakct 0.17 always runs at 100% GPU usage on this card.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mfakto: an OpenCL program for Mersenne prefactoring | Bdot | GPU Computing | 1676 | 2021-06-30 21:23 |
| The P-1 factoring CUDA program | firejuggler | GPU Computing | 753 | 2020-12-12 18:07 |
| gr-mfaktc: a CUDA program for generalized repunits prefactoring | MrRepunit | GPU Computing | 32 | 2020-11-11 19:56 |
| mfaktc 0.21 - CUDA runtime wrong | keisentraut | Software | 2 | 2020-08-18 07:03 |
| World's second-dumbest CUDA program | fivemack | Programming | 112 | 2015-02-12 22:51 |