Skip to content

Commit c3425ee

Browse files
author
Anand Radhakrishnan
committed
Relax Constraint (only needed for global)
1 parent eacd558 commit c3425ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/post_process/m_checker.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ contains
117117

118118
@:PROHIBIT(fft_wrt .and. file_per_process, "Turn off file_per_process with fft_wrt")
119119
@:PROHIBIT(fft_wrt .and. (n == 0 .or. p == 0), "FFT WRT only in 3D")
120-
@:PROHIBIT(fft_wrt .and. (MOD(m+1,2) == 1 .or. MOD(n+1,2) == 1 .or. MOD(p+1,2) == 1), "FFT WRT requires local dimensions divisible by 2")
120+
@:PROHIBIT(fft_wrt .and. (MOD(m_glb+1,2) == 1 .or. MOD(n_glb+1,2) == 1 .or. MOD(p_glb+1,2) == 1), "FFT WRT requires global dimensions divisible by 2")
121121
num_procs_x = (m_glb + 1)/(m + 1)
122122
num_procs_y = (n_glb + 1)/(n + 1)
123123
num_procs_z = (p_glb + 1)/(p + 1)

0 commit comments

Comments
 (0)