WRF error message

I’m trying to compile the WRF model using pgi and gcc. However, I receive the following error message:

pgf90-Error-Unknown Switch -f90=pgf90 (the same with mpicc -cc=gcc)

any hints?

current version is:

mpif90 -V

pgf90 8.0-1 64-bit target on x86-64 Linux -tp gh-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2008, STMicroelectronics, Inc. All Rights Reserved.



Hi Piero,

These flags tell the MPICH mpif90 and mpicc scripts which compiler to use (if not the default). Most likely the MPI scripts you’re using does not recognize these flags so is assing them directly to compilers. The simplest solution would be to remove these flags from your configure.wrf file since they aren’t necessary.

  • Mat