LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-05-07 13:04:38


It looks like it's complaining about g++.

If you run into further problems, please move this thread to the Open MPI list.

On May 7, 2010, at 1:02 PM, Bharath.K. Chakravarthi wrote:

> My OS is fedora core 9 and i also selected all the packages along with gcc while installing ....
> ok I'll try installing gcc manually.......
>
> On Fri, May 7, 2010 at 6:11 PM, Bhanu <bhanuiitr_at_[hidden]> wrote:
> You didn't mention which OS you are using.. 'cos many OS do not come with GCC or other required things.. I tried lam and openmpi both in my pc, (Fedora 8, while installing I chose to install all the packages available in the DVD) and both are installed, running smoothly..
>
> May be installing GCC could help..
>
> On 7 May 2010 15:10, Bharath.K. Chakravarthi <bharath.chakravarthi_at_[hidden]> wrote:
> hello there...
> as i've been advised to use open mpi rather than lam mpi i've tried to install it.
> i could not got any installation guide online
> although i have tried to install using lam/mpi manual only
> but i rushed into errors as follows
>
> [root_at_localhost openmpi]# ./configure
> ..
> ..
>
> *** C++ compiler and preprocessor
> checking for g++... no
> checking for c++... no
> checking for gpp... no
> checking for aCC... no
> checking for CC... no
> checking for cxx... no
> checking for cc++... no
> checking for cl.exe... no
> checking for FCC... no
> checking for KCC... no
> checking for RCC... no
> checking for xlC_r... no
> checking for xlC... no
> checking whether we are using the GNU C++ compiler... no
> checking whether g++ accepts -g... no
> checking dependency style of g++... none
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: in `/home/bioinfo/Documents/gromacs/openmpi':
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> [root_at_localhost openmpi]# ./configure --help
>
>
> can any one tell me how can i install it or provide me any installation guide
> thanks for help.. :)
>
>
> On Wed, Apr 28, 2010 at 11:25 PM, Bharath.K. Chakravarthi <bharath.chakravarthi_at_[hidden]> wrote:
> K thank u :)
>
>
> On Wed, Apr 28, 2010 at 5:20 AM, Bernhard Reutner-Fischer <rep.dot.nop_at_[hidden]> wrote:
> 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.
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
>
> --
> Bharath.K.Chakravarthi
> Ph:9535629260
>
>
>
> --
> Bharath.K.Chakravarthi
> Ph:9535629260
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
>
> --
> "We cannot do everything and there is a sense of liberation in realizing that. This enables us to do something, and do it well. It may be incomplete, but it is a beginning, a step along the way, an opportunity for God's grace to enter and do the rest."
>
> Oscar Romero
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
>
> --
> Bharath.K.Chakravarthi
> Ph:9535629260
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/