You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my end, I am still playing around X3D2, and found that this small
change might make the code more robust (in decomp_2decompfft.f90):
!!! CM: use decomp_2d, only: decomp_2d_init, DECOMP_2D_COMM_CART_X, xsize, xstart
!!! CM: use decomp_2d_mpi, only: nrank, nproc
!!! CM: Changed to
use decomp_2d_mpi, only: nrank, nproc, DECOMP_2D_COMM_CART_X
use decomp_2d, only: decomp_2d_init, xsize, xstart
Basically, decomp_2d_mpi is used in decomp_2d, but also contains DECOMP_2D_COMM_CART_X, so, it is probably best to get this last
variable from the decomp_2d_mpi, where it is defined. If I don't do
this, I get a bug here on my old machine.
Activity
ia267 commentedon Aug 20, 2026
In both v2.0.3.1 and the currently pinned v2.0.3.2:
DECOMP_2D_COMM_CART_Xis defined directly indecomp_2d- it is not merely re-exported. See decomp_2d.f90.decomp_2d_mpidoes not contain that sybmol. It exportsnrank,nrpocanddecomp_2d_commamong other MPI utilities. See decomp_2d_mpi.f90We need to know which version of 2decomp was causing this.