https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589
--- Comment #20 from Toon Moene <toon at moene dot org> --- Example of the problem described in the last comment: (export LD_LIBRARY_PATH=/home/toon/compilers/install/coarray_native/lib/gcc/x86_64-pc-linux-gnu/11.0.0; export GFORTRAN_NUM_IMAGES=28; echo ' &config nxglobal=936, nyglobal=770, nzglobal=60 / ' | ./a.out) Decomposition information on image 1 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 6 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 9 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 24 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 23 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 2 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 22 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 16 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 21 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 12 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 8 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 26 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 14 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 5 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 15 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 3 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 19 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 27 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 10 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 7 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 25 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 11 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 4 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 13 : there are 4 * 7 slabs; the slabs are 18 * 10 grid cells in size. Decomposition information on image 20 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 17 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 18 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Decomposition information on image 28 : there are 4 * 7 slabs; the slabs are 234 * 110 grid cells in size. Size mismatch for coarray allocation id 0x419400: found = 2882880 != size = 20160 Size mismatch for coarray allocation id 0x419400: found = 2882880 != size = 20160 ERROR: Image 28(0x1e0a22) failed BTW, I cannot replicate this reliably, so it is probably timing related ...