On Feb 19, 2009, at 11:12 AM, Gerry Creager wrote:

Elvedin,

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[3]: Entering directory `/home/gerry/WRFv3/WRFV3/external/ RSL_LITE'
mpicc -cc=gcc -DFSEEKO64_OK  -w -O3 -DDM_PARALLEL   -c c_code.c
pgcc-Error-Unknown switch: -cc=gcc
make[3]: [c_code.o] Error 1 (ignored)

Methinks the wrf configuration script and make file will need some tweeks.

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").

--
Jeff Squyres
Cisco Systems

Reply via email to