Skip to content

Building CP2K with PGI <=19.7 or Flang fails with PGF90-S-0091 or ICE #5

@dev-zero

Description

@dev-zero

Building CP2K (respectively DBCSR) with PGI 18.7 yields the following errors:

PGF90-S-0091-Constant expression of wrong data type (dbcsr_types.F90: 495)
PGF90-S-0091-Constant expression of wrong data type (dbcsr_types.F90: 495)
   0 inform,   0 warnings,   2 severes, 0 fatal for dbcsr_types

older versions of PGI 18.x may instead produce an Internal Compiler Error instead.

A support ticket is open at PGI for this very issue. Since this is valid Fortran and other compilers have no problem with this part, there is not much we can do about.

Keeping this ticket as a reminder to test newer versions of PGI once they get released.

Due to its heritage, Flang has very similar issues: flang-compiler/flang/issues/239, flang-compiler/flang/issues/360, flang-compiler/flang/issues/424

Metadata

Metadata

Assignees

Labels

wontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions