现在的位置: 首页 > 综合 > 正文

部署软件常遇到错误总结

2012年10月17日 ⁄ 综合 ⁄ 共 498字 ⁄ 字号 评论关闭

问题一:

        checking for mpifc... no
        checking for mpxlf... no
        checking for mpif90... mpif90
        checking for MPI_Init... no
       checking for MPI_Init in -lmpi... no
       checking for MPI_Init in -lmpich... no
       configure: error: Don't know how to compile MPI program

       是因为找不到MPI库,只要把LDFALGS="-L/opt/mpich2/lib(你的MPI路径下的lib)"

问题二:

    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.

      只要unset F90

     unset F90FLAGS


抱歉!评论已关闭.