mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   No Prime Left Behind (https://www.mersenneforum.org/forumdisplay.php?f=82)
-   -   llrnet startup in console mode (https://www.mersenneforum.org/showthread.php?t=11363)

IronBits 2009-01-18 08:28

llrnet startup in console mode
 
In Windows, llrnet always starts in the tray.

How can I make it so that it stays open in the console mode?

mdettweiler 2009-01-18 14:43

[quote=IronBits;159221]In Windows, llrnet always starts in the tray.

How can I make it so that it stays open in the console mode?[/quote]
Have you tried running it from an existing command window? (i.e. with the command "llrnet")?

Note: I haven't actually tried this myself, just a hunch. :smile:

Max :smile:

IronBits 2009-01-18 17:19

Yes, if I want to open a cmd prompt, cd into where I want to go then run llrnet, it will stay in console mode.
If I were to script that, 3 go to the icon tray, one runs in console mode.
I want all of them to start in console mode ...

Lennart 2009-01-18 20:58

1 Attachment(s)
[quote=IronBits;159271]Yes, if I want to open a cmd prompt, cd into where I want to go then run llrnet, it will stay in console mode.
If I were to script that, 3 go to the icon tray, one runs in console mode.
I want all of them to start in console mode ...[/quote]


Try replace this file.

/Lennart

IronBits 2009-01-18 23:32

Just got on, so didn't get to try your lua file yet Lennart. Thanks!

Just thought I would share this with everyone, it's actually easier than I thought.

Copy past into NPLB-Start-All.bat :) for 8 cores, /affinity #HEX#
@echo off

start "NPLB-1" /D D:\dcprojects\NPLB\NPLB1 /AFFINITY 1 cmd.exe /C llrnet.exe
start "NPLB-2" /D D:\dcprojects\NPLB\NPLB2 /AFFINITY 2 cmd.exe /C llrnet.exe
start "NPLB-3" /D D:\dcprojects\NPLB\NPLB3 /AFFINITY 4 cmd.exe /C llrnet.exe
start "NPLB-4" /D D:\dcprojects\NPLB\NPLB4 /AFFINITY 8 cmd.exe /C llrnet.exe
start "NPLB-5" /D D:\dcprojects\NPLB\NPLB5 /AFFINITY 10 cmd.exe /C llrnet.exe
start "NPLB-6" /D D:\dcprojects\NPLB\NPLB6 /AFFINITY 20 cmd.exe /C llrnet.exe
start "NPLB-7" /D D:\dcprojects\NPLB\NPLB7 /AFFINITY 40 cmd.exe /C llrnet.exe
start "NPLB-8" /D D:\dcprojects\NPLB\NPLB8 /AFFINITY 80 cmd.exe /C llrnet.exe

Now each one starts right up, under Vista 64, grouping actually works on the task bar. ;)
I resize them to 75 wide 8 high, place them on the monitor where I want them to be, uncheck let windows place it where it wants to thing.
I'm in 1600x1200 resolution...

Then I use a nice program that works in Windows XP or Vista 32 or 64 bits called DeskSpace.
DeskSpace takes your desktop and converts it to a cube, so I press CTRL-ALT-SHIFT, rotate to another side and release.
Now I don't see all those cmd windows on a clean desktop :grin:

YMMV :smile:

mdettweiler 2009-01-19 02:49

[quote=IronBits;159290]Then I use a nice program that works in Windows XP or Vista 32 or 64 bits called DeskSpace.
DeskSpace takes your desktop and converts it to a cube, so I press CTRL-ALT-SHIFT, rotate to another side and release.
Now I don't see all those cmd windows on a clean desktop :grin:[/quote]
I do a similar thing on my machine (running Ubuntu 8.10)--I start up all my prime-searching apps, and then switch to a different desktop on the "virtual desktop wall" (I could never figure out how to get the cube working, though that's probably better since it uses less CPU time :grin:).


All times are UTC. The time now is 11:25.

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