Just a short query regarding a basic implementation of the ParallelTable built-in function vs the Table function for the purpose of appending an empty list defined outside the Table.
Please see the attached code, why does Table append list a = {} but ParallelTable does not append list b = {}? How do you remedy this? Thanks.
I found the answer.
SetSharedVariable[b];
Hi,ParallelTable is not compatible with AppendTo.
Why you don't write simply:
b=PäralleTable[1,{i,1,10}];b
Reda.
SetSharedVariable oh! good!