[mpich-discuss] missing mpi_f08 module in MPICH 3.2

Jeff Hammond jeff.science at gmail.com
Thu Mar 15 17:27:52 CDT 2018


So GCC had this header in 2013 (
https://gcc.gnu.org/viewcvs/gcc/branches/fortran-dev/libgfortran/ISO_Fortran_binding.h.tmpl?&view=markup#l1)
but it does not appear anywhere in the latest GCC source or install.

/opt/gcc$ find git HEAD -name ISO_Fortran_binding.h | echo MISSING
MISSING

Jeff

On Thu, Mar 15, 2018 at 3:24 PM, Jeff Hammond <jeff.science at gmail.com>
wrote:
>
> This is the MPICH configure error:
>
> configure:44317: gcc-8 -c    -O2
-I/home/jrhammon/Work/MPI/MPICH/git/build/src/mpl/include
-I/home/jrhammon/Work/MPI/MPICH/git/src/mpl/include
-I/home/jrhammon/Work/MPI/MPICH/git/src/openpa/src
-I/home/jrhammon/Work/MPI/MPICH/git/build/src/openpa/src -D_REENTRANT
-I/home/jrhammon/Work/MPI/MPICH/git/build/src/mpi/romio/include conftest.c
>&5
> conftest.c:155:10: fatal error: ISO_Fortran_binding.h: No such file or
directory
>  #include <ISO_Fortran_binding.h>
>           ^~~~~~~~~~~~~~~~~~~~~~~
>
> It has a trivial reproducer:
>
> $ cat mcve.c
> #include <ISO_Fortran_binding.h>
>
> int main()
> {
>     return 0;
> }
>
> $ gcc-8 -c mcve.c
> mcve.c:1:10: fatal error: ISO_Fortran_binding.h: No such file or directory
>  #include <ISO_Fortran_binding.h>
>           ^~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
>
> Relevant GCC content:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=48820
> https://gcc.gnu.org/ml/fortran/2012-07/msg00115.html
>
> I don't understand why GCC hasn't implemented this header in the 5+ years
that they've known that MPI needs it.
>
> Jeff
>
> On Thu, Mar 15, 2018 at 1:52 PM, Damian Rouson <
damian at sourceryinstitute.org> wrote:
>>
>> On March 15, 2018 at 1:05:34 PM, Kenneth Raffenetti (raffenet at mcs.anl.gov)
wrote:
>>
>> F08 bindings will build if they pass the included compiler tests during
>> configure. Unfortunately gfortran is unable to build the binding.
>>
>> Thanks for the quick reply.  Is there a GCC bug report that demonstrates
the issue?  The gfortran trunk now supports most of the required Fortran
2008 + TS29113 features so I’d like to see what’s missing and add myself to
the cc list on the bug report.
>>
>> The
>> latest Intel compiler suite will work, if you have access to that.
>>
>> Thanks.  I do.
>>
>> Damian
>>
>>
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>
>
>
>
> --
> Jeff Hammond
> jeff.science at gmail.com
> http://jeffhammond.github.io/




--
Jeff Hammond
jeff.science at gmail.com
http://jeffhammond.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20180315/fa1585ac/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list