Both icc and gcc seem to be broken on your system; they're not creating 
executables.

You can look in config.log for more details about what is failing.  But 
basically, configure is trying to compile a simple "hello world"-like C 
program, and it's failing.

You might want to try trying to compile a simple "hello world"-like C program 
yourself and see what error messages are coming out of the compiler.



On Feb 2, 2012, at 5:19 AM, Syed Ahsan Ali wrote:

> Dear All,
> 
> I have been stuck in installation of openmpi1.4.2 on RHEL5.2 with ifort and 
> icc.I get following error while configuring, Please help.
> 
> 
> [precis@precis2 openmpi-1.4.2]$ ./build.sh 
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> 
> ============================================================================
> == Configuring Open MPI
> ============================================================================
> 
> *** Checking versions
> checking Open MPI version... 1.4.2
> checking Open MPI release date... May 04, 2010
> checking Open MPI Subversion repository version... r23093
> checking Open Run-Time Environment version... 1.4.2
> checking Open Run-Time Environment release date... May 04, 2010
> checking Open Run-Time Environment Subversion repository version... r23093
> checking Open Portable Access Layer version... 1.4.2
> checking Open Portable Access Layer release date... May 04, 2010
> checking Open Portable Access Layer Subversion repository version... r23093
> 
> *** Initialization, setup
> configure: builddir: /home/precis/opemmpi/openmpi-1.4.2
> configure: srcdir: /home/precis/opemmpi/openmpi-1.4.2
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> installing to directory "/home/openmpi"
> 
> *** Configuration options
> checking whether to run code coverage... no
> checking whether to compile with branch probabilities... no
> checking whether to debug memory usage... no
> checking whether to profile memory usage... no
> checking if want developer-level compiler pickyness... no
> checking if want developer-level debugging code... no
> checking if want sparse process groups... no
> checking if want Fortran 77 bindings... yes
> checking if want Fortran 90 bindings... yes
> checking desired Fortran 90 bindings "size"... small
> checking whether to enable PMPI... yes
> checking if want C++ bindings... yes
> checking if want MPI::SEEK_SET support... yes
> checking if want to enable weak symbol support... yes
> checking if want run-time MPI parameter checking... runtime
> checking if want to install OMPI header files... no
> checking if want pretty-print stacktrace... yes
> checking if peruse support is required... no
> checking max supported array dimension in F90 MPI bindings... 4
> checking if pty support should be enabled... yes
> checking if user wants dlopen support... yes
> checking if heterogeneous support should be enabled... no
> checking if want trace file debugging... no
> checking if want full RTE support... yes
> checking if want fault tolerance... Disabled fault tolerance
> checking if want IPv6 support... yes (if underlying system supports it)
> checking if want orterun "--prefix" behavior to be enabled by default... no
> checking for package/brand string... Open MPI pre...@precis2.pakmet.com.pk 
> Distribution
> checking for ident string... 1.4.2
> checking whether to add padding to the openib control header... no
> checking whether to use an alternative checksum algo for messages... no
> 
> ============================================================================
> == Compiler and preprocessor tests
> ============================================================================
> 
> *** C compiler and preprocessor
> checking for style of include used by make... GNU
> checking for gcc... icc
> checking for C compiler default output file name... 
> configure: error: in `/home/precis/opemmpi/openmpi-1.4.2':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> [precis@precis2 openmpi-1.4.2]$ clean all
> bash: clean: command not found
> [precis@precis2 openmpi-1.4.2]$ make clean
> make: *** No rule to make target `clean'.  Stop.
> [precis@precis2 openmpi-1.4.2]$ make
> make: *** No targets specified and no makefile found.  Stop.
> [precis@precis2 openmpi-1.4.2]$ ./configure 
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> 
> ============================================================================
> == Configuring Open MPI
> ============================================================================
> 
> *** Checking versions
> checking Open MPI version... 1.4.2
> checking Open MPI release date... May 04, 2010
> checking Open MPI Subversion repository version... r23093
> checking Open Run-Time Environment version... 1.4.2
> checking Open Run-Time Environment release date... May 04, 2010
> checking Open Run-Time Environment Subversion repository version... r23093
> checking Open Portable Access Layer version... 1.4.2
> checking Open Portable Access Layer release date... May 04, 2010
> checking Open Portable Access Layer Subversion repository version... r23093
> 
> *** Initialization, setup
> configure: builddir: /home/precis/opemmpi/openmpi-1.4.2
> configure: srcdir: /home/precis/opemmpi/openmpi-1.4.2
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for prefix by checking for ompi_clean... no
> installing to directory "/usr/local"
> 
> *** Configuration options
> checking whether to run code coverage... no
> checking whether to compile with branch probabilities... no
> checking whether to debug memory usage... no
> checking whether to profile memory usage... no
> checking if want developer-level compiler pickyness... no
> checking if want developer-level debugging code... no
> checking if want sparse process groups... no
> checking if want Fortran 77 bindings... yes
> checking if want Fortran 90 bindings... yes
> checking desired Fortran 90 bindings "size"... small
> checking whether to enable PMPI... yes
> checking if want C++ bindings... yes
> checking if want MPI::SEEK_SET support... yes
> checking if want to enable weak symbol support... yes
> checking if want run-time MPI parameter checking... runtime
> checking if want to install OMPI header files... no
> checking if want pretty-print stacktrace... yes
> checking if peruse support is required... no
> checking max supported array dimension in F90 MPI bindings... 4
> checking if pty support should be enabled... yes
> checking if user wants dlopen support... yes
> checking if heterogeneous support should be enabled... no
> checking if want trace file debugging... no
> checking if want full RTE support... yes
> checking if want fault tolerance... Disabled fault tolerance
> checking if want IPv6 support... yes (if underlying system supports it)
> checking if want orterun "--prefix" behavior to be enabled by default... no
> checking for package/brand string... Open MPI pre...@precis2.pakmet.com.pk 
> Distribution
> checking for ident string... 1.4.2
> checking whether to add padding to the openib control header... no
> checking whether to use an alternative checksum algo for messages... no
> 
> ============================================================================
> == Compiler and preprocessor tests
> ============================================================================
> 
> *** C compiler and preprocessor
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking for C compiler default output file name... 
> configure: error: in `/home/precis/opemmpi/openmpi-1.4.2':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> 
> -- 
> Kind Regards
> 
> Syed Ahsan Ali Bokhari 
> 
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to