WRF compiling with PGI community

Hi Enea23,

This is a known compiler issue (TPR#27672) which first appeared in our 19.7 compilers. (See: Compilation error in WRF 4.1.2). Unfortunately we don’t have it fixed yet.

The workarounds are to either go back to using the PGI 19.5 release, or compile with our non-LLVM based compilers by setting your PATH to include “$PGI/linux86-64-nollvm/19.10/bin” and rebuild. You’ll need to rebuild NetCDF as well or use the pre-built version we ship, “$PGI/linux86-64-nollvm/2019/netcdf/netcdf-4.6.2/openmpi-3.1.3/lib”.

Apologizes for the inconvenience.

-Mat