Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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