LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Bernhard Reutner-Fischer (rep.dot.nop_at_[hidden])
Date: 2010-04-28 08:20:19


On Wed, Apr 28, 2010 at 05:00:25PM +0530, Bharath.K. Chakravarthi wrote:
>hello LAM/MPI users
>
>I'm using fedora core 9 and
>
>I tried to install lam in my system and its showing the error as follows
>
>configure: WARNING: map: proceeding with the preprocessor's result
>configure: WARNING: map: in the future, the compiler will take precedence
>configure: WARNING: ## ------------------------------------------ ##
>configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
>configure: WARNING: ## ------------------------------------------ ##
>checking for map... yes
>checking for type bool... no
>checking for true/false... no
>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.
>configure: error: cannot continue
>[root_at_localhost lam]#
>
>
>I have seen online lam installation process and given commands as follows
>
>root_at_localhost lam]# CC=cc
>[root_at_localhost lam]# CXX=CC
>[root_at_localhost lam]# FC=f77
>[root_at_localhost lam]# ./configure --prefix=/root/Documents/lam
>
>
>then also the same error is coming ....
>
>
>so please anyone tell me what may be the problem.......

try these:
$ cc --version
$ CC --version
$ gcc --version
$ g++ --version
$ gfortran --version

See?

It is very likely that configure would correctly detect these C, C++ and
FORTRAN compilers automatically, so just call configure without these
variables passed down to it.

PS: you should use http://www.open-mpi.org/ instead of LAM/MPI nowadays.
It comes with pre-built packages for any recent (as in less than 2 years
old) distributions, FYI.