Skip to content

Commit

Permalink
Fix partially re-named logical
Browse files Browse the repository at this point in the history
Left over changes from 80b13e5
  • Loading branch information
bhourahine committed May 7, 2022
1 parent d2062d2 commit 49d3c97
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/test_allgather.f90
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ program test_allgather
write(formstr, "(A,I0,A)") "A,", size(recv1), "(1X,I0))"
write(*, label // formstr) 2, mycomm%rank, "Recv1 buffer:", recv1(:)
if (sum(recv1) /= mycomm%size * (mycomm%size-1)) then
tPassed = .false.
isPassed = .false.
else
tPassed = .true.
isPassed = .true.
end if
call testReturn(mycomm, tPassed)
call testReturn(mycomm, isPassed)
deallocate(recv1)

! I1 -> I1
Expand All @@ -42,11 +42,11 @@ program test_allgather
write(formstr, "(A,I0,A)") "A,", size(recv1), "(1X,I0))"
write(*, label // formstr) 4, mycomm%rank, "Recv1 buffer:", recv1
if (sum(recv1) /= mycomm%size**2) then
tPassed = .false.
isPassed = .false.
else
tPassed = .true.
isPassed = .true.
end if
call testReturn(mycomm, tPassed)
call testReturn(mycomm, isPassed)

! I1 -> I2
allocate(recv2(size(send1), mycomm%size))
Expand All @@ -58,11 +58,11 @@ program test_allgather
write(formstr, "(A,I0,A)") "A,", size(recv2), "(1X,I0))"
write(*, label // formstr) 6, mycomm%rank, "Recv2 buffer:", recv2
if (sum(recv1) /= mycomm%size**2) then
tPassed = .false.
isPassed = .false.
else
tPassed = .true.
isPassed = .true.
end if
call testReturn(mycomm, tPassed)
call testReturn(mycomm, isPassed)

call mpifx_finalize()

Expand Down

0 comments on commit 49d3c97

Please sign in to comment.