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

add GPU slabplanet file read albedo runs #589

Merged
merged 3 commits into from
Feb 10, 2024

Conversation

juliasloan25
Copy link
Member

@juliasloan25 juliasloan25 commented Feb 1, 2024

Purpose

Add GPU slabplanet runs reading albedo from a static input file and from a temporally-varying input file.

closes #590
part of #390

note: this PR changes GPU runs to soft fail conservation checks. I've opened an issue here so we remember to revisit this: #607
note also: we can't currently show animations for these runs because they aren't GPU-compatible, but we have an issue for this too #613

Current status

  • conservation plots look different between CPU and GPU runs

To do

  • double check that all runs are outputting plots

@juliasloan25 juliasloan25 added 🍃 leaf Issue coupled to a PR GPU labels Feb 1, 2024
@juliasloan25 juliasloan25 self-assigned this Feb 1, 2024
@juliasloan25 juliasloan25 changed the title add slabplanet static map albedo run add slabplanet file read albedo runs Feb 1, 2024
@juliasloan25 juliasloan25 changed the title add slabplanet file read albedo runs add GPU slabplanet file read albedo runs Feb 1, 2024
@juliasloan25 juliasloan25 force-pushed the js/slabplanet-albedo-static branch 2 times, most recently from a65f651 to d77c21a Compare February 8, 2024 23:31
@juliasloan25 juliasloan25 force-pushed the js/slabplanet-albedo-static branch 3 times, most recently from 3d631af to 8756b78 Compare February 9, 2024 21:00
@juliasloan25 juliasloan25 force-pushed the js/slabplanet-albedo-static branch from 8756b78 to 079f558 Compare February 9, 2024 21:36
Copy link
Collaborator

@LenkaNovak LenkaNovak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Julia. I hadn't appreciated just how much the GPU runs depart from the CPU ones. This is beyond the floating point errors / small mismatches in energy checks. Let's try to target #607 next.

@@ -349,7 +349,23 @@ steps:
- label: "GPU Slabplanet: albedo from function"
key: "gpu_slabplanet_albedo_function"
command: "julia --color=yes --project=experiments/AMIP/ experiments/AMIP/coupler_driver.jl --config_file $CONFIG_PATH/gpu_slabplanet_albedo_function.yml"
artifact_paths: "experiments/AMIP/output/gpu/slabplanet/gpu_slabplanet_albedo_function_artifacts/*"
artifact_paths: "experiments/AMIP/output/slabplanet/gpu_slabplanet_albedo_function_artifacts/*"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, looking at the conservation plots, there is definitely something wrong with energy for the GPU runs. I would expect these to be that different. E.g. for function CPU v GPU:

Screen Shot 2024-02-09 at 2 55 11 PM

It would be good for us to try to debug this as the next step.

@juliasloan25 juliasloan25 force-pushed the js/slabplanet-albedo-static branch from 079f558 to 3beeccb Compare February 9, 2024 23:20
@juliasloan25 juliasloan25 merged commit a003ba3 into main Feb 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GPU 🍃 leaf Issue coupled to a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

run GPU slabplanet with albedo from file
2 participants