Experts: Am trying to configure MPICH-3.2b1 with this command:
./configure --prefix=/usr/local/mpi64-32-mpich CFLAGS="-m64" FFLAGS="-m64" CC=gcc FC=gfortran
...
configure: error: The selected Fortran 90 compiler gfortran does not work with the selected Fortran 77 compiler gfortran. Use the environment variables FC and F77 respectively to select compatible Fortran compilers. The check here tests to see if a main program compiled with the Fortran 90 compiler can link with a subroutine compiled with the Fortran 77 compiler.
I've tried various invocations fo FC and F77 variables. Is this a deficiency in our (custom) build of gcc/gfortran 4.8?