Re: [OMPI users] on SEEK_*

2008-10-16 Thread Rajeev Thakur
In the upcoming 1.0.8 release of MPICH2 (next week or so) we are fixing it similar to Open MPI, so you shouldn't need to undef anything even in MPICH2. Rajeev > Date: Thu, 16 Oct 2008 12:29:01 +0200 > From: Jed Brown > Subject: [OMPI users] on SEEK_* > To: us...@open-mpi

Re: [OMPI users] on SEEK_*

2008-10-16 Thread Jed Brown
On Thu 2008-10-16 08:21, Jeff Squyres wrote: > FWIW: https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/20 is a > placemarker for discussion for the upcoming MPI Forum meeting (next > week). > > Also, be aware that OMPI's 1.2.7 solution isn't perfect, either. You > can see from ticket 20 th

Re: [OMPI users] on SEEK_*

2008-10-16 Thread Jeff Squyres
FWIW: https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/20 is a placemarker for discussion for the upcoming MPI Forum meeting (next week). Also, be aware that OMPI's 1.2.7 solution isn't perfect, either. You can see from ticket 20 that it actually causes a problem if you try to use SEE

Re: [OMPI users] on SEEK_*

2008-10-16 Thread Jed Brown
On Thu 2008-10-16 07:43, Jeff Squyres wrote: > On Oct 16, 2008, at 6:29 AM, Jed Brown wrote: > > Open MPI doesn't require undef'ing of anything. It should also not > require any special ordering of include files. Specifically, the > following codes both compile fine for me with 1.2.8 and the

Re: [OMPI users] on SEEK_*

2008-10-16 Thread Jeff Squyres
On Oct 16, 2008, at 6:29 AM, Jed Brown wrote: but when SEEK_* is not present and iostream has been included, OMPI- dev gives these errors. /home/ompi/include/openmpi/ompi/mpi/cxx/mpicxx.h:53: error: ‘SEEK_SET’ was not declared in this scope /home/ompi/include/openmpi/ompi/mpi/cxx/mpicxx.h:54

[OMPI users] on SEEK_*

2008-10-16 Thread Jed Brown
I've just run into this chunk of code. /* MPICH2 will fail if SEEK_* macros are defined * because they are also C++ enums. Undefine them * when including mpi.h and then redefine them * for sanity. */ # ifdef SEEK_SET #define MB_SEEK_SET SEEK_SET #define MB_SEEK_CUR SEEK_CUR #defin