I am unable to reproduce this issue myself.  I regularly build with many 
different versions of gcc/gfortran, including gcc/gfortran 9.x and 10.x.


> On Feb 16, 2021, at 11:30 AM, Bernholdt, David <bernhold...@ornl.gov> wrote:
> 
> Is this a problem with more recent gfortran (10)?
> 
>> -----Original Message-----
>> From: users <users-boun...@lists.open-mpi.org> On Behalf Of Jeff Squyres
>> (jsquyres) via users
>> Sent: Tuesday, February 16, 2021 10:55 AM
>> To: Open MPI User's List <users@lists.open-mpi.org>
>> Cc: Jeff Squyres (jsquyres) <jsquy...@cisco.com>
>> Subject: [EXTERNAL] Re: [OMPI users] mpi_f08_types_issue
>> 
>> For the web archives...
>> 
>> Yonas and I conversed off-list a bit and tracked down the issue to the fact
>> that the compiler being used is somehow producing a corrupted
>> mpi_f08_types.mod file.  This then causes Open MPI's compilation of mpi-
>> f08-interfaces-callbacks.F90 -- which tries to use mpi_f08_types.mod -- to 
>> fail,
>> thereby causing the overall Open MPI compilation to fail.
>> 
>> Weird.
>> 
>> 
>>> On Feb 12, 2021, at 10:37 AM, Jeff Squyres (jsquyres) via users
>> <users@lists.open-mpi.org> wrote:
>>> 
>>> Can you please send all the information listed here:
>>> 
>>>    https://www.open-mpi.org/community/help/
>>> 
>>> Thanks!
>>> 
>>>> On Feb 12, 2021, at 7:39 AM, Yonas Mersha via users <us...@lists.open-
>> mpi.org> wrote:
>>>> 
>>>> Hi everyone,
>>>> 
>>>> I am trying to install openmpi-4.1.0 with the FORTRAN support for my
>> project but i am new in this area. The configuration steps passed 
>> successfully
>> and i used the following configuration  option:
>>>> 
>>>> ./configure CC=/usr/bin/gcc-9 CXX=/usr/bin/g++-9
>>>> F77=/usr/bin/gfortran-9 FC=/usr/bin/gfortran-9 --prefix=$OPENMPI
>>>> --enable-mpi-fortran --enable-mpi-cxx --enable-shared
>>>> 
>>>> But during the make step I am facing the following issue which is related
>> to "mpi_f08_types".
>>>> 
>>>> make[2]: Entering directory '/home/yoni/Desktop/CLM/container-
>> clm/openmpi-4.1.0/ompi/mpi/fortran/use-mpi-f08/mod'
>>>>  PPFC     mpi-f08-types.lo
>>>>  PPFC     mpi-f08-interfaces-callbacks.lo
>>>> f951: Fatal Error: Reading module ‘mpi_f08_types’ at line 1873 column
>>>> 64: Unexpected EOF compilation terminated.
>>>> make[2]: *** [Makefile:1853: mpi-f08-interfaces-callbacks.lo] Error 1
>>>> make[2]: Leaving directory '/home/yoni/Desktop/CLM/container-
>> clm/openmpi-4.1.0/ompi/mpi/fortran/use-mpi-f08/mod'
>>>> make[1]: *** [Makefile:3555: all-recursive] Error 1
>>>> make[1]: Leaving directory '/home/yoni/Desktop/CLM/container-
>> clm/openmpi-4.1.0/ompi'
>>>> make: *** [Makefile:1901: all-recursive] Error 1
>>>> 
>>>> Can I get some help on this issue?
>>> 
>>> 
>>> --
>>> Jeff Squyres
>>> jsquy...@cisco.com
>>> 
>> 
>> 
>> --
>> Jeff Squyres
>> jsquy...@cisco.com
> 


-- 
Jeff Squyres
jsquy...@cisco.com

Reply via email to