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

Home » Public Forums » archive » Re: Shared memory between several IDL processes
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
Re: Shared memory between several IDL processes [message #52003] Sat, 23 December 2006 17:37
Pierre V. is currently offline  Pierre V.
Messages: 13
Registered: December 2006
Junior Member
You might try using sockets for interprocess communication. Have a
look at this thread:

http://groups-beta.google.com/group/comp.lang.idl-pvwave/bro wse_thread/thread/ec990d0d671264c9

One of the entries mentions an undocumented feature of IDL 6.3 where
you can listen on a socket as a server. The nice thing about sockets
is they work the same whether your processes are on the same machine or
on multiple machines. Like you say, shared memory and the IDL bridge
are only useful if you are staying on the same machine.

-Pierre
Re: Shared memory between several IDL processes [message #52008 is a reply to message #52003] Sat, 23 December 2006 13:13 Go to previous message
Richard French is currently offline  Richard French
Messages: 173
Registered: December 2000
Senior Member
In answering part of my question, I see that the IDL_IDLBridge will go a
fair way towards my goal, but as I understand it, it is restricted to
separate IDL processes on a single machine. What would be ideal would be to
have the IDL_IDLBridge be set up in such a way that one could initiate IDL
sessions on other machines as well. Of course, one couldn't use shared
memory in such a case, but it would make it much easier for people with
several licensed machines in their labs to tie them together. Does anyone
know of a way to do this now? Xgrid on OSX allows machines to work together,
but not within IDL. PVM works on OSX and in IDL, and I'm thinking of a
hybrid system of having each remote host spawn several IDL bridges locally,
equal to the number of processors on the machine. Thoughts on this, anyone?
In my case, it could lead to a factor of 10 increase in overall speed, if I
can get it to work.
Thanks for any suggestions or cautions!
Dick French



On 12/23/06 1:39 PM, in article C1B2E202.9B83%rfrench@wellesley.edu,
"Richard G. French" <rfrench@wellesley.edu> wrote:

> I'm searching for a way to take advantage of the multiple processors on my
> new OSX Xserve box (4 processors) and MacPro workstation (another
> 4-processor box) to speed up some lengthy calculations. I've started looking
> into using PVM ( http://www.epm.ornl.gov/pvm/pvm_home.html) using Ronn
> Kling's nifty IDLtoPVM interface
> (http://www.kilvarock.com/software/idltopvm.htm) that I now have working
> under OSX (both the old chips and intel), but I'm trying to find a way to
> avoid having to pass lots lot data across the connections.
>
> Has anyone set up a system with, say, four separate IDL processes on a
> single machine with 4 processors, and found a convenient way to share memory
> and tasks between them? What I'd like to to is to find an easy way to
> communicate between the 4 IDL processes (perhaps using PVM) without having
> to send lots of data across the pipes. Suggestions, anyone?
>
> I'm also looking into FastDL, but I want a bit more experience with the less
> expensive alternatives first.
>
> Thanks,
>
> Dick French
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Find number of processors on a machine?
Next Topic: Envi: suggest how to save gcps to an ascii file

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

Current Time: Wed Oct 08 11:36:50 PDT 2025

Total time taken to generate the page: 0.00638 seconds