LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Richard Hadsell (hadsell_at_[hidden])
Date: 2004-06-01 15:30:05


I am upgrading my LAM to 7.0.6. We currently use Intel C++ 8.0 on our
Linux x86 machines. I configured it with this command:

configure --prefix=/whatever/lam-7.0.6 --with-exceptions --without-fc --with-signal=SIGURG --with-trillium

This produces 2 warnings on each C++ compilation.

One warning refers to unknown option '-fexceptions'. I assume this is
due to the Intel compiler's definition of __GNUC__, which makes it look
somewhat like g++. I could get rid of that by using 'icc -no-gcc', but
I'm afraid that I would have to recompile all of our applications with
the same option to make sure I don't introduce some strange
incompatibility in a LAM or system header somewhere. I don't want to do
that.

I tried using '--with-exflags=' to persuade configure to not add any
special flags to enable exceptions. That didn't work. It behaved the
same as not using this option at all. I solved the problem using
'--with-exflags=-w1', which is a harmless flag that specifies the kind
of warnings you want to see, and its value is the default.

However, it would be nice to be able to tell configure that the compiler
needs no special flags to enable exceptions. Better would be for
configure to determine that itself.

The second warning refers to unsupported option '-MP'. I haven't
figured out how to get rid of this. I don't see it as an option for
g++, so I'm not at all sure what it is supposed to do.

-- 
Dick Hadsell			914-259-6320  Fax: 914-259-6499
Reply-to:			hadsell_at_[hidden]
Blue Sky Studios                http://www.blueskystudios.com
44 South Broadway, White Plains, NY 10601