LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Xavier Andrade (xavier_at_[hidden])
Date: 2004-01-14 13:28:15


On Wed, 14 Jan 2004, Vladimir Chalupecky wrote:
[...]
>
> Question 2: I'm using Debian 3.0 with default compiler 3.3.2 However, with
> this this compiler I cannot link LAM programs, while with 2.95 I can (Am I
> right there is binary incompatibility between these versions of gcc?).
> mpiCC uses g++. Therefore, I have to compile my programs with g++-2.95 and
> manually put the include directories and libraries. It works, but its a
> bit inconvenient. Is there a way how to tell mpiCC which compiler to use?
> As far as I can read the man page, the only parameter mpiCC has is
> -showme.

Just set the enviroment variable LAMHCP to g++-2.95, if you are
using bash use `export LAMHCP=g++-2.95`.

Xavier