I am getting an error trying to build WRF 4.0.1 using the PGI compiler. It appears to be related to NETCDF. The compile log is attached. In line 15569, the link to build the wrf.exe fails within the module_physics_init.f90 section with two un-resolved references.
I am using the "classic" (non-HDF) netCDF version 4.1.3. This is the same version of netCDF I used when compiling WRF 3.7 - 3.9.1.1. I care more about speed instead of file sizes, so I wanted to first compile WRF 4 without dealing with the additional complication of netCDF+HDF.
A side note...Using the identical version of netCDF 4.1.3 compiled using the Intel compiler on a different machine, I was able to successfully build WRF 4.0.1 using Intel.
I am using the "classic" (non-HDF) netCDF version 4.1.3. This is the same version of netCDF I used when compiling WRF 3.7 - 3.9.1.1. I care more about speed instead of file sizes, so I wanted to first compile WRF 4 without dealing with the additional complication of netCDF+HDF.
A side note...Using the identical version of netCDF 4.1.3 compiled using the Intel compiler on a different machine, I was able to successfully build WRF 4.0.1 using Intel.