comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: limiting the CPU time allowed
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: limiting the CPU time allowed [message #23885 is a reply to message #23878] Mon, 26 February 2001 17:37 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"A. Roubicek" <aro@cdc.noaa.gov> writes:
> Hi JD, thank you for your reply,
> I am sorry, I was not clear. I mean that "if the job takes more than
> certain amount of CPU time, it should be killed". Is there any way to do
> it from within IDL? Some applications have an option in the calling
> command to set this kind of limit.

If you are running under Unix you can set a CPU processing limit.
Under csh, you would do "limit cputime nnn" where nnn is the number of
CPU seconds. You would do this in the shell *before* invoking your
IDL script. Hopefully you can use this, or else the equivalent in
your shell.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL programmers required
Next Topic: Congrid problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:09:31 PDT 2025

Total time taken to generate the page: 0.01950 seconds