@@ -936,9 +936,9 @@ contains
936936 (j + buff_size* ((k + 1 ) + (n + 1 )* l))
937937 q_comm(i)%sf(j + unpack_offset, k, l) = real (buff_recv(r), kind= stp)
938938#if defined(__INTEL_COMPILER)
939- if (ieee_is_nan(q_comm(i)%sf(j, k, l))) then
939+ if (ieee_is_nan(q_comm(i)%sf(j + unpack_offset , k, l))) then
940940 print * , " Error" , j, k, l, i
941- error stop " NaN(s) in recv"
941+ call s_mpi_abort( " NaN(s) in recv" )
942942 end if
943943#endif
944944 end do
@@ -991,9 +991,9 @@ contains
991991 ((k + buff_size) + buff_size* l))
992992 q_comm(i)%sf(j, k + unpack_offset, l) = real (buff_recv(r), kind= stp)
993993#if defined(__INTEL_COMPILER)
994- if (ieee_is_nan(q_comm(i)%sf(j, k, l))) then
994+ if (ieee_is_nan(q_comm(i)%sf(j, k + unpack_offset , l))) then
995995 print * , " Error" , j, k, l, i
996- error stop " NaN(s) in recv"
996+ call s_mpi_abort( " NaN(s) in recv" )
997997 end if
998998#endif
999999 end do
@@ -1050,9 +1050,9 @@ contains
10501050 (l + buff_size)))
10511051 q_comm(i)%sf(j, k, l + unpack_offset) = real (buff_recv(r), kind= stp)
10521052#if defined(__INTEL_COMPILER)
1053- if (ieee_is_nan(q_comm(i)%sf(j, k, l))) then
1053+ if (ieee_is_nan(q_comm(i)%sf(j, k, l + unpack_offset ))) then
10541054 print * , " Error" , j, k, l, i
1055- error stop " NaN(s) in recv"
1055+ call s_mpi_abort( " NaN(s) in recv" )
10561056 end if
10571057#endif
10581058 end do
@@ -1153,8 +1153,6 @@ contains
11531153
11541154 if (igr) then
11551155 recon_order = igr_order
1156- else
1157- recon_order = weno_order
11581156 end if
11591157
11601158 ! 3D Cartesian Processor Topology
0 commit comments