Hello, I am trying find a way to let the user know the progress of a calculation. ProgressIndicator or scheduledtask has some drawbacks for me so I can't really use those.
What I would like to do something like
d = 0;
SetSharedVariable[d];
nprecision = 1000;
ParallelEvaluate[dl = 0];
aInu = Table[
If[Mod[iC, nprecision*0.2] == 0, d = d + 1;
prcounter =
CreateDialog[
Row@{Style["Calculation progress ", 12, Red], 20*d,
Style["%", 12, Red]}];];
aInu = 50*50;
If[Mod[iC, nprecision*0.2] == 0, NotebookClose[prcounter];];
, {iC, nprecision}];
I am getting an error for frontend. I know that it is because of the Parallel computation. But I am not able find a way around. Any suggestions?