[ewg] OFED-1.4.1-rc3, Mvapich2 build error with the Intel compiler

Woodruff, Robert J robert.j.woodruff at intel.com
Thu Apr 9 16:31:01 PDT 2009


 
Hi Jonathan,

I was trying to build mvapich2 using the Intel compiler
option of the OFED-1.4.1 install script and I get the
following build error.  It seems to work fine for 
mvapich and openmpi, but mvapich2 fails.

Also, it I get build errors if I try to 
compile any of the MPI tests with the Intel compiler.


woody


+ ./configure --prefix=/usr/mpi/intel/mvapich2-1.2p1 --with-rdma=gen2 --with-ib-include=/usr/include --with-ib-libpath=/usr/lib64 --enable-sharedlibs=gcc 'CC=icc -i-dynamic' 'CXX=icpc -i-dynamic' 'F77=ifort -i-dynamic' 'F90=ifort -i-dynamic'
Configuring MVAPICH2 1.2.0p1 with  '--prefix=/usr/mpi/intel/mvapich2-1.2p1' '--with-rdma=gen2' '--with-ib-include=/usr/include' '--with-ib-libpath=/usr/lib64' '--enable-sharedlibs=gcc' 'CC=icc -i-dynamic' 'CXX=icpc -i-dynamic' 'F77=ifort -i-dynamic' 'F90=ifort -i-dynamic'
checking build system type... x86_64-unknown-linux-gnu
Executing mpich2prereq in /var/tmp/OFED_topdir/BUILD/mvapich2-1.2p1/src/mpid/ch3 with
Executing mpich2prereq in /var/tmp/OFED_topdir/BUILD/mvapich2-1.2p1/src/mpid/ch3/channels/mrail
sourcing /var/tmp/OFED_topdir/BUILD/mvapich2-1.2p1/src/pm/mpd/mpich2prereq
sourcing /var/tmp/OFED_topdir/BUILD/mvapich2-1.2p1/src/pm/mpd/setup_pm
checking for gcc... icc -i-dynamic
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.45421 (%build)


RPM build errors:
    user jperkins does not exist - using root
    group jperkins does not exist - using root
    user jperkins does not exist - using root
    group jperkins does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.45421 (%build)


More information about the ewg mailing list