Skip to content

Commit 6a3aa5d

Browse files
sbryngelsonclaude
andcommitted
Fix residual hardcoded WP_MOK in sequential Lustre read path
The MPI_COMM_SELF read path at line 578 still used int(4._wp, MPI_OFFSET_KIND), assuming single precision. Apply the same storage_size fix as the rest of the PR. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d2efbb8 commit 6a3aa5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/simulation/m_start_up.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ contains
575575
m_MOK = int(m_glb_read + 1, MPI_OFFSET_KIND)
576576
n_MOK = int(m_glb_read + 1, MPI_OFFSET_KIND)
577577
p_MOK = int(m_glb_read + 1, MPI_OFFSET_KIND)
578-
WP_MOK = int(4._wp, MPI_OFFSET_KIND)
578+
WP_MOK = int(storage_size(0._wp)/8, MPI_OFFSET_KIND)
579579
MOK = int(1._wp, MPI_OFFSET_KIND)
580580
str_MOK = int(name_len, MPI_OFFSET_KIND)
581581
NVARS_MOK = int(sys_size, MPI_OFFSET_KIND)

0 commit comments

Comments
 (0)