As a basic user of Mathematica 12, on a Mac (10.14 / 10.15), I was rather pleased that I got parallize working. What I had was the following:
Parallelize[Table[Fold[montecarlofunction[#1, baseValue, #2] &, startValue,aRandomSelection[[aSelection]]], (aSelection, numberOfTrials)]]
This was all working nicely until I tried to add a bit of logging into the ‘montecarlofunction’. The logging was used to verify the function for a single run. The result was very slow Parallelize (reason was an append to a list being used as the log). When I finally realised my error I then aborted the calculation removed the logging and reran the Parallelize. It came up with “the kernel is not responding to a dynamic evaluation”. Since then the Paralelizing always fails with the error. Without Parallelize it ran. Until today. Even in the single run run of my function I got the the “kernel is not responding to a dynamic evaluation”. This single run has been working without problems for at least a year.
Even better - after a clean install of Mathematica I still get the error, lots of beach ball. Today I got the error if I open help, if the mouse goes over a graphic, etc, in fact when ever Mathematica randomly decides to do so. The way to stop it is to stop the Kernel but that’s not a solution. So what is it’s cause? If there a way to find out what is causing the dynamic evaluation. The very odd thing about all of this is that the error appeared from one moment to the next. My first reaction was it must be something Apple changed in the OS or firmware due to an overnight update. But that seems rather unlikely as more user would have this problem. Assuming that somewhere in my code I have something that is causing this. How would I go about finding this?
Any suggestion?