I am trying to run some simulation with ParrallelTable
with the following code
SetSharedVariable[simCount]; simCount = 0; Monitor[data = ParallelTable[simCount += 1; longSimulation[], {i, 1, 100}], simCount];
I learned to do this from this question. However, I noticed that this code shows the number of simCount
jumps to 100
very quickly, and then stop there for a long time to actually do the job.
I am using Mathematica 12.1. I suspect the way Monitor and ParallelTable interact has changed a bit. How can I get this to work again?