ii openmpi-bin 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-common 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-dev 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-libs0 1.1-2.5ubuntu1 high performance message passing library
mpic++ main.cpp
this produced an a.out executable without any error messages on my system
I do have
/*
* Conditional MPI 2 C++ bindings support. Include if:
* - The user does not explicitly request us to skip it (when a C++ compiler
* is used to compile C code).
* - We want C++ bindings support
* - We are not building OMPI itself
* - We are using a C++ compiler
*/
#if !defined(OMPI_SKIP_MPICXX) && OMPI_WANT_CXX_BINDINGS && !OMPI_BUILDING
#if defined(__cplusplus) || defined(c_plusplus)
#include "ompi/mpi/cxx/mpicxx.h"
#endif
#endif
at the end of /usr/include/mpi.h
but this include does not seem to be included when I use mpic++
Hi Iman,
I tried the following on a gutsy amd64 with
ii openmpi-bin 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-common 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-dev 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-libs0 1.1-2.5ubuntu1 high performance message passing library
mpic++ main.cpp
this produced an a.out executable without any error messages on my system
I do have OMPI_SKIP_ MPICXX) && OMPI_WANT_ CXX_BINDINGS && !OMPI_BUILDING __cplusplus) || defined(c_plusplus) cxx/mpicxx. h"
/*
* Conditional MPI 2 C++ bindings support. Include if:
* - The user does not explicitly request us to skip it (when a C++ compiler
* is used to compile C code).
* - We want C++ bindings support
* - We are not building OMPI itself
* - We are using a C++ compiler
*/
#if !defined(
#if defined(
#include "ompi/mpi/
#endif
#endif
at the end of /usr/include/mpi.h
but this include does not seem to be included when I use mpic++
Koen