Closed aradi closed 8 months ago
Just a ping for this bug report. If this is not the right place to report it, can you please direct me to the proper site? It is really annoying, that one can not use modern Fortran features with the Conda compilers due to this installation bug.
Solution to issue cannot be found in the documentation.
Issue
When installing a Fortran compiler (either via the
fortran-compiler
package as user or via{{ compiler('fortran') }}
in a recipe), the C-include fileinclude/ISO_Fortran_binding.h
is not installed. Missing this file prevents the compilation of modern Fortran-C interfaces. It also prevents autotools from recognizing the Fortran compiler (gfortran) being F2008-compliant. For example, this seems to be the reason, why MPICH does not build thempi_f08
module (conda-forge/mpich-feedstock#84) preventing the usage of the modern MPI-interface in Fortran programs.If I build gcc myself, the include file gets installed. (I use the
--enable-languages=c,c++,fortran
option).Installed packages
Environment info