Skip to content

Commit

Permalink
Fix error message formatting in
Browse files Browse the repository at this point in the history
read_input_module.f90
  • Loading branch information
kohei-noda-qcrg committed Dec 15, 2023
1 parent ee6f324 commit 7a4885a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/read_input_module.f90
Original file line number Diff line number Diff line change
Expand Up @@ -735,8 +735,9 @@ subroutine validate_nroot_selectroot
if (nroot < selectroot) then
if (rank == 0) then
print *, "ERROR: The number of root must be larger than or equal to the number of selected root."
print *, "The number of root:", nroot
print *, "The number of selected root:", selectroot
print '(a,i0)', "The number of root: ", nroot
print '(a,i0)', "The number of selected root: ", selectroot
print *, "Please check your input file."
print *, "Exit the program."
end if
call stop_with_errorcode(1)
Expand Down

0 comments on commit 7a4885a

Please sign in to comment.