Hi,
I am trying to build the latest WRF v4.1.4 on a CentOS-7 Linux desktop. I have taken the following steps:
cd /tmp
sudo apt-get install -y libnetcdff-dev
sudo export NETCDF=/usr/
<Download WRF-release-v4.1.4.zip from GitHub>
unzip WRF-release-v4.1.4.zip
cd WRF-release-v4.1.4
Then (I have chosen '32' for serial and gfortran and gcc, and '0' for no nesting):
sudo ./configure
Then, I try to compile an example:
sudo ./compile em_squall2d_x
I get the following errors (see attached compile.log file):
makefile:43: recipe for target 'diffwrf' failed
...
Makefile:16: recipe for target 'em_wrf' failed
...
Makefile:28: recipe for target 'em_ideal' failed
Does netCDF need to be compiled as well? I have compiled both the netCDF-c and netCDF-fortran but they do not create the needed 'netcdf.inc' file that WRF needs.
Many thanks in advance.
I am trying to build the latest WRF v4.1.4 on a CentOS-7 Linux desktop. I have taken the following steps:
cd /tmp
sudo apt-get install -y libnetcdff-dev
sudo export NETCDF=/usr/
<Download WRF-release-v4.1.4.zip from GitHub>
unzip WRF-release-v4.1.4.zip
cd WRF-release-v4.1.4
Then (I have chosen '32' for serial and gfortran and gcc, and '0' for no nesting):
sudo ./configure
Then, I try to compile an example:
sudo ./compile em_squall2d_x
I get the following errors (see attached compile.log file):
makefile:43: recipe for target 'diffwrf' failed
...
Makefile:16: recipe for target 'em_wrf' failed
...
Makefile:28: recipe for target 'em_ideal' failed
Does netCDF need to be compiled as well? I have compiled both the netCDF-c and netCDF-fortran but they do not create the needed 'netcdf.inc' file that WRF needs.
Many thanks in advance.