Error:
The selected Fortran 90 compiler /usr/bin/gfortran does not work with the selected Fortran 77 compiler ....
This happens when you have both fort77 and gfortran installed on your machine. As a solution, use variables F77 and F90 both pointing to the gfortran. The configure command should look like;
$./configure --prefix=<install-dir> --enable-f77 FC=/usr/bin/gfortran F77=/usr/bin/gfortran
The selected Fortran 90 compiler /usr/bin/gfortran does not work with the selected Fortran 77 compiler ....
This happens when you have both fort77 and gfortran installed on your machine. As a solution, use variables F77 and F90 both pointing to the gfortran. The configure command should look like;
$./configure --prefix=<install-dir> --enable-f77 FC=/usr/bin/gfortran F77=/usr/bin/gfortran
No comments:
Post a Comment