Re: [mpich-discuss] problem when configure mpich
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 <[email protected]> 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 <[email protected]> wrote:
Try setting both FC and F77 to af90.
Rajeev
On May 7, 2014, at 6:33 PM, Yan Bai <[email protected]> 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) [email protected] https://sites.google.com/site/yanbai06/
<sentMPI.zip>
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
Junchao Zhang