To be accurate, the error is: [root@localhost build]# ../configure --prefix=/usr/local/openmpi-3.0 checking for perl... perl
============================================================================ == Configuring Open MPI ============================================================================ *** Startup tests checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... *checking whether we are cross compiling... configure: error: in `/home/user/openmpi-3.0.1/build':* configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details I had installed openmpi-3.0 before and removed it for some reason. While reinstalling I'm getting this error. Is there any thing left during removing older installation that is creating problem ? On Tue, Apr 3, 2018 at 9:58 AM, abhisek Mondal <abhisek.m...@gmail.com> wrote: > Actually this error is happening for both versions. I tried to build > openmpi-2.0 and openmpi-3.0. > > On Tue, Apr 3, 2018 at 9:48 AM, Douglas L Reeder <d...@centurylink.net> > wrote: > >> In the boldface line it refers to an openmpi-2.0.4 installation. It >> appears that the 3.0 build is trying to use libraires or includes from the >> 2.04 install instead of the 3.0 build. Can you carefully define your PATH >> and LD_LIBRARY_PATH (or whatever linux calls it) to prevent the 3.0 build >> from accessing the 2.04 build libraries and includes (modules is another >> way to accomplish this). >> >> Doug >> >> On Apr 2, 2018, at 10:06 PM, abhisek Mondal <abhisek.m...@gmail.com> >> wrote: >> >> Hi, >> >> I need some help regarding compiling Openmpi-3.0. I have perfectly >> working C compiler, however, during configuration I'm keep getting this >> error: >> >> >> *============================================================================* >> *== Configuring Open MPI* >> >> *============================================================================* >> >> **** Startup tests* >> *checking build system type... x86_64-unknown-linux-gnu* >> *checking host system type... x86_64-unknown-linux-gnu* >> *checking target system type... x86_64-unknown-linux-gnu* >> *checking for gcc... gcc* >> *checking whether the C compiler works... yes* >> *checking for C compiler default output file name... a.out* >> *checking for suffix of executables... * >> *checking whether we are cross compiling... configure: error: in >> `/home/user/openmpi-2.0.4':* >> *configure: error: cannot run C compiled programs.* >> *If you meant to cross compile, use `--host'.* >> *See `config.log' for more details* >> >> I do not know waht is cross compiling but how can I avoid this error ? >> Please help me out here. >> >> Thanks >> >> -- >> Abhisek Mondal >> >> *Senior Research Fellow* >> >> *Structural Biology and Bioinformatics Division* >> *CSIR-Indian Institute of Chemical Biology* >> >> *Kolkata 700032* >> >> *INDIA* >> _______________________________________________ >> users mailing list >> users@lists.open-mpi.org >> https://lists.open-mpi.org/mailman/listinfo/users >> >> >> >> _______________________________________________ >> users mailing list >> users@lists.open-mpi.org >> https://lists.open-mpi.org/mailman/listinfo/users >> > > > > -- > Abhisek Mondal > > *Senior Research Fellow* > > *Structural Biology and Bioinformatics Division* > *CSIR-Indian Institute of Chemical Biology* > > *Kolkata 700032* > > *INDIA* > -- Abhisek Mondal *Senior Research Fellow* *Structural Biology and Bioinformatics Division* *CSIR-Indian Institute of Chemical Biology* *Kolkata 700032* *INDIA*
_______________________________________________ users mailing list users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/users