Re: IDL_IDLBridge and the virtual machine [message #89145 is a reply to message #83528] |
Mon, 28 July 2014 04:36  |
Jie Zhou
Messages: 27 Registered: February 2014
|
Junior Member |
|
|
On Wednesday, March 13, 2013 12:58:07 PM UTC+1, Helder wrote:
> Hi,
>
> I would like to use the IDL_IDLBridge, but I just read in the documentation that it is not possible to use execute, getvar and setvar methods in VM mode.
>
> This is quite annoying, but is there another functional way to parallelize computations in IDL?
>
>
>
> I basically have a list of n images (n~100, maybe more) and I perform computations on images k with k-1 for the whole list. I wanted to start computations separately:
>
>
>
> Res1 = ComputationFunction(RefImg=0, Img=1)
>
> Res2 = ComputationFunction(RefImg=1, Img=2)
>
> Res3 = ComputationFunction(RefImg=2, Img=3)
>
> ...
>
> and put all the results in an array.
>
>
>
> Any suggestions?
>
>
>
> I could try writing a batch process and producing a .sav that puts the result in a file and so on... but this seems a bit "dirty".
>
>
>
> Thanks,
>
> Helder
Just after copy the license folder under the IDLDIR directory to the distribution directory, the multiprocessing CUP works. It seems now the save file works in runtime mode. Good luck.
Jie
|
|
|