Skip to content

Commit

Permalink
Merge pull request #3101 from CliMA/gb/sync
Browse files Browse the repository at this point in the history
Sync NetCDF file at every write
  • Loading branch information
Sbozzolo authored Jun 18, 2024
2 parents 43ec94e + 2015f22 commit 92ab0ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perf/flame.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ ProfileCanvas.html_file(joinpath(output_dir, "flame.html"), results)
#####

allocs_limit = Dict()
allocs_limit["flame_perf_target"] = 1_160_723
allocs_limit["flame_perf_target"] = 1_298_056
allocs_limit["flame_perf_target_tracers"] = 1_378_216
allocs_limit["flame_perf_target_edmfx"] = 1_383_200
allocs_limit["flame_perf_diagnostics"] = 21_359_336
allocs_limit["flame_perf_target_diagnostic_edmfx"] = 1_936_480
allocs_limit["flame_perf_target_frierson"] = 1_378_072
allocs_limit["flame_perf_target_threaded"] = 2_298_355
allocs_limit["flame_perf_target_callbacks"] = 1_285_460
allocs_limit["flame_perf_target_callbacks"] = 1_446_496
allocs_limit["flame_perf_gw"] = 3_268_961_856
allocs_limit["flame_perf_target_prognostic_edmfx_aquaplanet"] = 4_000_488
allocs_limit["flame_gpu_implicit_barowave_moist"] = 336_378
Expand Down
1 change: 1 addition & 0 deletions src/callbacks/get_callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function get_diagnostics(parsed_args, atmos_model, Y, p, t_start, dt)
p.output_dir,
num_points = num_netcdf_points;
z_sampling_method,
sync_schedule = CAD.EveryStepSchedule(),
)
writers = (hdf5_writer, netcdf_writer)

Expand Down

0 comments on commit 92ab0ec

Please sign in to comment.