Skip to content

Commit ca592ef

Browse files
authored
fix: typo in pe variable name for mpp_init_warninglog (#1550)
1 parent 7d8aa21 commit ca592ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mpp/include/mpp_util.inc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,10 @@
122122

123123
!> Opens the warning log file, called during mpp_init
124124
subroutine mpp_init_warninglog()
125-
integer :: p
126125
logical :: exist
127126
character(len=11) :: this_pe
128127
if( pe.EQ.root_pe )then
129-
write(this_pe,'(a,i6.6,a)') '.',p,'.out'
128+
write(this_pe,'(a,i6.6,a)') '.',pe,'.out'
130129
inquire( file=trim(warnfile)//this_pe, exist=exist )
131130
if(exist)then
132131
open(newunit=warn_unit, file=trim(warnfile)//this_pe, status='REPLACE' )

0 commit comments

Comments
 (0)