On Feb 19, 2009, at 11:12 AM, Gerry Creager wrote:
> Yeah, I thought about that after finding a reference to this in the
> archives, so I redirected the path to MPI toward the gnu-compiled
> version. It died in THIS manner:
> make: Entering directory `/home/gerry/WRFv3/WRFV3/external/
> mpicc -cc=gcc -DFSEEKO64_OK -w -O3 -DDM_PARALLEL -c c_code.c
> pgcc-Error-Unknown switch: -cc=gcc
> make: [c_code.o] Error 1 (ignored)
> Methinks the wrf configuration script and make file will need some
> Interesting thing: I have another system (alas, with mpich) where it
> compiles just fine. I'm trying to sort this out, as on 2 systems,
> with openMPI, it does odd dances before dying.
I believe that the -cc=gcc switch is an MPICH-specific switch...?
(not 100% sure about that, but I know that OMPI doesn't intercept that
switch -- so it just gets passed back to the back-end compiler, which,
in your case, pgcc says "I have no idea what that is").