Having Trouble with DistributeDefinitions
- To: mathgroup at smc.vnet.net
- Subject: [mg116174] Having Trouble with DistributeDefinitions
- From: Thomas Melehan <tpmelehan at gmail.com>
- Date: Fri, 4 Feb 2011 01:38:35 -0500 (EST)
Folks: I have been utilizing DistributeDefinition[myFunctionDef] with success in the past. Lately when I run the function I get the following errors: During evaluation of In[2]:= LinkObject::linkd : "Unable to communicate with closed link \ LinkObject["'/Applications/Mathematica.app/Contents/MacOS/MathKernel' \ -subkernel -noinit -mathlink", 71, 11]. =E2=80=98=E2=84=A2=CB=9CButtonBox["", Appearance->{Automatic, None}, BaseStyle->"Link", ButtonData:>"paclet:ref/message/LinkObject/linkd", ButtonNote->"LinkObject::linkd"]" During evaluation of In[2]:= LinkObject::linkn : "Argument \ LinkObject["'/Applications/Mathematica.app/Contents/MacOS/MathKernel' \ -subkernel -noinit -mathlink", 71, 11] in \ LinkWrite[LinkObject["'/Applications/Mathematica.app/Contents/MacOS/\ MathKernel' -subkernel -noinit -mathlink", 71, 11], \ SetSystemOptions["ProcessPriority" =E2=86=92 -1];] has an invalid LinkObject number; \ the link may be closed. =E2=80=98=E2=84=A2=CB=9CButtonBox["", Appearance->{Automatic, None}, BaseStyle->"Link", ButtonData:>"paclet:ref/message/LinkObject/linkn", ButtonNote->"LinkObject::linkn"]" During evaluation of In[2]:= LinkObject::linkn : "Argument \ LinkObject["'/Applications/Mathematica.app/Contents/MacOS/MathKernel' \ -subkernel -noinit -mathlink", 71, 11] in \ LinkWrite[LinkObject["'/Applications/Mathematica.app/Contents/MacOS/\ MathKernel' -subkernel -noinit -mathlink", 71, 11], \ EvaluatePacket[SubKernels`Private`ConnectionTest]] has an invalid LinkObject \ number; the link may be closed. =E2=80=98=E2=84=A2=CB=9CButtonBox["", Appearance->{Automatic, None}, BaseStyle->"Link", ButtonData:>"paclet:ref/message/LinkObject/linkn", ButtonNote->"LinkObject::linkn"]" During evaluation of In[2]:= KernelObject::rdead : "Subkernel connected through "local"["local"] \ appears dead. =E2=80=98=E2=84=A2=CB=9CButtonBox["", Appearance->{Automatic, None}, BaseStyle->"Link", ButtonData:>"paclet:ref/KernelObject", ButtonNote->"KernelObject::rdead"]" Out[2]= {=E2=80=98=E2=84=A2=CB=9C TagBox["tryFunctDef", HoldForm]} It seems I can only access three out of the four Kernels available on my machine. I am using Matheamtica 8 on a Mac OSX 10.6.6. I think this may have coincided with a change from Mathematica 7 to Mathematica 8. Any help?