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 
/*
 * 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++

   Koen

-- 
mistake in location of header files
https://bugs.launchpad.net/bugs/188185
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to