Re: Shared Variable - Exception Invalid_argument("Marshal.from_size")

Davide Ramaglietta <[email protected]> Fri, 27 Sep 2013 11:33:32 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
Ok, I'm sure now. It is the Stats_ver.get operation that causes the exception. 



On Sep 26, 2013, at 5:52 PM, Davide Ramaglietta <[email protected]> wrote:

> 	Hi,
> 
> I'm sorry to bother you again. 
> I eventually got my asynchronous processor, thanks to your precious hints. 
> 
> I have now a new problem on which I'm stuck. I want to store a global state between all my processes (just an integer counter). 
> I followed the instructions that are in the "Netplex_advanced" documentation but when I try to get the value with Stats_var.get I get the following exception: 
> 
> Exception Invalid_argument("Marshal.from_size")
> 
> I think the problem arises because the variable misses the initialization. 
> If the cause of the exception is actually this, my problem is that I don't know how to access to the variable.
> 
> Any hint would be great.
> 
> Thank you for your time and consideration,
> Davide.
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> Ocamlnet-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk