gfortran error unrecognized command -i8 - Linux

Table of Contents

小弟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
謝謝
--

All Comments

Lydia avatarLydia2017-11-13
看起來你的mpif77/90被指向gfortran了,這些flag應該
是pgf90用的flag https://goo.gl/D7PjBW
Zanna avatarZanna2017-11-14
你主機上有其他fortran編譯器嗎?有的話試試
John avatarJohn2017-11-15
mpif90 -f90=你的f90編譯器,另外ptt有fortran板
Oliver avatarOliver2017-11-19
這篇可以參考一下https://goo.gl/H78a9z
Quanna avatarQuanna2017-11-23
主機上有沒有其他 Fortran compiler?