Re: [OMPI devel] Openmpi configure: Could not determine the fortran compiler flag
> On Oct 22, 2018, at 12:58 PM, Santiago Serebrinsky > wrote: > > Precisely, that was the problem. > > I disabled Fortran support to move ahead and see if I could manage that way > (and I found I couldn't!), at least in some of my uses. But I (and perhaps > others as well) would still need to have Fortran support, so the issue is not > moot at all. Ah, ok. I did see a curious error in your config.log: - 12164 configure:62128: gfortran conftest.f90 -Isubdir -lz 12165 f951.exe: Fatal Error: Reading module 'ompi_mod_flag' at line 21 column 49: Unexpected EOF 12166 compilation terminated.^M 12167 configure:62135: $? = 1 - Which looks like it failed to compile a program that used the test Fortran module that configure created. Specifically, the overall test is here: https://github.com/open-mpi/ompi/blob/master/config/ompi_fortran_find_module_include_flag.m4#L36-L72 It basically does this: 1. Make a "subdir" 2. Cd into that "subdir" 3. Compile a trivial Fortran program that should emit a Fortran module 4. Cd back into .. 5. Try compiling a trivial Fortran test program that uses the module that was just emitted, using a few different CLI options to specify the subdir where the test Fortran module can be found The first option -- "-I" -- seems to work, but it seems to think that the emitted Fortran module is invalid. That's where we get that config.log error. I admit that I'm a bit confused as to why gfortran thinks the module file is invalid ("Unexpected EOF"). You might want to try replicating what the test is doing manually to see if your gfortran really is emitting invalid modules...? -- Jeff Squyres jsquy...@cisco.com ___ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel
Re: [OMPI devel] Openmpi configure: Could not determine the fortran compiler flag
Precisely, that was the problem. I disabled Fortran support to move ahead and see if I could manage that way (and I found I couldn't!), at least in some of my uses. But I (and perhaps others as well) would still need to have Fortran support, so the issue is not moot at all. Thanks On Mon, Oct 22, 2018 at 1:52 PM Jeff Squyres (jsquyres) wrote: > For what it's worth, it looks like Open MPI's configure found your mingw > fortran compiler, but was unable to determine what flag to use to find > fortran modules -- that's what caused configure to abort. > > From your later messages, it looks like you just ended up disabling > Fortran support, so this is somewhat moot, but I wanted to tie up this > email thread for the archive. > > > > On Oct 21, 2018, at 6:01 PM, Santiago Serebrinsky < > sserebrin...@gmail.com> wrote: > > > > Compiler: > > $ which gfortran.exe > > /mingw64/bin/gfortran.exe > > > > I am attaching config.log (renamed to keep track of the error produced). > > > > PS: To try moving further, I did > > ./configure --prefix=$HOME/usr/local --disable-mpi-fortran > > which led me to a later error. This is posted in a separate thread. > > > > > > On Sun, Oct 21, 2018 at 2:25 PM Jeff Squyres (jsquyres) via devel < > devel@lists.open-mpi.org> wrote: > > Also, please send the entire output from configure as well as the > config.log file (please compress). > > > > Thanks! > > > > > > > On Oct 21, 2018, at 4:08 AM, Marco Atzeri > wrote: > > > > > > Am 21.10.2018 um 09:56 schrieb Santiago Serebrinsky: > > >> Hi all, > > >> I am using Msys2 from PortableApps under Win10. More precisely, > > >> |$ uname -a MSYS_NT-10.0-WOW Galapagos 2.11.1(0.329/5/3) 2018-09-10 > 13:25 i686 Msys | > > >> I mean to install openmpi. Since I found no pre-built package (I > would love to have it!), I downloaded openmpi-3.1.2. When I > > >> |./configure --prefix=$HOME/usr/local | > > >> after many config detections, I get > > >> |checking for Fortran compiler module include flag... configure: > WARNING: *** Could not determine the fortran compiler flag to indicate > where modules reside configure: error: *** Cannot continue| > > > > > > what fortran compiler do you have ? > > > > > > --- > > > Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. > > > https://www.avast.com/antivirus > > > > > > ___ > > > devel mailing list > > > devel@lists.open-mpi.org > > > https://lists.open-mpi.org/mailman/listinfo/devel > > > > > > -- > > Jeff Squyres > > jsquy...@cisco.com > > > > ___ > > devel mailing list > > devel@lists.open-mpi.org > > https://lists.open-mpi.org/mailman/listinfo/devel > > > > > -- > Jeff Squyres > jsquy...@cisco.com > > ___ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel
Re: [OMPI devel] Openmpi configure: Could not determine the fortran compiler flag
For what it's worth, it looks like Open MPI's configure found your mingw fortran compiler, but was unable to determine what flag to use to find fortran modules -- that's what caused configure to abort. From your later messages, it looks like you just ended up disabling Fortran support, so this is somewhat moot, but I wanted to tie up this email thread for the archive. > On Oct 21, 2018, at 6:01 PM, Santiago Serebrinsky > wrote: > > Compiler: > $ which gfortran.exe > /mingw64/bin/gfortran.exe > > I am attaching config.log (renamed to keep track of the error produced). > > PS: To try moving further, I did > ./configure --prefix=$HOME/usr/local --disable-mpi-fortran > which led me to a later error. This is posted in a separate thread. > > > On Sun, Oct 21, 2018 at 2:25 PM Jeff Squyres (jsquyres) via devel > wrote: > Also, please send the entire output from configure as well as the config.log > file (please compress). > > Thanks! > > > > On Oct 21, 2018, at 4:08 AM, Marco Atzeri wrote: > > > > Am 21.10.2018 um 09:56 schrieb Santiago Serebrinsky: > >> Hi all, > >> I am using Msys2 from PortableApps under Win10. More precisely, > >> |$ uname -a MSYS_NT-10.0-WOW Galapagos 2.11.1(0.329/5/3) 2018-09-10 13:25 > >> i686 Msys | > >> I mean to install openmpi. Since I found no pre-built package (I would > >> love to have it!), I downloaded openmpi-3.1.2. When I > >> |./configure --prefix=$HOME/usr/local | > >> after many config detections, I get > >> |checking for Fortran compiler module include flag... configure: WARNING: > >> *** Could not determine the fortran compiler flag to indicate where > >> modules reside configure: error: *** Cannot continue| > > > > what fortran compiler do you have ? > > > > --- > > Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. > > https://www.avast.com/antivirus > > > > ___ > > devel mailing list > > devel@lists.open-mpi.org > > https://lists.open-mpi.org/mailman/listinfo/devel > > > -- > Jeff Squyres > jsquy...@cisco.com > > ___ > devel mailing list > devel@lists.open-mpi.org > https://lists.open-mpi.org/mailman/listinfo/devel > -- Jeff Squyres jsquy...@cisco.com ___ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel
Re: [OMPI devel] Openmpi configure: Could not determine the fortran compiler flag
Compiler: $ which gfortran.exe /mingw64/bin/gfortran.exe I am attaching config.log (renamed to keep track of the error produced). PS: To try moving further, I did ./configure --prefix=$HOME/usr/local --disable-mpi-fortran which led me to a later error. This is posted in a separate thread. On Sun, Oct 21, 2018 at 2:25 PM Jeff Squyres (jsquyres) via devel < devel@lists.open-mpi.org> wrote: > Also, please send the entire output from configure as well as the > config.log file (please compress). > > Thanks! > > > > On Oct 21, 2018, at 4:08 AM, Marco Atzeri > wrote: > > > > Am 21.10.2018 um 09:56 schrieb Santiago Serebrinsky: > >> Hi all, > >> I am using Msys2 from PortableApps under Win10. More precisely, > >> |$ uname -a MSYS_NT-10.0-WOW Galapagos 2.11.1(0.329/5/3) 2018-09-10 > 13:25 i686 Msys | > >> I mean to install openmpi. Since I found no pre-built package (I would > love to have it!), I downloaded openmpi-3.1.2. When I > >> |./configure --prefix=$HOME/usr/local | > >> after many config detections, I get > >> |checking for Fortran compiler module include flag... configure: > WARNING: *** Could not determine the fortran compiler flag to indicate > where modules reside configure: error: *** Cannot continue| > > > > what fortran compiler do you have ? > > > > --- > > Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. > > https://www.avast.com/antivirus > > > > ___ > > devel mailing list > > devel@lists.open-mpi.org > > https://lists.open-mpi.org/mailman/listinfo/devel > > > -- > Jeff Squyres > jsquy...@cisco.com > > ___ > devel mailing list > devel@lists.open-mpi.org > https://lists.open-mpi.org/mailman/listinfo/devel <> ___ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel
Re: [OMPI devel] Openmpi configure: Could not determine the fortran compiler flag
Also, please send the entire output from configure as well as the config.log file (please compress). Thanks! > On Oct 21, 2018, at 4:08 AM, Marco Atzeri wrote: > > Am 21.10.2018 um 09:56 schrieb Santiago Serebrinsky: >> Hi all, >> I am using Msys2 from PortableApps under Win10. More precisely, >> |$ uname -a MSYS_NT-10.0-WOW Galapagos 2.11.1(0.329/5/3) 2018-09-10 13:25 >> i686 Msys | >> I mean to install openmpi. Since I found no pre-built package (I would love >> to have it!), I downloaded openmpi-3.1.2. When I >> |./configure --prefix=$HOME/usr/local | >> after many config detections, I get >> |checking for Fortran compiler module include flag... configure: WARNING: >> *** Could not determine the fortran compiler flag to indicate where modules >> reside configure: error: *** Cannot continue| > > what fortran compiler do you have ? > > --- > Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. > https://www.avast.com/antivirus > > ___ > devel mailing list > devel@lists.open-mpi.org > https://lists.open-mpi.org/mailman/listinfo/devel -- Jeff Squyres jsquy...@cisco.com ___ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel
Re: [OMPI devel] Openmpi configure: Could not determine the fortran compiler flag
Am 21.10.2018 um 09:56 schrieb Santiago Serebrinsky: Hi all, I am using Msys2 from PortableApps under Win10. More precisely, |$ uname -a MSYS_NT-10.0-WOW Galapagos 2.11.1(0.329/5/3) 2018-09-10 13:25 i686 Msys | I mean to install openmpi. Since I found no pre-built package (I would love to have it!), I downloaded openmpi-3.1.2. When I |./configure --prefix=$HOME/usr/local | after many config detections, I get |checking for Fortran compiler module include flag... configure: WARNING: *** Could not determine the fortran compiler flag to indicate where modules reside configure: error: *** Cannot continue| what fortran compiler do you have ? --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus ___ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel
[OMPI devel] Openmpi configure: Could not determine the fortran compiler flag
Hi all, I am using Msys2 from PortableApps under Win10. More precisely, $ uname -a MSYS_NT-10.0-WOW Galapagos 2.11.1(0.329/5/3) 2018-09-10 13:25 i686 Msys I mean to install openmpi. Since I found no pre-built package (I would love to have it!), I downloaded openmpi-3.1.2. When I ./configure --prefix=$HOME/usr/local after many config detections, I get checking for Fortran compiler module include flag... configure: WARNING: *** Could not determine the fortran compiler flag to indicate where modules reside configure: error: *** Cannot continue ___ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel