AMBER Archive (2008)

Subject: Re: AMBER: compiling amber 10

From: David A. Case (case_at_biomaps.rutgers.edu)
Date: Sat Nov 22 2008 - 14:33:54 CST


On Sat, Nov 22, 2008, Andrei Neamtu wrote:
>
> I try to compile the parallel version of Amber 10 with fortran g95
> compiler and -lamsource flag but I got the following error messages
> (my experience in compiling stuff is low).
> The serial version compiled OK and the tests were successfull.
> The platform is x86_64 and the gcc ver. is 4.3.2
> It seems a C++ related error.
>
> 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
>
> Any suggestions will be greatly appreciated!

Try to use Google -- I search on "lam bool data type". This led me here:

   http://www.lam-mpi.org/MailArchives/lam/2008/07/13787.php

This would probably mean adding "-permissive" to the CPLUSPLUS variable in
config_amber.h, and trying again.

Basically, your compiler is newer than the MPI version, and is being more
strict in its code checks than the gcc 4.1.x (and earlier) compilers.
Of course, if you have access to some other MPI (or can build one), you could
use that as well.

...good luck...dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
      to majordomo_at_scripps.edu