From 405e2f5450e9500563e575293c0ee9842e5dd310 Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Fri, 2 Aug 2024 11:44:24 -0700 Subject: [PATCH] Fix flame files not uploaded to buildkite Closes #714 --- .buildkite/pipeline.yml | 2 +- experiments/integrated/performance/profile_allocations.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 236e15fb9a..d67b1d82ae 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -172,7 +172,7 @@ steps: agents: slurm_ntasks: 1 slurm_gres: "gpu:p100:1" - artifact_paths: "experiments/integrated/performance/*gpu*html" + artifact_paths: "experiments/integrated/performance/flame*html" - label: "Global Bucket on GPU (functional albedo)" key: "global_bucket_function_gpu" diff --git a/experiments/integrated/performance/profile_allocations.jl b/experiments/integrated/performance/profile_allocations.jl index a38d7cab14..0236b9248f 100644 --- a/experiments/integrated/performance/profile_allocations.jl +++ b/experiments/integrated/performance/profile_allocations.jl @@ -398,7 +398,7 @@ if PROFILING results = Profile.fetch() flame_file = joinpath(savedir, "flame_$(device_suffix).html") ProfileCanvas.html_file(flame_file, results) - @info "Save compute flame to flame_file" + @info "Save compute flame to $(flame_file)" Y, p = set_initial_conditions(land, t0) updateat = Array(t0:dt:tf) drivers = ClimaLand.get_drivers(land) @@ -424,5 +424,5 @@ if PROFILING profile = ProfileCanvas.view_allocs(results) alloc_flame_file = joinpath(savedir, "alloc_flame_$(device_suffix).html") ProfileCanvas.html_file(alloc_flame_file, profile) - @info "Save allocation flame to alloc_flame_file" + @info "Save allocation flame to $(alloc_flame_file)" end