Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] problem with installing openmpi with intel compiler onubuntu
From: Joe Griffin (joe.griffin_at_[hidden])
Date: 2009-05-26 22:51:48

Is "icc" in your path?
What if you type "which icc"?


From: users-bounces_at_[hidden] on behalf of Michael Kuklik
Sent: Tue 5/26/2009 7:05 PM
To: users_at_[hidden]
Subject: [OMPI users] problem with installing openmpi with intel compiler onubuntu

Hi everybody,

I try to compile openmpi with intel compiler on ubuntu 9.04.
I compiled openmpi on Redhat and os x many times and I could always find a problem. But the error that I'm getting now, gives me no clues where to even search for the problem.

my config line is a follows:
./configure CC=icc CXX=icpc --prefix=/usr/local/intel/openmpi

Everything configures and compiles OK. But then when I try to install I get this error

Making install in etc
make[2]: Entering directory `/tmp/openmpi-1.3.2/orte/etc'
make[3]: Entering directory `/tmp/openmpi-1.3.2/orte/etc'
make[3]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p /usr/local/intel/openmpi/etc
******************************* WARNING ************************************
*** Not installing new openmpi-default-hostfile over existing file in:
*** /usr/local/intel/openmpi/etc/openmpi-default-hostfile
******************************* WARNING ************************************
make[3]: Leaving directory `/tmp/openmpi-1.3.2/orte/etc'
make[2]: Leaving directory `/tmp/openmpi-1.3.2/orte/etc'
Making install in .
make[2]: Entering directory `/tmp/openmpi-1.3.2/orte'
make[3]: Entering directory `/tmp/openmpi-1.3.2/orte'
test -z "/usr/local/intel/openmpi/lib" || /bin/mkdir -p "/usr/local/intel/openmpi/lib"
 /bin/bash ../libtool --mode=install /usr/bin/install -c '' '/usr/local/intel/openmpi/lib/'
libtool: install: warning: relinking `'
libtool: install: (cd /tmp/openmpi-1.3.2/orte; /bin/bash /tmp/openmpi-1.3.2/libtool --tag CC --mode=relink icc -O3 -DNDEBUG -finline-functions -fno-strict-aliasing ................ )
libtool: relink: icc -shared runtime/.libs/orte_finalize.o runtime/.libs/orte_init.o runtime/.libs/orte_locks.o runtime/.libs/orte_globals.o runtime/data_type_support/.libs/orte_dt_compare_fns.o runtime/data_type_support/.libs/orte_dt_copy_fns.o runtime/data_type_support/.libs/orte_dt_print_fns.o runtime/data_type_support/.libs/orte_dt_release_fns.o runtime/data_type_support/.libs/orte_dt_size_fns.o runtime/data_type_support/.libs/orte_dt_packing_fns.o runtime/data_type_support/.libs/orte_dt_unpacking_fns.o runtime/.libs/orte_mca_params.o runtime/.libs/orte_wait.o runtime/.libs/orte_cr.o runtime/.libs/..................................... -Wl, -o .libs/
/tmp/openmpi-1.3.2/libtool: line 7847: icc: command not found
libtool: install: error: relink `' with the above command before installing it
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/tmp/openmpi-1.3.2/orte'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/tmp/openmpi-1.3.2/orte'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/openmpi-1.3.2/orte'
make: *** [install-recursive] Error 1

libtool is the one from ubuntu repository i.e. 2.2.6a-1
icc and icpc are the newest ones i.e. 11.083

Ouputs of configure make and install are attached.

Any clues what's wrong?

Thanks for help