Tag Info

New answers tagged

0

In retrospect, all the clues were thereā€¦ In order to run evolve on the parallel kernels Mathematica must first distribute the necessary definitions to those kernels, and recursively distribute the definitions involved in those definitions, all the way back. Which in my case turned out to involve way too much data (mostly a bunch of InterpolatingFunctions) ...


1

Did you try DistributeDefinitions[evolve] before running ParallelTable ?


1

Please run the following. Directory[] Next run the following NotebookSave[Notebook[{}], FileNameJoin[{Directory[], "savetest.m"}]] If you receive an error I would try reinstalling Mathematica.


0

Maybe a little bit late answer, but this User Guide can help you. Between requests, just Global context will be automatically cleaned, so you don't have to reload your package ever time a request is done (if you are using some).


4

You can use Evaluate to "force evaluation of the right-hand side of a delayed definition" (as stated in its documentation). For example f[x_] := Simplify[Sqrt[x^2], x > 0] Definition@f f[x_] := Simplify[Sqrt[x^2], x > 0] g[x_] := Evaluate@Simplify[Sqrt[x^2], x > 0] Definition@g g[x_] := x


4

Because there seems to be no quality resource or documentation on this subject, I will attempt to provide as close of a hand-holding solution as possible. I think this is feasible in the present case since we are restricting ourselves to one version of Mathematica on one platform (the RPi). My setup I have two RPis on my internal network. The local RPi ...


3

Pulling the Linksnooper out of your pocket was the right call and I guess you would have found this yourself soon. Please don't ask me about the why, because I don't know it. Additionally, I have only tested this on Linux. Let's create a small test using the "EvaluatorAbort" FE token Button["Abort", FrontEndExecute[FrontEndToken["EvaluatorAbort"]]] You ...



Top 50 recent answers are included