LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Tim Prince (tprince_at_[hidden])
Date: 2005-06-22 20:23:25


Brian Barrett wrote:

>On Jun 22, 2005, at 4:25 PM, Ajay-Kumar M Tannirkulam wrote:
>
>
>
>>i am trying to build lam with icc and ifort. When i do a make all
>>i get a lot of errors. the tar file has config.log, output of make
>>all in make.LOG
>>and the output of uname -a in uname.txt.
>>
>>
>
>It looks like the bulk of your problems are because icc didn't add
>the right C++ support libraries when linking C++ binaries. With
>version 8.0 of the compilers, you are supposed to use icc for C code
>and icpc for C++ code (I dont' know why the change, but they made
>it). Changing the configure options to use icpc for the C++ compiler
>and rerunning configure / make should do the trick.
>
>Brian
>
>

Brian is correct. There are situations (e.g. linking) where the context
doesn't permit the compiler to guess reliably whether C++ or C is
wanted, so the Intel compiler attempts to set it up so icc acts as a
replacement for gcc, and icpc acts as a replacement for g++. icc/icpc
9.0 work the same way.