mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet > MISFIT

Reply
 
Thread Tools
Old 2013-05-04, 13:06   #111
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

11001010002 Posts
Default

Quote:
Originally Posted by Chuck View Post
Unfortunately that doesn't work. The references to the .lnk files are converted to the names pointed to by the link, and the cmd windows open to the default settings.
You can reset the defaults and Windows will remember them. I ALWAYS use the START command which allows me to add a title to the window making it easier to identify.,

http://support.microsoft.com/kb/126410
swl551 is offline   Reply With Quote
Old 2013-05-04, 14:26   #112
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

3×5×59 Posts
Default

Quote:
Originally Posted by swl551 View Post
You can reset the defaults and Windows will remember them. I ALWAYS use the START command which allows me to add a title to the window making it easier to identify.,

http://support.microsoft.com/kb/126410
Thank you for trying to help me but I can't get it to work. If I manually type in the \path\mfaktc-win-32.exe-shortcut.lnk in a command window the window opens as desired, but if I put the same thing in a .bat file instead of the program running a file explorer window opens in the specified directory.

It's easier just to click the four shortcuts on the desktop to get the instances started.
Chuck is offline   Reply With Quote
Old 2013-05-04, 19:27   #113
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

3×5×59 Posts
Default

Quote:
Originally Posted by Chuck View Post
Thank you for trying to help me but I can't get it to work. If I manually type in the \path\mfaktc-win-32.exe-shortcut.lnk in a command window the window opens as desired, but if I put the same thing in a .bat file instead of the program running a file explorer window opens in the specified directory.

It's easier just to click the four shortcuts on the desktop to get the instances started.
Update — I added the /D switch to the .bat files and that got them to work. I also renamed the links to mfaktc.lnk etc for ease in accessing them.

Things still did not work exactly as I expected. I thought MISFIT was going to automatically start the batch files when it was started, but it does not. When I click the "Start Batch" the windows do open to the positions and settings desired, so that part works.

I can see that automatically trying to start the batch could cause problems (like knowing if they are already running). I believe I can complete this project by adding the four .bat files to the Windows Startup folder, adding a TIMEOUT command to three of the files, specifying, say, a 10, 20 and 30 second delay to stagger the starts.

Attached is the window arrangement I have been working to produce.
Attached Thumbnails
Click image for larger version

Name:	misfit mfaktc.jpg
Views:	99
Size:	345.0 KB
ID:	9720  
Chuck is offline   Reply With Quote
Old 2013-05-04, 22:22   #114
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

80810 Posts
Default

Chuck you may find the SpeedController batch system useful
http://mersenneforum.org/showthread.php?t=17915

or Mini Geek's system http://mersenneforum.org/showthread.php?t=18088
swl551 is offline   Reply With Quote
Old 2013-05-05, 00:14   #115
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

3×5×59 Posts
Default

Quote:
Originally Posted by swl551 View Post
Chuck you may find the SpeedController batch system useful
http://mersenneforum.org/showthread.php?t=17915

or Mini Geek's system http://mersenneforum.org/showthread.php?t=18088
Thanks but not needed. MFAKTC always runs full bore; I don't do any gaming.

Additional question: If I did a MISFIT "Start Batch" with my four instances already running, would it start an additional four? I guess I could try but why flirt with disaster...
Chuck is offline   Reply With Quote
Old 2013-05-05, 02:11   #116
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by Chuck View Post
Thanks but not needed. MFAKTC always runs full bore; I don't do any gaming.

Additional question: If I did a MISFIT "Start Batch" with my four instances already running, would it start an additional four? I guess I could try but why flirt with disaster...
If MISFIT starts more instances then you have a misconfiguration regarding instance names. I cannot answer it for you... You must flirt with disaster to prove out our setup.

Just try not to hurt anyone....
swl551 is offline   Reply With Quote
Old 2013-05-05, 07:02   #117
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

In my setup, selecting "Start Batch" in MISFIT, or running the underlying batch files manually more than once will result in multiple instances in different windows.*

Conversely, selecting "Send Ctl-C" when there are no mfaktX instances running produced an error message along the lines of "I'm sorry, Dave, I'm afraid I could not do that. (See actual message below!)

This is Win 7 64 bit running on AMD hardware.

* Obviously, not an optimal situation. Just be sure to kill the newer processes and leave only the oldest running. Or kill 'em all and start over.
Attached Thumbnails
Click image for larger version

Name:	MISFIT_Info Box.PNG
Views:	87
Size:	5.2 KB
ID:	9726  

Last fiddled with by kladner on 2013-05-05 at 07:07
kladner is offline   Reply With Quote
Old 2013-05-05, 14:18   #118
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

3·5·59 Posts
Default

Quote:
Originally Posted by swl551 View Post
If MISFIT starts more instances then you have a misconfiguration regarding instance names. I cannot answer it for you... You must flirt with disaster to prove out our setup.

Just try not to hurt anyone....
I tried "Start batch" with the jobs already running, and a window opened that said "Process Launch Failed". Good behavior. No harm done.
Chuck is offline   Reply With Quote
Old 2013-05-05, 14:24   #119
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

If you have at least one instance running, and you try to start more from the START PROCESS menu, MISFIT will give you dialog error. If MISFIT does start more instances the INSTANCE name configuration is incorrect.

Stalled process detection is in charge of telling which ones are not running.
Attached Thumbnails
Click image for larger version

Name:	PlaunchFailed.JPG
Views:	98
Size:	161.8 KB
ID:	9727  

Last fiddled with by swl551 on 2013-05-05 at 15:11
swl551 is offline   Reply With Quote
Old 2013-05-07, 00:47   #120
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by kladner View Post
In my setup, selecting "Start Batch" in MISFIT, or running the underlying batch files manually more than once will result in multiple instances in different windows.*

Conversely, selecting "Send Ctl-C" when there are no mfaktX instances running produced an error message along the lines of "I'm sorry, Dave, I'm afraid I could not do that. (See actual message below!)

This is Win 7 64 bit running on AMD hardware.

* Obviously, not an optimal situation. Just be sure to kill the newer processes and leave only the oldest running. Or kill 'em all and start over.
Kladner,
Does MISFIT STOP all your instances when using the PROCESS STOP menu. Regardless of how you started them it should stop all of them.
swl551 is offline   Reply With Quote
Old 2013-05-07, 02:12   #121
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default

Quote:
Originally Posted by swl551 View Post
Kladner,
Does MISFIT STOP all your instances when using the PROCESS STOP menu. Regardless of how you started them it should stop all of them.
Yes. Process Stop has always worked without fail and taken down all instances.
kladner is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
released: MISFIT for MFAKTx version 2.11.0 (31-Jan-2017) swl551 MISFIT 19 2020-11-18 14:29
MISFIT 2.9 swl551 MISFIT 44 2014-12-15 12:46
MfaktX Controller (Windows) Mini-Geek Software 52 2014-02-18 18:27
MFAKTx speed menu (windows) swl551 Software 8 2013-03-07 00:16
(archive)mfaktXHelper - utility for managing mfaktX installations swl551 MISFIT 57 2012-08-12 03:37

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


Tue Jul 27 08:22:12 UTC 2021 up 4 days, 2:51, 0 users, load averages: 1.96, 1.87, 1.80

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.