WRF-3.9.1 has been compiled successfully, while the version 4 and latested one can not be compiled successfully

lz1909

New member
I have successfully compiled WRF-3.9.1 and produced corresponding exe file including ndown.exe, real.exe, tc.exe, wrf.exe. But, when I try to compile WRF which are latested versions such as WRF4.4 and WRF4.5.2, the corresponding exe files aren't produced.the complie.log file of error information is presented on the picture and the attachment. I think whether the problem is that my gcc g++ and gfortran version are too old or the libraries I used was not matched? my gcc g++ and gfortran version are all 4.8.5, netcdf version is netcdf-4.1.3, hdf is hdf5-1.8.8, mpich is mpich-3.0.4.

1715588576760.png
 

Attachments

Newer versions of the WRF code will not be able to compile with older compilers. GNU V4.8.5 is very old. Since it's a free compiler, can you update to a much more recent version and try again? You'll also need to reinstall your MPICH and netCDF using the updated compiler, as well. And then make sure to issue a 'clean -a' and reconfigure WRF before recompiling.
 
Back
Top