Skip to content

non-coarray vector lhs produces crashes or wrong results with gets #322

@reinh-bader

Description

@reinh-bader

The attached source code was built with

  • gfortran 6.3 + opencoarrays 1.6.2
  • gfortran 7.0 (preview) + opencoarrays 1.8.2
    and produces wrong results when executed with any number of images. The version build with gfortran -fcoarray=single executes fine, hence I suspect the problem to be in the run time library.

The program checks its output.
For opencoarrays 1.8.2, I get the run time error

Fatal error in MPI_Win_unlock_all: Invalid MPI_Win, error stack:
MPI_Win_unlock_all(127): MPI_Win_unlock_all(win=0x55444f4d) failed
MPI_Win_unlock_all(82).: Invalid MPI_Win
Fatal error in MPI_Win_unlock_all: Invalid MPI_Win, error stack:
MPI_Win_unlock_all(127): MPI_Win_unlock_all(win=0x55444f4d) failed
MPI_Win_unlock_all(82).: Invalid MPI_Win

PMR.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions