Skip to content

Conversation

@jaelynlitz
Copy link
Collaborator

@jaelynlitz jaelynlitz commented Nov 8, 2024

opened to take over #295 to have a clean starting point to debug from

@jaelynlitz
Copy link
Collaborator Author

Thanks @odiazib ! Finally ready for a review & merge 😄

@codecov
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 91.87500% with 13 lines in your changes missing coverage. Please review.

Project coverage is 95.87%. Comparing base (59990d4) to head (18435bf).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/mam4xx/mo_sethet.hpp 91.87% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #373      +/-   ##
==========================================
- Coverage   95.92%   95.87%   -0.05%     
==========================================
  Files          45       45              
  Lines        9172     9306     +134     
==========================================
+ Hits         8798     8922     +124     
- Misses        374      384      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@jeff-cohere jeff-cohere left a comment

Choose a reason for hiding this comment

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

I left a couple of comments. Thanks for replacing the other PR with this one, @jaelynlitz .

Copy link
Contributor

@singhbalwinder singhbalwinder left a comment

Choose a reason for hiding this comment

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

Thanks for your hard work and getting it to the finish line!

@jaelynlitz jaelynlitz merged commit 48451ae into main Nov 9, 2024
8 checks passed
@jaelynlitz jaelynlitz deleted the jaelynlitz-oscar/mo_sethet_dev branch November 9, 2024 00:29
mjs271 pushed a commit that referenced this pull request Dec 21, 2024
* convert fortran of sethet to c++

* use pcnst value from modal_aer_opt

* polish sethet

* compile

* add parameters

* fix parens

* remove extra const

* fix includes

* code compiles and test runs (and fails)

* change gas_pcnst and tolerance

* format

* add comments

* fix gas_washout, indexing issues in sethet

* format

* fix indexes and validation

* remove kokkos for from gas_washout

* format and cleanup

* remove changes in mo_chm_diags

* cleanup var name [skip-ci]

* cleanup

* add barrier to stop intermittent race condition(?)

* add more parallelism in sethet and calc_precip_rescale

* format

* cleanup

* fix compile errors

* change loops to vector ranges

* change tolerance

* format

* add additional parallel fors

* format

* add parallel reduces to calc_precip_rescale

* Starting from the commit where tests are passing on GPUs and CPUs, we first switch from ThreadVectorRange to TeamVectorRange; remove unneeded initialization. Remove team and parallelism from gas_washout.

* Fix compilation error in CUDA.

* Remove parallel_for to fix CUDA sethet test.

* Remove team_barriers and combine parallels.

* Clang format.

* address review comments and format

* address bugs from reviews

---------

Co-authored-by: Oscar Diaz-Ibarra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants