NPY-for-Fortran icon indicating copy to clipboard operation
NPY-for-Fortran copied to clipboard

Module won't compile with pgi compilers

Open favba opened this issue 3 years ago • 1 comments

I can build the module with GNU and Intel compilers but using PGI v 20.4 doesn't work. I get the following errors (I renamed the module to mod_npy for consistency in our project).

PGF90-S-0155-IGNORE_TKR may not be specified for str (mod_npy.F90)
  0 inform,   0 warnings,   1 severes, 0 fatal for dict_str
PGF90-S-0155-IGNORE_TKR may not be specified for str (mod_npy.F90)
PGF90-S-0155-IGNORE_TKR may not be specified for fin_str (mod_npy.F90)
  0 inform,   0 warnings,   2 severes, 0 fatal for shape_str

Thanks for the module, BTW!

favba avatar Feb 28 '22 17:02 favba

Hey @favba, Thanks for using my library! I don't have have any possibility to try compiling the library with PGI, but I know that PGI has trouble compiling some fortran features depending on its version. Maybe you can help me come up with a patch.

What is this IGNORE_TKR ? Is that a flag you set? It seems this flag isn't happy about my allocatable strings.

MRedies avatar Feb 28 '22 19:02 MRedies