Research Article

MPI to Coarray Fortran: Experiences with a CFD Solver for Unstructured Meshes

Listing 2

Coarray declaration of an allocatable coarray.
real, allocatable  :: o[:,:]
allocate(o) !Not allowed - coubounds should be specified
allocate(o[2,3]) ! Not allowed - upper cobound should be *
allocate(o[2,*]) ! Allowed
deallocate(o)