|
[Date Index]
[Thread Index]
[Author Index]
Re: Launching Mathematica kernel with Windows 'start' command in
- To: mathgroup at smc.vnet.net
- Subject: [mg76065] Re: Launching Mathematica kernel with Windows 'start' command in
- From: Urijah Kaplan <uak at sas.upenn.edu>
- Date: Tue, 15 May 2007 05:07:01 -0400 (EDT)
- Organization: University of Pennsylvania
- References: <f29bsb$pmn$1@smc.vnet.net>
There's a free handy program called Prio that I use on Windows
http://www.prnwatch.com/prio.html
download
http://www.prnwatch.com/download.html
that does all that you would like, and more!
Hope this helps,
Urijah Kaplan
Andrew Moylan wrote:
> Hi all,
>
> Like some previous posters (http://groups.google.com/group/comp.soft-
> sys.math.mathematica/browse_thread/thread/264aaac68d41add2?tvc=2&q=
> %22shell+command%22#), I'd love to configure the Mathematica kernel
> attached to my front end to automatically start and run at a lower
> priority in Windows. The Windows "start" command has been suggested
> for this purpose, and would seem ideal, but I have had no success with
> it. Here is what I've tried:
>
> Under "Advanced Options" in the Kernel configuration, the following
> works just fine to create a (normal priority) local kernel:
>
> Arguments to MLOpen: -LinkMode Listen -LinkName "test"
> Shell command to launch kernel: mathkernel -mathlink -LinkMode Connect
> -LinkName "test"
>
> Starting here, I would assume that making the following adjustment
> would be adequate to change the priority:
>
> Shell command to launch kernel: start /low mathkernel -mathlink -
> LinkMode Connect -LinkName "test"
>
> Unfortunately, for reasons unknown to me, making that change causes
> the kernel to fail to start. The symptons are: Kernel menu -> Start
> Kernel -> [click on kernel name] -> [nothing apparently happens at
> all]. Here are some other shell commands I have tried, with identical
> symptoms:
>
> Shell command to launch kernel: start /wait mathkernel -mathlink -
> LinkMode Connect -LinkName "test"
> Shell command to launch kernel: start mathkernel -mathlink -LinkMode
> Connect -LinkName "test"
> Shell command to launch kernel: start "title" /wait mathkernel -
> mathlink -LinkMode Connect -LinkName "test"
> Shell command to launch kernel: start "title" mathkernel -mathlink -
> LinkMode Connect -LinkName "test"
> and all of the above with 'mathkernel' replaced by the full path to
> MathKernel.exe.
>
> Note that opening a Windows command prompt and typing any of the above
> works just fine to start mathkernel; but for reasons unknown, none of
> them appear to do anything when used in the "Shell command to launch
> kernel" box.
>
> The following is probably related: if I create a batch file,
> startkernel.bat, and place the relevant shell command into it (any of
> the above, including those that don't use the 'start' command and
> instead directly run mathkernel.exe), I experience the same symptoms.
>
> Any ideas?
>
> Cheers,
>
> Andrew
>
>
Prev by Date:
Re: Compatibility woes
Next by Date:
Re: Re: Picking out pieces of a list
Previous by thread:
Re: a tutorial finder palette
Next by thread:
A workaround for an elliptic integral
|