24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1711  |  回复: 1

木木_学术

新虫 (初入文坛)

[求助] ubuntu系统下安装MPCHI3.0.2时MAKE出错。。求大神解答

安装MPICH时,到了sudo make这一步出错了,不知道是什么问题,求大神解答。
.....
checking how to get verbose linking output from fort77... -v
checking for Fortran 77 libraries of fort77...  -lf2c -lm
checking whether fort77 accepts the FLIBS found by autoconf... yes
checking whether gcc links with FLIBS found by autoconf... yes
checking whether Fortran 77 and C objects are compatible... yes
checking for linker for Fortran main program... Use Fortran to link programs
checking for Fortran 77 name mangling... lower 2uscore
checking for libraries to link Fortran main with C stdio routines... none
checking whether Fortran init will work with C... yes
checking for extension for Fortran 90 programs... f90
checking whether the Fortran 90 compiler (gfortran    ) works... yes
checking whether the Fortran 90 compiler (gfortran    ) is a cross-compiler... no
checking whether Fortran 90 compiler works with Fortran 77 compiler... configure: WARNING: See config.log for the failed test program and its output.
no
configure: error: The selected Fortran 90 compiler gfortran does not work with the selected Fortran 77 compiler fort77.  Use the environment variables FC and F77 respectively to select compatible Fortran compilers.  The check here tests to see if a main program compiled with the Fortran 90 compiler can link with a subroutine compiled with the Fortran 77 compiler.


下面是在sudo make的时候出错。。。。
.....
  CC       src/mpi/topo/nhb_alltoallv.lo
  CC       src/mpi/topo/nhb_alltoallw.lo
  CC       src/binding/f90/create_f90_int.lo
  CC       src/binding/f90/create_f90_real.lo
src/binding/f90/create_f90_real.c: In function 'PMPI_Type_create_f90_real':
src/binding/f90/create_f90_real.c:73:23: error: expected expression before ',' token
  { MPIR_F90_REAL_MODEL, MPI_REAL},
                       ^
src/binding/f90/create_f90_real.c:74:25: error: expected expression before ',' token
  { MPIR_F90_DOUBLE_MODEL, MPI_DOUBLE_PRECISION } };
                         ^
make[2]: *** [src/binding/f90/create_f90_real.lo] 错误 1
make[2]:正在离开目录 `/home/lin/mpich'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/lin/mpich'
make: *** [all] 错误 2


希望大神可以解答一下~~~万分感谢~~
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

木木_学术

新虫 (初入文坛)

有大神么。。
2楼2015-09-29 09:45:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 木木_学术 的主题更新
信息提示
请填处理意见