On 7/22/25 20:45, Toon Moene wrote:

Using my build [Debian Testing on x86_64)] of the branch provided by Jerry (see https://gcc.gnu.org/pipermail/gcc-testresults/2025- July/853295.html) I got the following:

I used Thomas's "sync all" code as an example (see https://gcc.gnu.org/ pipermail/fortran/2025-July/062550.html).

$ ~/compilers/install/gfortran-test/bin/gfortran -fcoarray=lib syncall.f90 -lcaf_shmem $ (export LD_LIBRARY_PATH=~/compilers/install/gfortran-test/lib64: $LD_LIBRARY_PATH; echo ' &config / ' | time mpirun -np 9 ./a.out)
  Finished 10**           0
  Finished 10**           0
...
  Finished 10**           5
  Finished 10**           5
29.00user 240.04system 0:19.19elapsed 1402%CPU (0avgtext+0avgdata 13272maxresident)k
0inputs+0outputs (13major+43963minor)pagefaults 0swaps

So, although it didn't "hang" it certainly had a few hickup's and 20 seconds elapsed time is rather pathetic for this simple code.

Today I used Thomas's "locks" example code from the same e-mail message (showing the full output):

$ ~/compilers/install/gfortran-test/bin/gfortran -fcoarray=lib locks.f90 -L ~/compilers/install/gfortran-test/lib64 -lcaf_shmem $ (export LD_LIBRARY_PATH=~/compilers/install/gfortran-test/lib64:$LD_LIBRARY_PATH; time mpirun -np 9 ./a.out)
 Expected:           32 Found:            1
 Expected:           32 Found:            1
 Expected:           32 Found:            1
 Expected:          320 Found:            1
 Expected:          320 Found:            1
 Expected:          320 Found:            1
 Expected:         3200 Found:          101
 Expected:           32 Found:            1
 Expected:         3200 Found:            1
 Expected:           32 Found:            1
 Expected:          320 Found:            1
 Expected:         3200 Found:            1
 Expected:           32 Found:            1
 Expected:          320 Found:            1
 Expected:         3200 Found:            1
 Expected:          320 Found:            1
 Expected:         3200 Found:            1
 Expected:           32 Found:            1
 Expected:           32 Found:            1
 Expected:         3200 Found:            1
 Expected:          320 Found:            1
 Expected:          320 Found:            1
 Expected:         3200 Found:            1
 Expected:           32 Found:            1
 Expected:         3200 Found:          101
 Expected:          320 Found:            1
 Expected:        32000 Found:            1
 Expected:         3200 Found:            1
 Expected:        32000 Found:            1
 Expected:        32000 Found:            1
 Expected:        32000 Found:            1
 Expected:        32000 Found:            1
 Expected:        32000 Found:            1
 Expected:        32000 Found:            1
 Expected:        32000 Found:            1
 Expected:        32000 Found:         1001
 Expected:       320000 Found:            1
 Expected:       320000 Found:            1
 Expected:       320000 Found:            1
 Expected:       320000 Found:            1
 Expected:       320000 Found:            1
 Expected:       320000 Found:            1
 Expected:       320000 Found:            1
 Expected:       320000 Found:            1
 Expected:       320000 Found:            1
 Expected:      3200000 Found:        28485
 Expected:      3200000 Found:            1
 Expected:      3200000 Found:            1
 Expected:      3200000 Found:            1
 Expected:      3200000 Found:            1
 Expected:      3200000 Found:            1
 Expected:      3200000 Found:            1
 Expected:      3200000 Found:            1
 Expected:      3200000 Found:            1

real    0m0.638s
user    0m2.893s
sys     0m6.048s

As you see, for none of the attempts its results matched the expected number. It also didn't hang and completed in a reasonable time.

Kind regards,

--
Toon Moene - e-mail: t...@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands

Reply via email to