用虚拟机安装WRF,gfortran、gcc、cpp都有安装并更新至最新,但是在安装mpich-3.0.4库的时候开始报错
configure: error: The Fortran compiler gfortran will not compile files that call the same routine with arguments of different types.
尝试过更新fort77和fortran,都没有解决这个错误,求解如何解决这个问题
用虚拟机安装WRF,gfortran、gcc、cpp都有安装并更新至最新,但是在安装mpich-3.0.4库的时候开始报错
configure: error: The Fortran compiler gfortran will not compile files that call the same routine with arguments of different types.
尝试过更新fort77和fortran,都没有解决这个错误,求解如何解决这个问题
我也遇到了同样的问题,于是我选择wget https://www.mpich.org/downloads/mpich-4.0.2.tar.gz
然后进行安装,安装时也会遇到fortran相关问题,我选择 ./configure --disable-fortran --prefix=$DIR/mpich,mpicc安装成功了。但是后面安装wrf不知道能不能正常使用,我还在安装。