Scheduling influences on simulation outcomes?
Scheduling influences on simulation outcomes?
Posted Jun 5, 2025 10:37 UTC (Thu) by taladar (subscriber, #68407)Parent article: The importance of free software to science
Wouldn't the simulation programs need to take some additional precautions for full reproducibility of the results similar to the way compilers do for compiling reproducible code or games do for reproducible seed-based procedural generation?
I am thinking of things like not using shared PRNGs from multiple threads where the scheduling order might then give each thread different parts of its (otherwise deterministic) output depending on which thread is scheduled first.
But beyond that some auto-configuration of the program might also be a problem, e.g. detecting the RAM size or CPU core count and scaling operations by that by spawning more threads or processing larger batches at a time.
