<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"PingFang TC";
panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
{font-family:"\@PingFang TC";}
@font-face
{font-family:"\@MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Try export FC=gfortran.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">-- <br>
Hui Zhou<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;font-family:"PingFang TC",sans-serif;color:black">Âí</span><span style="font-size:12.0pt;font-family:"MS Gothic";color:black">¿¡</span><span style="font-size:12.0pt;color:black"> via discuss <discuss@mpich.org><br>
<b>Date: </b>Saturday, January 16, 2021 at 7:44 AM<br>
<b>To: </b>discuss@mpich.org <discuss@mpich.org><br>
<b>Cc: </b></span><span style="font-size:12.0pt;font-family:"PingFang TC",sans-serif;color:black">Âí</span><span style="font-size:12.0pt;font-family:"MS Gothic";color:black">¿¡</span><span style="font-size:12.0pt;color:black"> <majun123@whu.edu.cn><br>
<b>Subject: </b>[mpich-discuss] ask about mpich-3.3.1 installation<o:p></o:p></span></p>
</div>
<p class="MsoNormal">Dear mpich staff<span style="font-family:"MS Gothic"">£¬</span><o:p></o:p></p>
<p> when I'm installing mpich-3.3.1 using gcc-8.3.1, <o:p></o:p></p>
<p>unset F90 export F90=gfortran export F77=gfortran <o:p></o:p></p>
<p> ./configure --prefix=/home/majun2/dat01/setup_new/mpich/ <o:p></o:p></p>
<p><o:p> </o:p></p>
<p class="MsoNormal"><strong><span style="font-family:"Calibri",sans-serif">error shows:</span></strong><br>
nfigure: WARNING: installation or configuration problem: Fortran 90 compiler cannot create executables.<br>
checking whether Fortran 90 compiler works with Fortran 77 compiler... configure: WARNING: See config.log for the failed test program and its output.<br>
no<br>
configure: error: <strong><span style="font-family:"Calibri",sans-serif">The selected Fortran 90 compiler gfortran does not work with the selected Fortran 77 compiler gfortran.</span></strong> 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.<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>config.log is attached below, anybody know what's the problem? thanks a lot! <o:p>
</o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>