OpenCoarrays fail with MPICH-4.1.2 compiled with GNU-13.2.0
> caf -o hello_world hello_world.f90
> cafrun -np 2 ./hello_world
Hello world from 1 of 2
Hello world from 2 of 2
Abort(5328655) on node 0 (rank 0 in comm 0): Fatal error in internal_Comm_free: Other MPI error, error stack:
internal_Comm_free(87).........: MPI_Comm_free(comm=0x1083962b8) failed
MPIR_Comm_free_impl(809).......:
MPIR_Comm_delete_internal(1224): Communicator (handle=84000002) being freed has 1 unmatched message(s)
Abort(407981839) on node 1 (rank 1 in comm 0): Fatal error in internal_Comm_free: Other MPI error, error stack:
internal_Comm_free(87).........: MPI_Comm_free(comm=0x100d842b8) failed
MPIR_Comm_free_impl(809).......:
MPIR_Comm_delete_internal(1224): Communicator (handle=84000001) being freed has 1 unmatched message(s)
Error: Command:
`$HOME/opt/usr/local/mpich/mpich-4.1.2-gcc-13.2.0/bin/mpiexec -n 2 ./hello_world`
failed to run.
OpenCoarrays version
OpenCoarrays Coarray Fortran Compiler Wrapper (caf version 2.10.1)
Copyright (C) 2015-2022 Sourcery Institute
Copyright (C) 2015-2022 Archaeologic Inc.
OpenCoarrays comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of OpenCoarrays under the terms of the
BSD 3-Clause License. For more information about these matters, see
the file named LICENSE that is distributed with OpenCoarrays.
@mkowsiak in case you're still interested, I just completed an installation using GCC 14.1.0 and MPICH 4.2.2. I'll do some more testing and update the OpenCoarrays installation scripts to use these versions. For now, my steps are described here.
OpenCoarrays fail with MPICH-4.1.2 compiled with GNU-13.2.0
OpenCoarrays version
MPICH version
Source code