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

Home » Public Forums » archive » SHMMAP of a variable already existing in memory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
SHMMAP of a variable already existing in memory [message #68308] Mon, 12 October 2009 09:31
Pau Prats is currently offline  Pau Prats
Messages: 1
Registered: October 2009
Junior Member
I would like to use the IDL_IDLBridge to parallelize my programs.
SHMMAP can help by sharing a common block of memory among different
processes. However, the way SHMMAP works, I cannot share a variable
that exists already in memory, i.e. first I have to call SHMMAP to
allocate the memory, and afterwards fill it with the content of the
original variable. This means I am doubling the amount of memory I
need, even if it is for a short time. Since I might work with quite
large arrays (>5GB) this is not efficient. Is there a way to avoid
this, i.e. to share directly the original variable already stored in
memory without having to use twice the memory?

Thank you,

pau
[Message index]
 
Read Message
Previous Topic: Multiple plots in one figure
Next Topic: Browse for Cloud-Free MODIS Images

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

Current Time: Wed Oct 08 19:03:12 PDT 2025

Total time taken to generate the page: 0.00443 seconds