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

Feature/do concurrent #52

Merged
merged 10 commits into from
Sep 6, 2024
Merged

Feature/do concurrent #52

merged 10 commits into from
Sep 6, 2024

Conversation

fluidnumerics-joe
Copy link
Member

This PR is related to #51

OpenMP pragmas have been completely removed. Computationally heavy loops for 1D, 2D, and 3D have all been replaced with equivalent do concurrent blocks.

The CMake build system has been updated to include two new options (1) SELF_ENABLE_MULTITHREADING and (2) SELF_MULTITHREADING_NTHREADS. Help descriptions are included in the CMakeLists.txt file.

I've tested on Noether and on a local workstation with a [email protected] stack using 4 threads for parallelism.

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

Attention: Patch coverage is 87.17241% with 93 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/SELF_MappedScalar_3D_t.f90 64.28% 40 Missing ⚠️
src/SELF_MappedVector_3D_t.f90 65.21% 40 Missing ⚠️
src/SELF_MappedScalar_2D_t.f90 89.13% 5 Missing ⚠️
src/SELF_MappedVector_2D_t.f90 91.37% 5 Missing ⚠️
src/SELF_Vector_3D_t.f90 96.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@fluidnumerics-joe
Copy link
Member Author

image

Coverage from Noether. I'm going to try adjusting the directory to build/src for lcov to search through for .gcda files; this is more consistent with what we're doing on Noether.

It looks like ctest is exiting prematurely in github actions leading to
low coverage (possibly?)
The tests appear to be running shorter than they should but we're not
getting a failure in the ctests. I noticed that WORKSPACE was not set,
which should definitely cause a problem for any of the mapped* tests.
@fluidnumerics-joe
Copy link
Member Author

@garrettbyrd - This one's ready for your review. I think I've got the coverage issue sorted out as well ( #50 )

Copy link
Collaborator

@garrettbyrd garrettbyrd left a comment

Choose a reason for hiding this comment

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

Nice. Do we also need to change .superci/armory.yml to the updated coverage commands?

@fluidnumerics-joe fluidnumerics-joe merged commit 66ac44c into main Sep 6, 2024
12 checks passed
@fluidnumerics-joe fluidnumerics-joe deleted the feature/do-concurrent branch September 6, 2024 20:28
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.

2 participants