MathGroup Archive 2005

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

Search the Archive

JLink share kernel from multiple Java Applications

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61498] JLink share kernel from multiple Java Applications
  • From: j michopoulos <john.michopoulos at nrl.navy.mil>
  • Date: Thu, 20 Oct 2005 00:56:18 -0400 (EDT)
  • Reply-to: john.michopoulos at nrl.navy.mil
  • Sender: owner-wri-mathgroup at wolfram.com

While one can use the ShareKernel[] call within mathematica to share one 
kernel with multiple front-ends as explained in 
http://support.wolfram.com/mathematica/mathlink/general/sharekernel.html, 
I cannot find anywhere any info how to share a kernel that was started 
by one instance of a Java App front end via a standard 
MathLinkFactory.createKernelLink(...) call, and then be discovered by 
another application or instance of the previous App to continue 
expression evaluation under the original kernel.

I have created Mathematica actors for the Ptolemy-II system 
(http://ptolemy.eecs.berkeley.edu/ptolemyII/) that open and close the 
kernel around the designated expression evaluation for the purpose of 
automating theory generation, but now I need a variant of these actors 
that exploit the same environment and that requires that they both 
access the same Kernel which makes it a special case of he problem I 
described in the previous paragraph.

I would enormously appreciate any help along these lines..


-- john m.
========================================
John G. Michopoulos, Ph. D.
Naval Research Laboratory,
Center of Computational Material Science
Special Projects Group, Code 6390.2
Computational Multiphysics Systems Lab.
4555 Overlook Ave. SW, Washington DC 20375
tel.202.767.2189
e-mail: john.michopoulos at nrl.navy.mil


  • Prev by Date: Re: Can the user create CellGroupingRules?
  • Next by Date: Re: Re: Language vs. Library why it matters
  • Previous by thread: GradPack v1.1
  • Next by thread: Re: regress versus fit - force through zero/forceconstant term to zero