First, my apologies for inadvertently sending a nonsensical post to the list
while writing this summary.
Many thanks for all the rapid responses to my plea for help using S+ BATCH
(initial message pasted at end). My problem was that while running simulations
in BATCH mode I was frustrated by the unalterable display of a progress
thermometer in the middle of my screen, on top of any other open applications!
As it turns out there are several ways to get around this problem. Thanks to
Andrea Spano & Pierre Duschene for the simplest fix; at the command line
(Windows, not S+) use the following syntax:
Splus /BATCH_PROMPTS min /BATCH infile.ssc outFile.txt errorFile.txt
I was not able to find any reference to the "min /BATCH" switch in the
Programmer's Guide or the online help (Insightful Corp. people please take
note) but this did the trick. That pesky progress thermometer was minimized in
a corner of my screen, allowing other tasks to be completed while running
simulations.
Other solutions are:
Gerald Jean: use splus /BATCH_PROMPTS progress:no;non-fatal:no;exitstatus:no
/BATCH to turn off the progress thermometer
Jennie Pearce: use For() to run the batch jobs in a DOS window which can be
minimized
Paul Peng & Steve Wofsky: run Sqpe (a minimal overhead version of S+) from a
DOS window to run the batch jobs
Once again, thanks for the quick help.
Ian Jonsen
_______________________________________________________
Ian Jonsen
LRC, Agriculture & AgriFood Canada,
Box 3000, Lethbridge, AB CAN T1J 4B1
phone: (403) 317 2269, fax: (403) 382 3156, email: jonseni@em.agr.ca
&
Dept. of Biological Sciences, University of Alberta,
Edmonton, AB, CAN T6G 2E9
_______________________________________________________
Original post:
Hello All,
I'm using the BATCH mode in S+2000 r3 (Win95 & Win2000) to run simulations and
find it rather annoying that the progress thermometer displayed while in BATCH
mode is fixed permanently in the middle of my screen...it can't be minimized or
moved! This isn't a problem when I run things overnight but when I need to do
other tasks that *&@! progress thermometer makes it virtually impossible. Am I
missing something; is there some way to minimize it or at least specify where
it gets displayed on the screen?? Other suggestions are also welcome.
Note that I've tried using BATCH_PROMPTS with some success. I get a (seemingly)
full S+ session displayed which can't be minimized but at least doesn't get
displayed on top of everything else that's open. However, the simulations I'm
running dump information to a text file so I can monitor their progress (more
useful than S+'s thermometer!) and for some reason this text file doesn't get
created or updated when using BATCH_PROMPTS. I've tried all combinations of the
progress:yes,existatus:no with no apparent effect. There's very limited
information in the Programmer's Guide that describes how to use these switches,
so if anyone can point me in the right direction, I'd appreciate it.
Thanks,
Ian Jonsen
|