ICTP / RegCM

ICTP Regional Climate Model
https://www.ictp.it/esp/about
Other
54 stars 42 forks source link

gfortran-10 compile error #15

Closed goord closed 2 years ago

goord commented 2 years ago

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...

goord commented 2 years ago

Issue has been resolved by commit above, closing