[問題]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