-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
negative throughput numbers reported #511
Comments
Mentioning @lizziel, who reported this concern. |
@tclune Would moving our |
I don't think accuracy is a concern. Just the rollover at MAX_TICK. But I'm not opposed to an MP_Wtime() solution either. |
Well, we have a good mix. Files using
Files using
Luckily we have no files using both! 😄 |
Yeah - I (probably for no good reason) tend to favor the Fortran intrinsics over use of a library. But if one knows that MPI is always being linked, it's hard to argue against All of the ones you found that are not tests/demos should be considered for adoption of the new profiler. (Except of course, inside the profiler itself which intentionally provides multiple interfaces.) |
@tclune @weiyuan-jiang Has the new profiler been spread enough in GEOS to consider this "fixed"? It does look like we still have a good mix: ❯ rg mpi_wtime -l | sort
base/MAPL_Generic.F90
base/MAPL_IO.F90
gridcomps/Cap/MAPL_CapGridComp.F90
pfio/BaseServer.F90
pfio/MultiLayerServer.F90
pfio/tests/pfio_performance.F90
profiler/MpiTimerGauge.F90
❯ rg system_clock -l | sort
base/MAPL_Profiler.F90
base/cub2latlon_regridder.F90
base/tests/testbin.F90
gridcomps/Cap/MAPL_Cap.F90
pfio/pfio_collective_demo.F90
pfio/pfio_io_demo.F90
pfio/tests/pfio_ctest_io.F90
profiler/FortranTimerGauge.F90 |
…ock-int64 Fixes #511. Use INT64 for SYSTEM_CLOCK
Reexamined on 2021-Apr-12 with @bena-nasa and @tclune |
Several users have reported negative values for throughput from MAPL_Cap.
The timers are using
system_clock()
with default integers instead of 64 bit which greatly increases the odds that the clock will "roll over" during a run. Should be a simple fix.The text was updated successfully, but these errors were encountered: