Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: LaunchKernels[] and Java

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128055] Re: LaunchKernels[] and Java
  • From: tredmond59 at gmail.com
  • Date: Wed, 12 Sep 2012 02:58:44 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <k2cd6d$f5s$1@smc.vnet.net> <k2et7q$km5$1@smc.vnet.net>

> I am pretty sure if you use J/Link in 4 kernels, you will get 4 copies
>
> of Java running.

I have done a bit of work and this is pretty much what I have running now. 
 Right now these four java copies are running independently.  This is extremely good but not ideal.

Today I had a new idea which I will try shortly. I was thinking that if I use RMI to make these four java's communicate, I can have one multi-threaded java that has full access to all four kernels.  In fact I am wondering if I can get access to five running kernels - I might be able to also push the master kernel which usually just co-ordinates the work of the other ones.

Thanks for the help - I will let you know if this works.



  • Prev by Date: Solving this in mathematica?
  • Next by Date: Re: LaunchKernels[] and Java
  • Previous by thread: Re: LaunchKernels[] and Java
  • Next by thread: Re: LaunchKernels[] and Java