Hi everyone,

I am trying to install RegCM4.7.1 on a Red Had HPC cluster using GNU Fortran 11.2, but I got the following error on "make" step:

make  all-recursive
make[1]: Entering directory '/discofs/usermeteo1/reg/RegCM-4.7.1'
Making all in external
make[2]: Entering directory '/discofs/usermeteo1/reg/RegCM-4.7.1/external'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/discofs/usermeteo1/reg/RegCM-4.7.1/external'
Making all in Share
make[2]: Entering directory '/discofs/usermeteo1/reg/RegCM-4.7.1/Share'
gfortran -I/discofs/usermeteo1/reg/RegCM-4.7.1/external -I/opt/software/netcdf-c-4.8.1-gcc_11-hdf5_1.12-api_v112-mpich_3/include -I/opt/software/netcdf-fortran-4.5.3-gcc_11-hdf5_1.12-api_v112-mpich_3/include -I/opt/software/netcdf-fortran-4.5.3-gcc_11-hdf5_1.12-api_v112-mpich_3/include -I/opt/software/netcdf-c-4.8.1-gcc_11-hdf5_1.12-api_v112-mpich_3/include -I/opt/software/netcdf-fortran-4.5.3-gcc_11-hdf5_1.12-api_v112-mpich_3/include -I/opt/software/netcdf-fortran-4.5.3-gcc_11-hdf5_1.12-api_v112-mpich_3/include -DCLM45  -I/discofs/usermeteo1/reg/RegCM-4.7.1/Share -fopenmp -D'SVN_REV="export"' -O3 -finline-functions -mtune=native -march=native -fconvert=big-endian -fno-range-check -fPIC -c mod_realkinds.F90
mod_realkinds.F90:63:31:

   63 |   real(rk8), parameter :: inf = O'0777600000000000000000'
      |                               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’]
mod_realkinds.F90:64:31:

   64 |   real(rk8), parameter :: nan = O'0777610000000000000000'
      |                               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’]
make[2]: *** [Makefile:617: mod_realkinds.o] Error 1
make[2]: Leaving directory '/discofs/usermeteo1/reg/RegCM-4.7.1/Share'
make[1]: *** [Makefile:432: all-recursive] Error 1
make[1]: Leaving directory '/discofs/usermeteo1/reg/RegCM-4.7.1'
make: *** [Makefile:364: all] Error 2
[usermeteo1@login1 RegCM-4.7.1]$


Please, I need your help.
Thank you in advance!

Kind regards,
Rilka Valcheva

~~~~~~~~~~~~~~~~~~~~
Rilka Valcheva, Ph.D.
Physicist, Meteorologist
Department of Forecasts and Information Services
National Institute of Meteorology and Hydrology
66, Tsarigradsko Shose Blvd.
1784 Sofia, Bulgaria
E-Mail: Rilka.Valcheva@meteo.bg
Telephone: (+359 2) 462 4612
~~~~~~~~~~~~~~~~~~~~