Re: NONMEM priority on windows NT/2000
From: Nick Holford <n.holford@auckland.ac.nz>
Subject: Re: NONMEM priority on windows NT/2000
Date: Wed, 09 May 2001 07:59:17 +1200
"Bachman, William" wrote:
>
> I haven't tried this with Win 2000 yet, but with NT, I omitted the dummy
> command "path" and everything that is run in that window when run is low
> priority. The "target" for the DOS icon was simply:
>
> C:\WINNT\system32\CMD.EXE /c start "NONMEM DOS"/LOW /i
I've confirmed it works under Win2000. Also note it is more general to use
%comspec% /c start "NONMEM DOS"/LOW /i
The %compspec% is an environment variable that points to CMD.EXE wherever it happens to live on your system.
You can also use these options under Win2000 (I dont think abovenormal exists for Win NT).
%comspec% /c start "NONMEM DOS"/high /i
%comspec% /c start "NONMEM DOS"/abovenormal /i
%comspec% /c start "NONMEM DOS"/realtime /i
%comspec% /c start "NONMEM DOS"/normal /i
> So you need not create a dummy batch file. You could create a batch file,
> e.g. nmbatch.bat, with numerous runs in it and run all day (or all week) in
> low priority. The contents of nmbatch.bat might look like:
>
> call nmfe5 101.ctl 101.res
> call nmfe5 102.ctl 102.res
> call nmfe5 103.ctl 103.res
> call nmfe5 104.ctl 104.res
If you get tired of having to repeat the runname every time you use nmfe some simple surgery on nmfe.bat will let you use
call nmfe5betta 101
In your nmbatch.bat file you can write:
for %%c in (101 102 103 104) do call nmfe5 %%c.ctl %%c.res
or
for %%c in (101 102 103 104) do call nmfe5betta %%c
[and for a real change you could try using Wings for NONMEM which works like nmbetta with a command called nmgo. See http://www.geocities.com/wfn2k. Version 222 supports the g77 compiler and the randomization test.]
--
Nick Holford, Divn Pharmacology & Clinical Pharmacology
University of Auckland, 85 Park Rd, Private Bag 92019, Auckland, New Zealand
email:n.holford@auckland.ac.nz tel:+64(9)373-7599x6730 fax:373-7556
http://www.phm.auckland.ac.nz/Staff/NHolford/nholford.htm