Assigning Realizations to Multiple Clients at the End of the Simulation

In some cases, when running a simulation with multiple realizations, it is possible that one or more of the realizations may “stall” or run very slowly for unanticipated reasons (e.g., due to hardware issues on the Client Also referred to as a Client process. A GoldSim executable running on a client machine that can be used to carry out distributed processing of a Monte Carlo simulation using the Distributed Processing Module. machine, or just because that particular Client is slow).  In this situation, it is possible for all of the realizations except a small number to be complete. As a result, the simulation may take an extremely long time to finish (as it is waiting for the last few realizations to complete on the “slow” Clients). 

To address this situation, toward the end of a simulation, if one or more Clients have no realizations assigned to them, you can instruct GoldSim to assign any incomplete realizations to the unused Clients. As a result, a realization A single model run within a Monte Carlo simulation. It represents one possible path the system could follow through time. can be assigned to multiple Clients. As soon as one of the Clients completes the realization, the other Clients working on the same realization are told to stop.

You can enable this behavior so that unfinished realizations are assigned to idle Clients by creating a registry DWORD called EnableReassignRealization in HKEY_CURRENT_USER\Software\GTG\GoldSim\Settings\ and setting it equal to a nonzero value. A value of 0 (or absence of the key) disables the behavior.

Note: This key is only meaningful if defined on the computer running the Controller process A GoldSim executable that manages Client processes in order to carry out distributed processing of a Monte Carlo simulation using the Distributed Processing Module..