dear all,
thanks for the replay,

   ./configure: line 5373: icc: command not found 
    configure:5382: $? = 127 
    configure:5371: icc -v >&5 

I am totally new, What can I do? As I told you if I compile a simple hello program with icc
it works.

Thanks

Diego




On 23 November 2012 15:45, Diego Avesani <diego.avesani@gmail.com> wrote:
dear all,
I am new in openMPI world and in general in parallelization. I have some problem with configuration of openMPI in my laptop.
I have read your FAQ and I tried to google the problem but I was not able to solve it.
The problem is:

I have downloaded the openmpi-1.6.3, unpacked it
Then I have installed on my pc intel icc and icpc.
when I run:
./configure CC=icc CXX=icpc F77=ifort FC=ifort

I get:

*** 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... icc
checking whether the C compiler works... no
configure: error: in `/home/diedro/Downloads/openmpi-1.6.3':
configure: error: C compiler cannot create executables
See `config.log' for more details
diedro@diedro-Latitude-E6420:~/Desktop/Downloads/openmpi-1.6.3$ 

I do no understand why. I did a simple hello project with icc and it works.
(in attachment you can fiend the config.log)

Really thanks for any help. 


Diego