Re: Temp variables are checked out [message #74439] |
Fri, 14 January 2011 09:10 |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 1/14/11 8:34 AM, Gray wrote:
> On Jan 14, 10:18 am, Gray<grayliketheco...@gmail.com> wrote:
>> On Jan 14, 9:40 am, David Fanning<n...@dfanning.com> wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>> Gray writes:
>>>> I take my criticism back... for some reason I'm getting the warning
>>>> from EVERY statement on the command line:
>>
>>>> IDL> f1a = shift(abs(fft(psf1)),5,5)
>>>> % Temporary variables are still checked out - cleaning up...
>>
>>>> What??
>>
>>> Oh, well, that's just shoddy quality control! ;-)
>>
>>> Cheers,
>>
>>> David
>>
>>> --
>>> David Fanning, Ph.D.
>>> Fanning Software Consulting, Inc.
>>> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
>>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>>
>> OK, so this is the statement that's causing the problem. After my
>> program executes this statement, everything I do causes the "checked
>> out" warning.
>>
>> kern = shift(abs(fft(f2/(f1>1.e-10),/inverse,/center)),5,5)
>>
>> IDL> print, 1
>> 1
>> % Temporary variables are still checked out - cleaning up...
>>
>> Any suggestions??
>
> and if I take out the /center keyword to FFT, it goes away. A
> miracle! What?
I would say that this is strong evidence that the newish implementation
of the CENTER keyword does something odd with memory: writing beyond its
bounds, leaking memory, etc. I would file this with ITT VIS support.
Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
|
|
|
Re: Temp variables are checked out [message #74440 is a reply to message #74439] |
Fri, 14 January 2011 07:34  |
Gray
Messages: 253 Registered: February 2010
|
Senior Member |
|
|
On Jan 14, 10:18 am, Gray <grayliketheco...@gmail.com> wrote:
> On Jan 14, 9:40 am, David Fanning <n...@dfanning.com> wrote:
>
>
>
>
>
>
>
>
>
>> Gray writes:
>>> I take my criticism back... for some reason I'm getting the warning
>>> from EVERY statement on the command line:
>
>>> IDL> f1a = shift(abs(fft(psf1)),5,5)
>>> % Temporary variables are still checked out - cleaning up...
>
>>> What??
>
>> Oh, well, that's just shoddy quality control! ;-)
>
>> Cheers,
>
>> David
>
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> OK, so this is the statement that's causing the problem. After my
> program executes this statement, everything I do causes the "checked
> out" warning.
>
> kern = shift(abs(fft(f2/(f1>1.e-10),/inverse,/center)),5,5)
>
> IDL> print, 1
> 1
> % Temporary variables are still checked out - cleaning up...
>
> Any suggestions??
and if I take out the /center keyword to FFT, it goes away. A
miracle! What?
|
|
|
Re: Temp variables are checked out [message #74443 is a reply to message #74440] |
Fri, 14 January 2011 07:18  |
Gray
Messages: 253 Registered: February 2010
|
Senior Member |
|
|
On Jan 14, 9:40 am, David Fanning <n...@dfanning.com> wrote:
> Gray writes:
>> I take my criticism back... for some reason I'm getting the warning
>> from EVERY statement on the command line:
>
>> IDL> f1a = shift(abs(fft(psf1)),5,5)
>> % Temporary variables are still checked out - cleaning up...
>
>> What??
>
> Oh, well, that's just shoddy quality control! ;-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
OK, so this is the statement that's causing the problem. After my
program executes this statement, everything I do causes the "checked
out" warning.
kern = shift(abs(fft(f2/(f1>1.e-10),/inverse,/center)),5,5)
IDL> print, 1
1
% Temporary variables are still checked out - cleaning up...
Any suggestions??
|
|
|
Re: Temp variables are checked out [message #74446 is a reply to message #74443] |
Fri, 14 January 2011 06:40  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Gray writes:
> I take my criticism back... for some reason I'm getting the warning
> from EVERY statement on the command line:
>
> IDL> f1a = shift(abs(fft(psf1)),5,5)
> % Temporary variables are still checked out - cleaning up...
>
> What??
Oh, well, that's just shoddy quality control! ;-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Temp variables are checked out [message #74447 is a reply to message #74446] |
Fri, 14 January 2011 06:38  |
Gray
Messages: 253 Registered: February 2010
|
Senior Member |
|
|
On Jan 14, 9:36 am, David Fanning <n...@dfanning.com> wrote:
> Gray writes:
>> Maybe they should get a hotel... I've read the Tip on dfanning.com,
>> but this one came up from the NG IMAGE() function... you would think
>> that ITTVIS would have debugged their own code for this. Oh well.
>
> I'm sympathetic. My own graphics routines are tens of orders
> of magnitude simpler than the NG functions, and yet I groan
> inwardly whenever I hear about a new problem. When things
> get this complex, "fixing" a problem is only the start of
> your woes.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
I take my criticism back... for some reason I'm getting the warning
from EVERY statement on the command line:
IDL> f1a = shift(abs(fft(psf1)),5,5)
% Temporary variables are still checked out - cleaning up...
What??
|
|
|
Re: Temp variables are checked out [message #74448 is a reply to message #74447] |
Fri, 14 January 2011 06:36  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Gray writes:
> Maybe they should get a hotel... I've read the Tip on dfanning.com,
> but this one came up from the NG IMAGE() function... you would think
> that ITTVIS would have debugged their own code for this. Oh well.
I'm sympathetic. My own graphics routines are tens of orders
of magnitude simpler than the NG functions, and yet I groan
inwardly whenever I hear about a new problem. When things
get this complex, "fixing" a problem is only the start of
your woes.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|