Just want to share something from my experience.
Missing "metgrid" and "geogrid":
When this happened, you might want to have a WRFV3 directory within the same location with where your WPS directory is located. This WRFV3 directory should already have the executables from a successful compile with SERIAL configuration setting using the same compiler you use for WPS (I use ifort in my case).
You shouldn't change the directory name and keep it as "WRFV3". If you have another WRF compiled in that directory (using other configuration), you can rename the other WRF(s) (such as WRF_SMPar or WRF_DMPar) but leave the WRF directory that was compiled in the serial mode as "WRFV3".
I remember saw an explanation about this somewhere, that the directory name doesn't matter and other things could be done by changing some environment variables and modifying some files in the WPS. Then again, this was the simplest step for me.
Missing "ungrib":
Before compiling, you might want to check the configure.wps file and check the following lines:
- Code: Select all
COMPRESSION_LIBS = -L/path/to/jasper/directory/lib -ljasper -lpng -lz
COMPRESSION_INC = -I/path/to/jasper/directory/include/jasper
- Code: Select all
COMPRESSION_LIBS = -L/path/to/jasper/directory/lib -L/path/to/libpng/directory/lib -L/path/to/zlib/directory/lib -ljasper -lpng -lz
COMPRESSION_INC = -I/path/to/jasper/directory/include -I/path/to/libpng/directory/include -I/path/to/zlib/directory/include
Those two methods worked for me every time, since v3.4 until now (v3.9). Hopefully, this could be of help should anybody somehow has the similar situation.