LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Luke Palmer (lop_at_[hidden])
Date: 2003-08-08 10:26:03


Stephan,

I'm not understanding exactly what you're doing, but I'll take a stab.

>I want to use icc for LAM 7. I found that CC=icc does not configure
>correctlz because -lpthread fails with the icc on redhat 9:

It works for me. I tested by compiling a simple program

http://www.cee.hw.ac.uk/courses/5nm1/2/12.htm

icpc pttest.cc -o pttest -lpthread

And it works. Give that a try and let us know if it doesn't do what it
should.

>../sysdeps/i386/elf/start.S:77: undefined reference to `main'

That smells like something strange is going on. Have you compiled LAM
itself using the Intel compilers, or are you using a binary distribution?
The LAM binaries (rpm, etc) are all going to be gcc because of the licensing
restrictions on the intel compiler. I have heard of linkage problems trying
to use a gcc LAM with intel compilers.

To see how to compile LAM using intel, look at my previous post.

I hope that answers your question. Let me know if it doesn't.

-Luke