NCAR / icar

The Intermediate Complexity Atmospheric Research model (ICAR)
MIT License
72 stars 53 forks source link

Cray ftn version 17 bug #179

Open scrasmussen opened 5 months ago

scrasmussen commented 5 months ago

Expected Behavior

Builds correctly.

Current Behavior

We have gotten a report that when compiling with the new CCE 17 Fortran compiler, the following error is being reported:

ftn-1917 ftn: ERROR default$mapper$exchangeable_t$exchangeable_interface_,
                File = objects/exchangeable_h.f90, Line = 1, Column = 1

Since the type for base_ptr has a coarray ultimate component, it must be a
nonpointer nonallocatable scalar, must not be a coarray and must not be a
function result.

Steps to Reproduce (for bugs)

  1. Load cce 17
  2. Compile

Your Environment

gutmann commented 5 months ago

Can you ID what in the code is an actual bug? This seems like a compiler problem. It is going to be very frustrating if the cray compiles stops supporting some very deep modular functionality... I know you can't have pointers or allocatable with coarray components... but I don't think ICAR does! (line 1 column 1 certainly doesn't). This might be a bug that needs to be reported to Cray(?)

gutmann commented 4 months ago

Any update on this?