Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Problems with compilig of OpenMPI 1.2.7
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-08-29 19:27:15


On Aug 29, 2008, at 10:48 AM, Rolf Vandevaart wrote:

> In the file mpicxx.cc there is a declaration near the bottom that
> looks like this.
>
> const int LOCK_SHARED = MPI_LOCK_SHARED;
>
> The preprocessor is going through that file and replacing
> LOCK_SHARED with 0x01. Then when it tries to compile it you are
> trying to compile a line that looks like this.
>
> const int 0x01 = 2;
>
> That is why you see the error.

Hmm. This hasn't changed in mpicxx.cc for a long time. What made it
get activated now?

-- 
Jeff Squyres
Cisco Systems