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

Home » Public Forums » archive » IDL 8.2 IDL_IDLBridge & abortion
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL 8.2 IDL_IDLBridge & abortion [message #88793] Thu, 19 June 2014 15:37 Go to next message
Garsmat72 is currently offline  Garsmat72
Messages: 3
Registered: June 2014
Junior Member
Hello folks,

I'm programming with IDL 8.2 and I have an issue with IDL_IDLBridge.
I use some IDL bridges to compute on large pictures.
In the code used by those bridges, the program executes a large loop. At some point in this loop, all the children stop with the abort command (status = 4). There aren't any type problem, I tested the function in the main IDL process but it doesn't create any problem.

Does anyone have an idea what's happening in the children processes?

Cheers,

Mathieu
Re: IDL 8.2 IDL_IDLBridge & abortion [message #88796 is a reply to message #88793] Fri, 20 June 2014 10:32 Go to previous messageGo to next message
Bill Nel is currently offline  Bill Nel
Messages: 31
Registered: October 2010
Member
Have you turned on logging (using Obj_New("IDL_IDLBridge", output=logfilename)?

The child process might print an error message there. And you can write debugging output, as well.

On Thursday, June 19, 2014 6:37:05 PM UTC-4, Garsmat72 wrote:
> Hello folks,
>
>
>
> I'm programming with IDL 8.2 and I have an issue with IDL_IDLBridge.
>
> I use some IDL bridges to compute on large pictures.
>
> In the code used by those bridges, the program executes a large loop. At some point in this loop, all the children stop with the abort command (status = 4). There aren't any type problem, I tested the function in the main IDL process but it doesn't create any problem.
>
>
>
> Does anyone have an idea what's happening in the children processes?
>
>
>
> Cheers,
>
>
>
> Mathieu
Re: IDL 8.2 IDL_IDLBridge & abortion [message #88822 is a reply to message #88793] Tue, 24 June 2014 03:37 Go to previous messageGo to next message
Garsmat72 is currently offline  Garsmat72
Messages: 3
Registered: June 2014
Junior Member
Hello Rigby,

thanks for your help, the log wasn't helpful at all...
In fact, if you create IDL_IDLBridge object in a function/procedure, executes some computations in asynchronous mode ( /NOWAIT) and ends the function, the garbage collector will destroy the IDL_IDLBridges; which will cause the abortion of the computations in the newly created processes.

Cheers,

Mathieu
Re: IDL 8.2 IDL_IDLBridge & abortion [message #88823 is a reply to message #88793] Tue, 24 June 2014 03:38 Go to previous message
Garsmat72 is currently offline  Garsmat72
Messages: 3
Registered: June 2014
Junior Member
Hi all,

I solved this issue.
As soon as the main IDL process leaves the function/procedure where the bridges were created, they are destroyed, which causes an abortion in the bridges. One of the possible solutions is to save the IDL_IDLBridge objects in a system variable before the main IDL process leaves the function.

Mathieu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: display position arrays on an image
Next Topic: How can I use the shapefiles of a particular country in plotting the country boundaries?

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

Current Time: Wed Oct 08 11:42:56 PDT 2025

Total time taken to generate the page: 0.00752 seconds