1
1
Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
4b4dbda0df Update C++ examples to say that Open MPI no longer builds the MPI C++
bindings by default.  Fix a typo in README, and add a bullet to news
about the MPI C++ bindings.

This commit was SVN r27948.
2013-01-28 22:22:26 +00:00
Brian Barrett
fdc8f69b84 * need to include iostream as well as stdio.h when doing the tricks with
MPI::SEEK_* because iostreams (well, ios_base, but I don't think that
    should be included directly) can use SEEK_* as values in an enum, which
    means that 'const int' is bad for them.
  * Remove now useless comments in the cxx example programs
  * include iostream after mpi.h so that our examples work with other MPI
    implementations that don't try to be as friendly with the constants.

Refs trac:387

This commit was SVN r12125.

The following Trac tickets were found above:
  Ticket 387 --> https://svn.open-mpi.org/trac/ompi/ticket/387
2006-10-16 14:20:31 +00:00
Jeff Squyres
18e34484fa Refs trac:387
* Document --disable-mpi-cxx-seek
 * Document that you need to include "mpi.h" after system-level
   headers that create the SEEK_* constants
 * Make the C++ examples follow this behavior (include "mpi.h" after
   <iostream>)

This commit was SVN r12123.

The following Trac tickets were found above:
  Ticket 387 --> https://svn.open-mpi.org/trac/ompi/ticket/387
2006-10-16 13:22:22 +00:00
Jeff Squyres
a4378a6643 Re-define the order of #includes because MPI's C++ bindings
unfortunately redefined some C library constants (SEEK_SET, SEEK_CUR,
SEEK_END).  Scheesh -- who designed those bindings, anyway?

Most <stdio.h>'s and <iostream>'s are sane enough that if those values
are already #define'd, they won't redefine them.  So various other
MPI's out there have counseled that if you want to compile with the
C++ MPI bindings, ensure to include "mpi.h" before <iostream> or
<stdio.h> (in C++ source files).

This commit was SVN r11511.
2006-08-31 18:16:27 +00:00
Jeff Squyres
cc4b980291 Something I've been working on with low bandwidth over the past
several weeks: marshaling hello world and ring examples in all 4
languages (C, C++, F77, F90), making them consistent and pretty, and
adding them to the build system in a non-intrusive way.

This commit was SVN r10792.
2006-07-13 21:03:36 +00:00