工作的專家:在嘗試配置MPICH-3.2b1使用此命令:無法配置MPICH。所選的Fortran 90編譯程序gfortran不與選定的Fortran 77編譯器gfortran
./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.
我已經試過各種調用FO FC和F77變量。這是我們(定製)gcc/gfortran 4.8版本的缺陷嗎?
Rob,我認爲這將與環境或構建腳本的錯綜複雜有關。將不得不多花一點時間。謝謝! – DrLou 2015-10-27 12:16:23