Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Problem Compiling WRFV4.0 on Fedora 31

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
I try to follow the instruction compiling the WRF on my Fedora 31 system, I had a problem compiling the WRF. The compilation process run, but I have not got the *.exe files. I clean everything and recompiled it many times, but got the same error. These are my log.compile and configure.wrf in the attachment.
By the way, I had run the system environment tests and installed libraries such as mpich-3.0.4, netcdf-4.1.3, zlib-1.2.7, libpng-1.2.50, and Jasper-1.900.1 and run all the tests and all of them were success. Please help me overcome the error. Thank you very much.


  • configure.wrf
    20 KB · Views: 56
  • log.compile.txt
    1.1 MB · Views: 53
This is the error in your compile log:
rm -f landread.o
gcc -DFSEEKO64_OK  -o landread.o -c -w -O3 -c  -DDM_PARALLEL -DSTUBMPI -DMAX_HISTORY=25 -DNMM_CORE=0 landread.c
landread.c:68:10: fatal error: rpc/types.h: No such file or directory
   68 | #include <rpc/types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: [../configure.wrf:372: landread.o] Error 1 (ignored)

Take a look at this previous forum post regarding this error: