Error in running the "make" command in installing RegCM

Solution 1:

Ubuntu 21.04, RegCM4

RegCM can be built with {gcc-9, g++-9, gfortran-9}.

sudo apt install gcc-9 g++-9 gfortran-9 libnetcdff-dev libnetcdf-dev libopenmpi-dev

cd RegCM-4.7.1/
bash bootstrap.sh
export CC=gcc-9 CXX=g++-9 FC=gfortran-9
./configure
 make                        ## no errors