mpich配置期间出错。如何取消设置/设置环境变量?

mpich配置期间出错。如何取消设置/设置环境变量?,mpich,Mpich,我正在安装一个新的linux系统,我正在尝试安装MPICH。我从http://www.mpich.org/并已提取.tar.gz文件。我理解的下一步是使用/configure进行配置,但是在配置结束时会收到一条错误消息 "configure: error: F90 and F90FLAGS are replaced by FC and FCFLAGS respectively in this configure, please unset F90/F90FLAGS and set FC/FCFL

我正在安装一个新的linux系统,我正在尝试安装MPICH。我从
http://www.mpich.org/
并已提取.tar.gz文件。我理解的下一步是使用
/configure
进行配置,但是在配置结束时会收到一条错误消息

"configure: error: F90 and F90FLAGS are replaced by FC and FCFLAGS respectively in this configure, please unset F90/F90FLAGS and set FC/FCFLAGS instead and rerun configure again."
如何取消设置
F90/F90标志
并设置
FC/FCFLAGS


谢谢

这取决于您的shell环境。例如,要在bash中取消设置环境变量,可以运行
unset F90
。另一个问题是,您真的需要为mpich构建fortran绑定吗?如果没有,您可以将标志
--disable-f77--disable fc
添加到配置中。您可能正在使用redhat。除非您需要最新版本,否则可以尝试(以root用户身份)
yum安装mpich2-mpich2-devel