[mpich-discuss] problem when configure mpich
Junchao Zhang
jczhang at mcs.anl.gov
Fri May 9 20:53:27 CDT 2014
You may try a clean configure and build with gfortran to see if it works.
--Junchao Zhang
On Wed, May 7, 2014 at 7:14 PM, Yan Bai <yanbai06 at gmail.com> wrote:
> Many thanks to your quick response. It still doesn’t work.
>
> I used this configure line
> ./configure --prefix=/users/ybai5/mpich2-install F77=$ABSOFT/bin/af90\
> FC=$ABSOFT/bin/af90 --with-pm=mpd
> and got this error:
> configure: error: The selected Fortran 90 compiler
> /Applications/Absoft11.5/bin/af90 does not work with the selected Fortran
> 77 compiler /Applications/Absoft11.5/bin/af90. 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.
>
> It’s so weird. If you need, I can send the log files.
>
> Thanks a million!
>
> Best
>
> Yan
>
>
> On May 7, 2014, at 7:54 PM, Rajeev Thakur <thakur at mcs.anl.gov> wrote:
>
> Try setting both FC and F77 to af90.
>
> Rajeev
>
> On May 7, 2014, at 6:33 PM, Yan Bai <yanbai06 at gmail.com> wrote:
>
> Hello
>
> I was trying to install mpich-3.1 but stopped at the first step:
> configuration. The Fortran compiler I have is absoft. I tried both the
> configuration command given by Readme file of mpich-3.1 and the
> configuration line given by Absoft. Both have the following error message:
>
> configure: error: The selected Fortran 90 compiler
> /Applications/Absoft11.5/bin/af90 does not work with the selected Fortran
> 77 compiler /Applications/Absoft11.5/bin/af77. 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.
>
> Attached please find the log files.
>
> I really appreciate your help!
>
> Best regards
>
> Yan
> ------------------
> Yan Bai
> 216 Harkness Hall, RC 270156
> Department of Economics
> University of Rochester
> 585.275.4196 (office)
> 585.256.2309 (fax)
> yanbai06 at gmail.com
> https://sites.google.com/site/yanbai06/
>
> <sentMPI.zip>
>
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
>
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140509/c850d8bb/attachment.html>
More information about the discuss
mailing list