LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Yujing Lin (yujing.lin_at_[hidden])
Date: 2008-07-09 11:50:55


thanks a lot, Tim and Brian,

Tim: my problem is solved. I installed an older compiler, and then everything is fine. I really thanks for your help and advice.

Brian: yes, you are right. Io should consider to install open MPI. I will try that later on.

many thanks again

anne

-----Original Message-----
From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]] On Behalf Of Tim Prince
Sent: Wednesday, July 09, 2008 1:42 PM
To: General LAM/MPI mailing list
Subject: Re: LAM: lam-mpi configure error related c++ compiler

Yujing Lin wrote:
> Dear all,
>
> I am trying to configure lam/mpi, and I got following error message
> for C++ compiler: (c compiler seems ll right)
>
> configure:8775: result: no
> configure:8793: WARNING: *** Your C++ compiler does not support the bool data type.
> configure:8795: WARNING: *** LAM requires a C++ compiler with support
> for the bool
> configure:8797: WARNING: *** data type.
> configure:8799: error: cannot continue
>
>
> then the configure stop.
>
> I once build lam-mpi 7.1.4 on my opensuse 10.3 system, and everything is fine, no problem at all. now I reinstall my system with suse 11, and try to build lam-mpi 7.1.4 in the same way, unfortunately, this time it doesn't work.
>

> configure:8689: g++ -O3 conftest.cc -o conftest
> conftest.cc:4: error: second argument of 'int main(int, char*)' should be 'char **'
Your new compiler is checking syntax, where lam configure doesn't expect such checking. You would have to fix the source code, try adding -permissive to your g++ options, or install an older gcc.
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/