You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, OpenMC only reports wall-clock times. For users wishing to obtain CPU times for scaling studies and other purposes, they must rely on an external timer. It would be nice if OpenMC had this capability internally.
For wall-clock times, it looks like OpenMC uses the <chrono> library. It looks like for getting cputime, we'll want to use the clock() function in the <ctime> library. We will also need to perform some kind of MPI_Reduce to collect cputimes across all MPI ranks.
Alternatives
N/A
Compatibility
There should be no change to the existing API other than a new dataset in statepoint file.
The text was updated successfully, but these errors were encountered:
Description
Currently, OpenMC only reports wall-clock times. For users wishing to obtain CPU times for scaling studies and other purposes, they must rely on an external timer. It would be nice if OpenMC had this capability internally.
For wall-clock times, it looks like OpenMC uses the
<chrono>
library. It looks like for getting cputime, we'll want to use theclock()
function in the<ctime>
library. We will also need to perform some kind ofMPI_Reduce
to collect cputimes across all MPI ranks.Alternatives
N/A
Compatibility
There should be no change to the existing API other than a new dataset in statepoint file.
The text was updated successfully, but these errors were encountered: