MathGroup Archive 2010

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

Search the Archive

Checking that MathKernel is still running

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107359] Checking that MathKernel is still running
  • From: Alexey <lehin.p at gmail.com>
  • Date: Wed, 10 Feb 2010 03:37:24 -0500 (EST)

Hello,

I have a program that uses separate MathKernel for a very long
computation. Main kernel calls
LinkWrite[link, EvaluatePacket[...]]
then calls
LinkRead[link]
and waits until the computation will be completed.

But sometimes this additional kernel may shut down due to some reason
("No more memory available" or just due to a bug). When this happens
the main MathKernel (which launches additional kernel) goes to
infinite loop with 100% CPU usage. Is it possible to control such
situation and handle MathKernel's automatic shutdown inside the main
MathKernel?



  • Prev by Date: A question about Graphics3D
  • Next by Date: Upright \[Micro] in AxesLabel
  • Previous by thread: Re: A question about Graphics3D
  • Next by thread: Upright \[Micro] in AxesLabel