Re: [OMPI users] Problems with compilig of OpenMPI 1.2.7

2008-09-02 Thread Rolf Vandevaart
On 08/29/08 19:27, Jeff Squyres wrote: 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

Re: [OMPI users] Problems with compilig of OpenMPI 1.2.7

2008-08-29 Thread Jeff Squyres
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 i

Re: [OMPI users] Problems with compilig of OpenMPI 1.2.7

2008-08-29 Thread Jeff Squyres
On Aug 29, 2008, at 9:03 AM, Paul Kapinos wrote: I just tried to install the 1.2.7 version of OpenMPI alongside to our used 1.2.5 and 1.2.6. Because we use gcc, intel, studio and pgi compilers on three OSes (Linux, Solaris/Sparc/ Solaris/Opteron), we have at least 15 Versions to compile (

Re: [OMPI users] Problems with compilig of OpenMPI 1.2.7

2008-08-29 Thread Rolf Vandevaart
Hi Again Paul: A workaround for your issue is to add the following to your configure line. --without-threads This will prevent the synch.h from being included as it is not needed anyways. We will have to figure out a better solution but for now I think that will get you passed your mpicxx.c

Re: [OMPI users] Problems with compilig of OpenMPI 1.2.7

2008-08-29 Thread Rolf Vandevaart
Hi Paul: I can comment on why you are seeing the mpicxx problem, but I am not sure what to do about it. 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

[OMPI users] Problems with compilig of OpenMPI 1.2.7

2008-08-29 Thread Paul Kapinos
Hi all, I just tried to install the 1.2.7 version of OpenMPI alongside to our used 1.2.5 and 1.2.6. Because we use gcc, intel, studio and pgi compilers on three OSes (Linux, Solaris/Sparc/ Solaris/Opteron), we have at least 15 Versions to compile (not all compilers are available everywere).