Skip to content

Commit

Permalink
Fix --gcov flag; remove elemToRank reference
Browse files Browse the repository at this point in the history
* amdflang compiler fails at this reference, for some reason...
  • Loading branch information
fluidnumerics-joe committed Sep 6, 2024
1 parent 9b3ba46 commit a4a586b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-gnu-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
lcov --add-tracefile /home/runner/work/initial.info \
--add-tracefile /home/runner/work/ctest-capture.info \
--gcov=${GCOV} \
--gcov=${{ matrix.gcov }} \
--output-file /home/runner/work/coverage.info
Expand Down
6 changes: 3 additions & 3 deletions src/SELF_MappedScalar_2D_t.f90
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ subroutine SideExchange_MappedScalar2D_t(this,mesh,decomp)
bcid = mesh%sideInfo(5,s1,e1)

if(e2Global /= 0) then
neighborRank = decomp%elemToRank(e2Global)
!neighborRank = decomp%elemToRank(e2Global)

if(neighborRank == decomp%rankId) then
!if(neighborRank == decomp%rankId) then

if(flip == 0) then
do i1 = 1,N+1
Expand All @@ -278,7 +278,7 @@ subroutine SideExchange_MappedScalar2D_t(this,mesh,decomp)

endif

endif
!endif
endif
enddo

Expand Down
6 changes: 3 additions & 3 deletions src/SELF_MappedScalar_3D_t.f90
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ subroutine SideExchange_MappedScalar3D_t(this,mesh,decomp)

if(e2Global /= 0) then

neighborRank = decomp%elemToRank(e2Global)
!neighborRank = decomp%elemToRank(e2Global)

if(neighborRank == rankId) then
!if(neighborRank == rankId) then
e2 = e2Global-offset
if(flip == 0) then

Expand Down Expand Up @@ -417,7 +417,7 @@ subroutine SideExchange_MappedScalar3D_t(this,mesh,decomp)

endif

endif
!endif

enddo

Expand Down
6 changes: 3 additions & 3 deletions src/SELF_MappedVector_2D_t.f90
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ subroutine SideExchange_MappedVector2D_t(this,mesh,decomp)

if(s2 > 0 .or. bcid == 0) then

neighborRank = decomp%elemToRank(e2Global)
!neighborRank = decomp%elemToRank(e2Global)

if(neighborRank == decomp%rankId) then
!if(neighborRank == decomp%rankId) then

if(flip == 0) then

Expand All @@ -288,7 +288,7 @@ subroutine SideExchange_MappedVector2D_t(this,mesh,decomp)

endif

endif
!endif

enddo

Expand Down
6 changes: 3 additions & 3 deletions src/SELF_MappedVector_3D_t.f90
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ subroutine SideExchange_MappedVector3D_t(this,mesh,decomp)

if(e2Global /= 0) then

neighborRank = decomp%elemToRank(e2Global)
!neighborRank = decomp%elemToRank(e2Global)

if(neighborRank == decomp%rankId) then
!if(neighborRank == decomp%rankId) then

if(flip == 0) then

Expand Down Expand Up @@ -375,7 +375,7 @@ subroutine SideExchange_MappedVector3D_t(this,mesh,decomp)

endif

endif
!endif

enddo

Expand Down

0 comments on commit a4a586b

Please sign in to comment.