[问题]gfortran error unrecognized command -i8

楼主: jimmy10309 (我的桌子下有躲人)   2017-11-13 18:29:24
小弟linux新手
最近在安装软件时有以下几列错误讯息
是执行mpif77 mpif90等时发生的
gfortran: error: unrecognized command line option '-i8'
gfortran: error: unrecognized command line option '-r8'
gfortran: error: unrecognized command line option '-fpp'
gfortran: error: unrecognized command line option '-h'
gfortran: error: unrecognized command line option '-module'
不知道应该要如何解决
centos 7
谢谢
作者: Cypresslin (啊哈哈~~)   2017-11-13 19:31:00
看起来你的mpif77/90被指向gfortran了,这些flag应该是pgf90用的flag https://goo.gl/D7PjBW你主机上有其他fortran编译器吗?有的话试试mpif90 -f90=你的f90编译器,另外ptt有fortran板这篇可以参考一下https://goo.gl/H78a9z主机上有没有其他 Fortran compiler?

Links booklink

Contact Us: admin [ a t ] ucptt.com