1、在linux中安装gfortran 输入命令:sudo apt-get install gfortran 通过命令“gfortran -v”,可以查看gfortran是否安装成功。 2、 进行编译 3、后续工作