Skip to content
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

Sync NetCDF file at every write #3101

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading