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