ICTP / RegCM

ICTP Regional Climate Model

Home Page:https://www.ictp.it/esp/about

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gfortran-10 compile error

goord opened this issue · comments

When trying to compile regcm (main branch) with gfortran-10, the compiler halts upon an invalid BOZ literal constant:

mod_intkinds.F90:37:38:

   37 |   integer(ik4),  parameter :: bigint = O'17777777777'
      |                                      1
Error: BOZ literal constant at (1) is neither a data-stmt-constant nor an actual argument to INT, REAL, DBLE, or CMPLX intrinsic function [see ‘-fno-allow-invalid-boz’]

As suggested by gfortran, added the flag -fallow-invalid-boz fixes the issue and a pull request from our side is underway...

Issue has been resolved by commit above, closing