Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Error building Openmpi (configure: error: C compiler cannot create executables)
From: Syed Ahsan Ali (ahsanshah01_at_[hidden])
Date: 2012-02-02 05:19:40


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_at_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
precis_at_precis2.pakmet.com.pkDistribution
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_at_precis2 openmpi-1.4.2]$ clean all
bash: clean: command not found
[precis_at_precis2 openmpi-1.4.2]$ make clean
make: *** No rule to make target `clean'. Stop.
[precis_at_precis2 openmpi-1.4.2]$ make
make: *** No targets specified and no makefile found. Stop.
[precis_at_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
precis_at_precis2.pakmet.com.pkDistribution
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