Hi, does anyone know how parallel execution works with global variables? In random_walk_metropolis_hastings.m we define at the beginning
global objective_function_penalty_base objective_function_penalty_base = Inf;
How is this variablem treated in parallel execution. In particular, what happens if one of the instances/nodes changes this value for objective_function_penalty_base? Does this affect all other nodes? Or does each node keep its own instance of the global variable?
I would be grateful for any insights.
Best,
Johannes