<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY bgColor=#eaeaea><FONT size=2><FONT face=宋体>linzhenhua,您好!</FONT> </FONT>
<DIV> </DIV>
<DIV><FONT face=宋体 size=2>  I think the mpif77 command is working, but I need 
mpif90 which doesn't work.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=宋体 size=2>======== 2008-06-04 20:11:35 您在来信中写道: 
========</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>
<TABLE width="100%">
  <TBODY>
  <TR>
    <TD width="100%">
      <BLOCKQUOTE 
      style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">Hello,Xudong<BR>I 
        tried to install mpich2 serveral days ago,I think I got similiar 
        problems:<BR><BR># mp32-mpicc 
        <BR>/usr/lib/gcc/i386-redhat-linux/4.3.0/../../../crt1.o: In function 
        `_start':<BR>(.text+0x18): undefined reference to `main'<BR>collect2: ld 
        返回 1<BR><BR>I asked the question at another website(redhat bugzilla),who 
        told me that it's just ok and I do not need to worry about it. Indeed 
        when I try to use it to compile and run a simple test program,it seems 
        work fine. I also want to make sure whether it's true or 
        not.<BR>------------------------------------------------------------<BR><BR><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><pre>在2008-06-04,"倪旭东" 
        &lt;xd_ni@seu.edu.cn&gt; 写道:<BR>>Hello,mpich-discuss:<BR>> 
        I'm a beginner of MPICH,and after I install MPICH. I have such problems: 
        <BR>>[root@cgsp bin]# 
        ./mpif77<BR>>/usr/lib/gcc/x86_64-redhat-linux/3.4.3/libfrtbegin.a(frtbegin.o)(.text+0x1e): 
        In function `main':<BR>>: undefined reference to 
        `MAIN__'<BR>>collect2: ld returned 1 exit status<BR>>[root@cgsp 
        bin]# ./mpif90<BR>>No Fortran 90 compiler specified when mpif90 was 
        created,<BR>>or configuration file does not specify a 
        compiler.<BR>> <BR>>[root@cgsp f90modules]# ./configure 
        <BR>>Configure in /root/mpich-1.2.7p1/f90modules creating cache 
        ./config.cache<BR>>checking for g77... g77<BR>>checking whether 
        the Fortran 77 compiler (g77 ) works... yes<BR>>checking whether the 
        Fortran 77 compiler (g77 ) is a cross-compiler... no<BR>>checking 
        whether we are using GNU Fortran 77... yes<BR>>checking whether g77 
        accepts -g... yes<BR>>checking for f95... no<BR>>checking for 
        f90... no<BR>>checking for xlf90... no<BR>>checking for pgf90... 
        no<BR>>checking for ifc... no<BR>>checking for efc... 
        no<BR>>configure: warning: no acceptable Fortran 90 compiler found in 
        $PATH<BR>>checking for a BSD compatible install... /usr/bin/install 
        -c<BR>>checking whether ln -s works... yes<BR>>checking for ar... 
        ar<BR>>checking for ranlib... ranlib<BR>>checking for make... 
        make<BR>>checking whether make echos directory changes... yes using 
        --no-print-directory<BR>>checking for virtual path format... 
        VPATH<BR>>checking for module suffix... unknown<BR>>checking for 
        case of module names... lower<BR>>checking for module directory path 
        flag... cp: cannot stat `conftest.': No such file or 
        directory<BR>>checking that the compiler accepts .f90 suffix... 
        no<BR>>checking whether Fortran 90 is compatible with Fortran 77... 
        no<BR>>configure: error: Fortran 90 and Fortran 77 compilers are not 
        compatible.<BR>>They generate external symbol names that are 
        different<BR>><BR>>What's the problem? Thanks a lot. 
        <BR>><BR>>     <BR>>xudong 
        <BR>><BR>>       <BR>>        xd_ni@seu.edu.cn<BR>>          2008-06-04<BR>><BR>>----------------------------------------------------------------------<BR>>Xudong 
        Ni, Ph.D. Candidate<BR>>Jiangsu Provincial Key Laboratory of Network 
        and Infromation Security<BR>>School of Computer Science and 
        Engineering<BR>>Southeast University<BR>>Nanjing 210096, 
        P.R.China<BR>>Tel:86-25-8379 
        5595<BR>>----------------------------------------------------------------------<BR>><BR></pre><BR><BR><!-- footer --><BR>
        <HR>
        <FONT style="FONT-SIZE: 12px; LINE-HEIGHT: 15px"></FONT><A 
        style="FONT-SIZE: 12px; COLOR: blue; LINE-HEIGHT: 15px; TEXT-DECORATION: underline" 
        href="http://popme.163.com/link/004062_0602_706.html">两两来Win为中国</A> 
      </BLOCKQUOTE></TD></TR></TBODY></TABLE></FONT></DIV>
<DIV>
<P><FONT face=宋体 size=2>= = = = = = = = = = = = = = = = = = = = = = </FONT></P>
<P><FONT face=宋体 size=2>        致<BR>礼!</FONT></P>
<DIV> </DIV>
<DIV><FONT face=宋体 size=2>              倪旭东</FONT></DIV>
<DIV><FONT face=宋体 size=2><FONT face=宋体 size=2>              </FONT><A 
href="mailto:xd_ni@seu.edu.cn">xd_ni@seu.edu.cn</A></FONT></DIV>
<DIV><FONT face=宋体 size=2>               2008-06-04</FONT></DIV>
<DIV> </DIV></DIV></BODY></HTML>