Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7810823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:56:01+00:00 2026-06-02T03:56:01+00:00

With Microsoft HPC Pack 2008 R2 installed and using Visual studio 2010 professional, I

  • 0

With Microsoft HPC Pack 2008 R2 installed and using Visual studio 2010 professional, I am able to run MPI programs using the C style, but not the C++ style. For example:

#include <mpi.h>

int main()
{
  MPI_Init(NULL,NULL);
  .
  .
  .
  MPI_Finalize();
  return 0;
}

works but

#include <mpi.h>

int main()
{
  MPI::Init(NULL,NULL);
  .
  .
  .
  MPI::Finalize();
  return 0;
}

doesn’t. The error message says the namespace MPI is not found. Am I doing something stupid? It’s quite possible. Any help appreciated.

Thanks,

-nuun

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:56:04+00:00Added an answer on June 2, 2026 at 3:56 am

    http://mpi-forum.org/docs/mpi-2.2/mpi22-report/node328.htm

    As of MPI 2.2:

    The entire set of C++ language bindings have been deprecated.

    Rationale.

    The C++ bindings add minimal functionality over the C bindings while
    incurring a significant amount of maintenance to the MPI
    specification. Since the C++ bindings are effectively a one-to-one
    mapping of the C bindings, it should be relatively easy to convert
    existing C++ MPI applications to use the MPI C bindings. Additionally,
    there are third party packages available that provide C++ class
    library functionality (i.e., C++-specific functionality layered on top
    of the MPI C bindings) that are likely more expressive and/or natural
    to C++ programmers and are not suitable for standardization in this
    specification. ( End of rationale.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Microsoft make this piece of software called Visual Studio 2008 Professional. I have found
Microsoft release a product named - Visual Studio Load Test Virtual User Pack 2010
Microsoft Visual Studio (2005 and 2008) seems to have fun shuffling the Project IDs
Microsoft Visual C# 2010 Express I've been looking all day for a way to
Microsoft's WebMatrix development tool has a Visual Studio button to launch the VS editor
Microsoft Visual Studio Unable to start program 'theprogram.exe'. This application has failed to start
Microsoft's XSLT template on Visual Studio has something like: <xsl:template match=@* | node()> What
Microsoft seems to want us to stop using the MDI, but if more people
Since Microsoft created MSTest, I've been using it for unit testing. I never really
Microsoft SQL Server 2008 (SP1), getting an unexpected 'Conversion failed' error. Not quite sure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.