0b8baa217d
This commit contains the following changes: The C++ bindings were removed from the standard in MPI-3.0. This commit removes the entirety of the C++ bindings as well as the support configury. Removes all references to C++ from the man pages. This includes the bindings themselves, all references to what C++ bindings return, all not-available comments, and differences between C++ and other language bindings. If the user passes --enable-mpi-cxx, --enable-mpi-cxx-seek, or --enable-cxx-exceptions, print a warning message an abort configure. Signed-off-by: Jeff Squyres <jsquyres@cisco.com> Signed-off-by: Nathan Hjelm <hjelmn@google.com> |
||
---|---|---|
.. | ||
dtrace | ||
connectivity_c.c | ||
hello_c.c | ||
hello_mpifh.f | ||
hello_oshmem_c.c | ||
hello_oshmem_cxx.cc | ||
hello_oshmemfh.f90 | ||
hello_usempi.f90 | ||
hello_usempif08.f90 | ||
Hello.java | ||
Makefile | ||
Makefile.include | ||
oshmem_circular_shift.c | ||
oshmem_max_reduction.c | ||
oshmem_shmalloc.c | ||
oshmem_strided_puts.c | ||
oshmem_symmetric_data.c | ||
README | ||
ring_c.c | ||
ring_mpifh.f | ||
ring_oshmem_c.c | ||
ring_oshmemfh.f90 | ||
ring_usempi.f90 | ||
ring_usempif08.f90 | ||
Ring.java | ||
spc_example.c |
Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana University Research and Technology Corporation. All rights reserved. Copyright (c) 2006-2012 Cisco Systems, Inc. All rights reserved. Copyright (c) 2007-2009 Sun Microsystems, Inc. All rights reserved. Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved. Copyright (c) 2013 Mellanox Technologies, Inc. All rights reserved. $COPYRIGHT$ The files in this directory are sample MPI applications provided both as a trivial primer to MPI as well as simple tests to ensure that your Open MPI installation is working properly. If you are looking for a comprehensive MPI tutorial, these samples are not enough. Excellent MPI tutorials are available here: http://www.citutor.org/login.php Get a free account and login; you can then browse to the list of available courses. Look for the ones with "MPI" in the title. There are two MPI examples in this directory, each using one of six different MPI interfaces: - Hello world C: hello_c.c C++: hello_cxx.cc Fortran mpif.h: hello_mpifh.f Fortran use mpi: hello_usempi.f90 Fortran use mpi_f08: hello_usempif08.f90 Java: Hello.java C shmem.h: hello_oshmem_c.c Fortran shmem.fh: hello_oshmemfh.f90 - Send a trivial message around in a ring C: ring_c.c C++: ring_cxx.cc Fortran mpif.h: ring_mpifh.f Fortran use mpi: ring_usempi.f90 Fortran use mpi_f08: ring_usempif08.f90 Java: Ring.java C shmem.h: ring_oshmem_c.c Fortran shmem.fh: ring_oshmemfh.f90 Additionally, there's one further example application, but this one only uses the MPI C bindings: - Test the connectivity between all processes C: connectivity_c.c The Makefile in this directory will build as many of the examples as you have language support (e.g., if you do not have the Fortran "use mpi" bindings compiled as part of Open MPI, the those examples will be skipped). The Makefile assumes that the wrapper compilers mpicc, mpic++, and mpifort are in your path. Although the Makefile is tailored for Open MPI (e.g., it checks the "ompi_info" command to see if you have support for C++, mpif.h, use mpi, and use mpi_f08 F90), all of the example programs are pure MPI, and therefore not specific to Open MPI. Hence, you can use a different MPI implementation to compile and run these programs if you wish. Make today an Open MPI day!