27 Apr
2015
27 Apr
'15
1:55 p.m.
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 -- ------ Johannes Pfeifer Department of Economics University of Mannheim L7, 3-5, Room 242 68131 Mannheim Germany +49 (0)621 181-3430