看板 Linux 關於我們 聯絡資訊
小弟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 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.136.176.229 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1510568971.A.486.html
Cypresslin: 看起來你的mpif77/90被指向gfortran了,這些flag應該 11/13 19:31
Cypresslin: 是pgf90用的flag https://goo.gl/D7PjBW 11/13 19:31
我的執行檔旁邊有綠色的OPAL_WRAPPER 請問該如何修改指向
Cypresslin: 你主機上有其他fortran編譯器嗎?有的話試試 11/13 19:55
Cypresslin: mpif90 -f90=你的f90編譯器,另外ptt有fortran板 11/13 19:56
Cypresslin: 這篇可以參考一下https://goo.gl/H78a9z 11/13 19:57
好的 我研究一下 十分感謝 ※ 編輯: jimmy10309 (140.136.176.229), 11/13/2017 20:01:53 我剛試了一下您說的指令 他說gfortran錯誤無-f90指令 ※ 編輯: jimmy10309 (140.136.176.229), 11/13/2017 20:24:31
Cypresslin: 主機上有沒有其他 Fortran compiler? 11/13 22:59