1538 ib state file per process io#1540
Conversation
Claude Code ReviewHead SHA: a6ec4b3 Files changed:
Findings1. Duplicate if (proc_rank == 0) then
file_loc = trim(case_dir) // '/restart_data/lustre_' // trim(t_step_string)
call my_inquire(file_loc, dir_check)
if (dir_check .neqv. .true.) then
call s_create_directory(trim(file_loc)) ! conditional — correct
end if
call s_create_directory(trim(file_loc)) ! unconditional — bug
end ifThe second |
|
Addressed AI review comment. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1540 +/- ##
==========================================
- Coverage 60.80% 60.58% -0.22%
==========================================
Files 73 73
Lines 20199 20271 +72
Branches 2932 2948 +16
==========================================
Hits 12281 12281
- Misses 5932 6002 +70
- Partials 1986 1988 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
Integrated IB code with the
file_per_processflag, which allows IB state and IB marker data to both be written as file_per_process output. This should optimize file IO for large-scale HPC runs with immersed boundaries.Closes #1538
Type of change (delete unused ones)
Testing
I ran several iterations of the 2D_mibm_shock_cylinder case on GNU and NVHPC compilers using file_per_process enabled and ib_state_wrt. A restart was performed half-way through the simulation (t_step = 1000) to verify that case restarts work as well.