[mpich-discuss] No Fortran 90 compiler
倪旭东
xd_ni at seu.edu.cn
Wed Jun 4 04:04:46 CDT 2008
Hello,mpich-discuss:
I'm a beginner of MPICH,and after I install MPICH. I have such problems:
[root at cgsp bin]# ./mpif77
/usr/lib/gcc/x86_64-redhat-linux/3.4.3/libfrtbegin.a(frtbegin.o)(.text+0x1e): In function `main':
: undefined reference to `MAIN__'
collect2: ld returned 1 exit status
[root at cgsp bin]# ./mpif90
No Fortran 90 compiler specified when mpif90 was created,
or configuration file does not specify a compiler.
[root at cgsp f90modules]# ./configure
Configure in /root/mpich-1.2.7p1/f90modules creating cache ./config.cache
checking for g77... g77
checking whether the Fortran 77 compiler (g77 ) works... yes
checking whether the Fortran 77 compiler (g77 ) is a cross-compiler... no
checking whether we are using GNU Fortran 77... yes
checking whether g77 accepts -g... yes
checking for f95... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for ifc... no
checking for efc... no
configure: warning: no acceptable Fortran 90 compiler found in $PATH
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... ar
checking for ranlib... ranlib
checking for make... make
checking whether make echos directory changes... yes using --no-print-directory
checking for virtual path format... VPATH
checking for module suffix... unknown
checking for case of module names... lower
checking for module directory path flag... cp: cannot stat `conftest.': No such file or directory
checking that the compiler accepts .f90 suffix... no
checking whether Fortran 90 is compatible with Fortran 77... no
configure: error: Fortran 90 and Fortran 77 compilers are not compatible.
They generate external symbol names that are different
What's the problem? Thanks a lot.
xudong
xd_ni at seu.edu.cn
2008-06-04
----------------------------------------------------------------------
Xudong Ni, Ph.D. Candidate
Jiangsu Provincial Key Laboratory of Network and Infromation Security
School of Computer Science and Engineering
Southeast University
Nanjing 210096, P.R.China
Tel:86-25-8379 5595
----------------------------------------------------------------------
More information about the mpich-discuss
mailing list