之前试验多次未找到了解决方法,偶然看到其他大神的配置中有此问题的解决方法;
连接为https://blog.csdn.net/qq_37245336/article/details/81870609
1 参考地址
https://blog.csdn.net/hymanjack/article/details/80285400
https://blog.csdn.net/github_36498175/article/details/80161362
https://www.linuxidc.com/Linux/2018-04/152109.htm
2 gfortran gcc
g++切换(安装gamit需要切换低版本)
sudo apt-get install gcc-5
gcc-5-multilib
sudo apt-get install g++-5
g++-5-multilib
sudo apt-get install gcc-6
gcc-6-multilib
sudo apt-get install g++-6
g++-6-multilib
sudo apt-get install gcc-7
gcc-7-multilib
sudo apt-get install g++-7
g++-7-multilib
sudo apt-get install gfortran-5
gfortran-5-multilib
sudo apt-get install gfortran-6
gfortran-6-multilib
sudo apt-