Skip to content
Snippets Groups Projects
Commit 278aebcb authored by Juan Escobar's avatar Juan Escobar
Browse files

Juan 13/08/2021:communication.f90, distribute, BUG in do conccurent zb_st size a_n => b_n

parent 774fc29b
No related branches found
No related tags found
No related merge requests found
...@@ -1918,7 +1918,7 @@ contains ...@@ -1918,7 +1918,7 @@ contains
MPI_DOUBLE_PRECISION,source_rank,recv_tag,MPI_COMM_HORIZ,stat,ierr) MPI_DOUBLE_PRECISION,source_rank,recv_tag,MPI_COMM_HORIZ,stat,ierr)
!$acc end host_data !$acc end host_data
!$acc parallel loop collapse(3) !$acc parallel loop collapse(3)
do concurrent (ii=1:a_n,ij=1:a_n,ik=1:nz+2) do concurrent (ii=1:b_n,ij=1:b_n,ik=1:nz+2)
zb_st(ii,ij,ik-1) = ztab_interiorT_ne_m_haloTout(ii,ij,ik) zb_st(ii,ij,ik-1) = ztab_interiorT_ne_m_haloTout(ii,ij,ik)
end do end do
#else #else
...@@ -1950,7 +1950,7 @@ contains ...@@ -1950,7 +1950,7 @@ contains
MPI_DOUBLE_PRECISION,source_rank,recv_tag,MPI_COMM_HORIZ,stat,ierr) MPI_DOUBLE_PRECISION,source_rank,recv_tag,MPI_COMM_HORIZ,stat,ierr)
!$acc end host_data !$acc end host_data
!$acc parallel loop collapse(3) !$acc parallel loop collapse(3)
do concurrent (ii=1:a_n,ij=1:a_n,ik=1:nz+2) do concurrent (ii=1:b_n,ij=1:b_n,ik=1:nz+2)
zb_st(ii,ij,ik-1) = ztab_interiorT_sw_m_haloTout(ii,ij,ik) zb_st(ii,ij,ik-1) = ztab_interiorT_sw_m_haloTout(ii,ij,ik)
end do end do
#else #else
...@@ -1982,7 +1982,7 @@ contains ...@@ -1982,7 +1982,7 @@ contains
MPI_DOUBLE_PRECISION,source_rank,recv_tag,MPI_COMM_HORIZ,stat,ierr) MPI_DOUBLE_PRECISION,source_rank,recv_tag,MPI_COMM_HORIZ,stat,ierr)
!$acc end host_data !$acc end host_data
!$acc parallel loop collapse(3) !$acc parallel loop collapse(3)
do concurrent (ii=1:a_n,ij=1:a_n,ik=1:nz+2) do concurrent (ii=1:b_n,ij=1:b_n,ik=1:nz+2)
zb_st(ii,ij,ik-1) = ztab_interiorT_se_m_haloTout(ii,ij,ik) zb_st(ii,ij,ik-1) = ztab_interiorT_se_m_haloTout(ii,ij,ik)
end do end do
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment