-
Notifications
You must be signed in to change notification settings - Fork 105
Fix 3D IBM Infinite CFL Number on GPUs #519
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
Conversation
I'm confused by the removal of these: if (ib .and. t_step == 1) then
if (qbmm .and. .not. polytropic) then
call s_ibm_correct_state(q_cons_ts(1)%vf, q_prim_vf, pb_ts(1)%sf, mv_ts(1)%sf)
else
call s_ibm_correct_state(q_cons_ts(1)%vf, q_prim_vf)
end if
end if If you remove all of these then the whole subroutine |
@sbryngelson I think it gets called in a few other places as well. For example: MFC/src/simulation/m_time_steppers.fpp Line 690 in 78fd0c5
I believe it was getting called twice instead of just once at the first time step. |
Ah I see, you're correct @Sam-Briney. Does this fix the issue with the visualization inside the IBM being incorrect on >1 GPU? |
@sbryngelson It does not fix the visualization issue. I thought it might be better to make a more focused PR to make this functionality available in the short term |
Makes sense. Merging. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #519 +/- ##
==========================================
+ Coverage 58.41% 58.44% +0.03%
==========================================
Files 57 57
Lines 14453 14442 -11
Branches 1892 1891 -1
==========================================
- Hits 8443 8441 -2
+ Misses 5449 5440 -9
Partials 561 561 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Samuel Briney <[email protected]>
Description
Fixes 3D IBM infinite CFL number when running on GPUs. These modifications were suggested by @haochey and @anandrdbz via slack
Type of change
Please delete options that are not relevant.
Scope
How Has This Been Tested?
Test Configuration:
The test was run using Nvidia A100 GPUs on HiPerGator at UF
python/3.8, nvhpc/24.5, openmpi/4.1.6, cmake/3.26.4
Checklist
./mfc.sh format
before committing my codeIf your code changes any code source files (anything in
src/simulation
)To make sure the code is performing as expected on GPU devices, I have: