LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Josh Hursey (jjhursey_at_[hidden])
Date: 2005-04-05 09:18:08


On Apr 4, 2005, at 4:08 PM, Dima Teplinskiy wrote:

> Hello, i am not sure if i should be writting to this address,

Yep, you are in the right place :)

> but i am
> running Redhat 9.0 and when i try to follow the instuctions on
> configuring Lam mpi after unzipping it, i get an error saying that
>
> configure: WARNING: *** Your C++ compiler does not support the bool
> data type.
> configure: WARNING: *** LAM requires a C++ compiler with support for
> the bool
> configure: WARNING: *** data type.
>

The config.log should provide the exact reason for the failure [however
I was unable to open the attached file :( ].
This warning may not, necessarily, be caused by bool not being
supported, but it may be that the C++ libraries are not installed
correctly, or something that is causing the 'bool' type from not being
found by the compiler. Generally if you can compile and run the sample
code below with your specified C++ compiler, everything should be fine:
--------------------
#include <iostream>
using namespace std;

int main(int argc, char**argv) {
    bool foo = true;
    cout << "Hello, world! " << foo << endl;
    return 0;
}
----------------------
Should give the following output:
    Hello, world! 1

You may try to explicitly specify your C++ compiler for the configure
script via that CXX argument. Somthing like:
./configure CXX=g++ CC=gcc FC=g77 F77=g77

>
> i will attach the full output of the config with the email, but if you
> could, could you please tell me how i can get it to work properly,
> because when i try to type "make" after all of this, it says
>

I was unable to read the config output. Could you [b | g]zip the
config.log and either send it to the list again or directly to me (to
save everyone from receiving a monster file in there inbox :)

Josh

> make: *** No targets specified and no makefile found. Stop.
>
> So if you could help me out, i would really apreciate it.
> <config output.sxw>_______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/

----
Josh Hursey
jjhursey_at_[hidden]
http://www.lam-mpi.org/