Skip to content

Conversation

tcclevenger
Copy link
Contributor

lat/lon are used on both host and device in run_impl(), but when IOP is used we were changing the value without syncing to host.

lat/lon are used on both host and device in run_impl(), but when IOP is used we were changing the value without syncing to host.
@tcclevenger tcclevenger added radiation regarding the radiation scheme bugfix DP-SCREAM labels Sep 13, 2024
@tcclevenger tcclevenger self-assigned this Sep 13, 2024
Copy link
Contributor

@bogensch bogensch left a comment

Choose a reason for hiding this comment

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

Confirmed that this fixes the problem of weird behavior with incoming solar radiation on pm-gpu. yay!

@tcclevenger
Copy link
Contributor Author

I tested on PM-GPU/CPU (this branch + revert P3-PR causing fails) and all passes. This only affects IOP code, so no surprise, and @bogensch tested for IOP runs and this resolves our issues. I'm going to merge.

@tcclevenger tcclevenger merged commit 25120ff into master Sep 16, 2024
3 checks passed
@tcclevenger tcclevenger deleted the tcclevenger/lat_lon_iop_in_rrtmgp_sync branch September 16, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix DP-SCREAM radiation regarding the radiation scheme
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants