Closed
Description
Defect/Bug Report: OpenCoarrays 1.9.0: allocatable component in derived type coarray can't be allocated#
Are allocatable components in derived type coarrays are really supported with the current OpenCoarrays 1.9.0 master download? I tried it out but the allocate statement itself does (seem to) crash the application. I have a small example program here: https://github.com/MichaelSiehl/Coarray-with-Allocatable-Component-Example
The following ALLOCATE statements did crash my example program:
ALLOCATE (Coarray_Object % reaDataArray (LBOUND (reaDataArray, DIM=1) : UBOUND (reaDataArray, DIM=1)))
and also the simpler form
ALLOCATE (Coarray_Object % reaDataArray (1 : 2))
did crash my example program. Therefore, it must be the ALLOCATE statement itself that makes the program hang.
- OpenCoarrays Version:
1.9.0, the current master
- Fortran Compiler:
gfortran 8.0.0
- C compiler used for building lib:
gcc 8.0.0
- Installation method:
make
- MPI library being used:
MPICH 3.2
- Machine architecture and number of physical cores:
Linux Ubuntu 14.04 on an intel icore, 4 cores