Skip to content

Standard-conforming Format Descriptors with Fortran 2023 #839

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

Merged
merged 2 commits into from
May 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/post_process/m_start_up.f90
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ subroutine s_perform_time_step(t_step)
integer, intent(inout) :: t_step
if (proc_rank == 0) then
if (cfl_dt) then
print '(" ["I3"%] Saving "I8" of "I0"")', &
print '(" [", I3, "%] Saving ", I8, " of ", I0, "")', &
int(ceiling(100._wp*(real(t_step - n_start)/(n_save)))), &
t_step, n_save
else
print '(" ["I3"%] Saving "I8" of "I0" @ t_step = "I0"")', &
print '(" [", I3, "%] Saving ", I8, " of ", I0, " @ t_step = ", I0, "")', &
int(ceiling(100._wp*(real(t_step - t_step_start)/(t_step_stop - t_step_start + 1)))), &
(t_step - t_step_start)/t_step_save + 1, &
(t_step_stop - t_step_start)/t_step_save + 1, &
Expand Down Expand Up @@ -708,7 +708,7 @@ subroutine s_initialize_mpi_domain
call s_read_input_file()
call s_check_input_file()

print '(" Post-processing a "I0"x"I0"x"I0" case on "I0" rank(s)")', m, n, p, num_procs
print '(" Post-processing a ", I0, "x", I0, "x", I0, " case on ", I0, " rank(s)")', m, n, p, num_procs
end if

! Broadcasting the user inputs to all of the processors and performing the
Expand Down
2 changes: 1 addition & 1 deletion src/pre_process/m_start_up.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ contains
call s_read_input_file()
call s_check_input_file()

print '(" Pre-processing a "I0"x"I0"x"I0" case on "I0" rank(s)")', m, n, p, num_procs
print '(" Pre-processing a ", I0, "x", I0, "x", I0, " case on ", I0, " rank(s)")', m, n, p, num_procs
end if

! Broadcasting the user inputs to all of the processors and performing the
Expand Down
4 changes: 2 additions & 2 deletions src/simulation/m_start_up.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -1279,15 +1279,15 @@ contains

if (cfl_dt) then
if (proc_rank == 0 .and. mod(t_step - t_step_start, t_step_print) == 0) then
print '(" ["I3"%] Time "ES16.6" dt = "ES16.6" @ Time Step = "I8"")', &
print '(" [", I3, "%] Time ", ES16.6, " dt = ", ES16.6, " @ Time Step = ", I8, "")', &
int(ceiling(100._wp*(mytime/t_stop))), &
mytime, &
dt, &
t_step
end if
else
if (proc_rank == 0 .and. mod(t_step - t_step_start, t_step_print) == 0) then
print '(" ["I3"%] Time step "I8" of "I0" @ t_step = "I0"")', &
print '(" [", I3, "%] Time step ", I8, " of ", I0, " @ t_step = ", I0, "")', &
int(ceiling(100._wp*(real(t_step - t_step_start)/(t_step_stop - t_step_start + 1)))), &
t_step - t_step_start + 1, &
t_step_stop - t_step_start + 1, &
Expand Down
Loading