Open
Description
Avg response time |
---|
Defect/Bug Report
- OpenCoarrays Version: 2.3.1
- Fortran Compiler: gfortran 8.2.0
- C compiler used for building lib: gcc 8.2.0
- Installation method: homebrew
- Output of
uname -a
:Darwin localhost 18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64
- MPI library being used: OpenMPI
- Machine architecture and number of physical cores: 4-core Intel Core i7
- Version of CMake: 3.13.2
Observed Behavior
$ cat main.f90
type Array_Type
real, allocatable :: values(:)
end type
type(Array_Type) array[*]
allocate(array%values(2),source=0.)
array%values = this_image()
sync all
print *, array%values
end
$ caf main.f90
$ cafrun -n 4 ./a.out
4.00000000 4.00000000
1.00000000 1.00000000
2.00000000 2.00000000
3.00000000 3.00000000
[localhost:73816] *** An error occurred in MPI_Win_detach
[localhost:73816] *** reported by process [4040687617,1]
[localhost:73816] *** on win rdma window 5
[localhost:73816] *** MPI_ERR_OTHER: known error not in list
[localhost:73816] *** MPI_ERRORS_ARE_FATAL (processes in this win will now abort,
[localhost:73816] *** and potentially your MPI job)
[localhost:73814] 1 more process has sent help message help-mpi-errors.txt / mpi_errors_are_fatal
[localhost:73814] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Error: Command:
`/usr/local/bin/mpiexec -n 4 ./a.out`
failed to run.
$ caf --version
OpenCoarrays Coarray Fortran Compiler Wrapper (caf version 2.3.1)
...
The error occurs intermittently (non-deterministically).
Installing using the OpenCoarrays installer eliminates the problem -- presumably because the installer installs MPICH instead of OpenMPI.