Skip to content

Commit

Permalink
Fix I/O Bug (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfonba authored Feb 16, 2024
1 parent 2d0b820 commit 9b64246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/post_process/m_data_input.f90
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ subroutine s_read_parallel_data_files(t_step) ! ---------------------------
MPI_DOUBLE_PRECISION, status, ierr)
end do
else
do i = 1, adv_idx%end
do i = 1, sys_size
var_MOK = int(i, MPI_OFFSET_KIND)

! Initial displacement to skip at beginning of file
Expand Down
2 changes: 1 addition & 1 deletion src/simulation/m_start_up.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ contains
end do
end if
else
do i = 1, adv_idx%end
do i = 1, sys_size
var_MOK = int(i, MPI_OFFSET_KIND)

! Initial displacement to skip at beginning of file
Expand Down

0 comments on commit 9b64246

Please sign in to comment.