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

Home » Public Forums » archive » Re: Simple task manager for parallel processing in IDL
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: Simple task manager for parallel processing in IDL [message #59146] Tue, 11 March 2008 08:38 Go to previous message
devin.white is currently offline  devin.white
Messages: 50
Registered: March 2007
Member
Nice! Here's one way you can use the IDL-IDL Bridge with ENVI:

IDL> r -> execute, 'envi, /restore_base_save_files & message, /reset'

That kills the problematic error messages in the child process and
allows you to proceed with sending tasks over the bridge. You might
still run into issues as various ENVI functionality is automatically
restored during calls to documented routines, so try adding "&
message, /reset" to the end of every call you make that involves one
of those routines. Example:

IDL> r -> execute, 'envi_convert_file_coordinates, fid, xfile, yfile,
xmap, ymap, /to_map & message, /reset'

Seems to work pretty well.


> Now some of you may be wondering "why isn't this guy using the
> IDL_IDLbridge?". The point is that many of the work I do involves ENVI
> functionality and so far I had some problems to get ENVI to initialize
> on an IDL_IDLBridge session (although the IDLPATH settings on the
> bridge are OK):
>
> IDL> r = obj_new('idl_idlbridge')
> % Loaded DLM: IDL_IDLBRIDGE.
> IDL> r -> execute, 'envi, /restore_base_save_files'
> % IDL_IDLBRIDGE Error: Attempt to call undefined procedure/function:
>   'ENVI_IOU'.
> % Execution halted at: $MAIN$
> IDL> r -> execute, 'envi_batch_init'
> % IDL_IDLBRIDGE Error: Attempt to call undefined procedure/function:
>   'ENVI_RV'.
> % Execution halted at: $MAIN$
>
> It needs some further testing whether ENVI is initialized properly on
> the bridge (despite the error messages) as some functionality seems to
> work properly.
>
> Cheers,
>
> Allard
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: itools (mouse) events
Next Topic: How to plot the magnetic field vector along the trajectory

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

Current Time: Sat Oct 11 01:08:52 PDT 2025

Total time taken to generate the page: 1.20378 seconds