Hi Damien,

 

I installed MS Visual Studio 2010 and tried the whole procedure again and it worked!

That’s the great news.

Now the bad news is that I’m trying to run the program again using mpiexec and it won’t!

 

I get these error messages:

orte_rml_base_select failed

orte_ess_set_name failed, with a bunch of text saying it could be due to configuration or environment problems and will make sense only to an OpenMPI developer.

 

Help!

 

--

Vimal

 

From: users-bounces@open-mpi.org [mailto:users-bounces@open-mpi.org] On Behalf Of Damien
Sent: Thursday, June 14, 2012 4:55 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

You did build the project, right?  The helloworldMPI.exe is in the Debug directory?

On 14/06/2012 1:49 PM, VimalMathew@Eaton.com wrote:

No luck.

Output:

 

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

 

C:\Users\...>cd "C:\Users\C9995799\Downloads\helloworldMPI\Debug"

 

C:\Users\...\Downloads\helloworldMPI\Debug>mpiexec -n 2 helloworldMPI.exe

--------------------------------------------------------------------------

mpiexec was unable to launch the specified application as it could not find an e

xecutable:

 

Executable: helloworldMPI.exe

Node: SOUMIWHP5003567

 

while attempting to start process rank 0.

--------------------------------------------------------------------------

2 total processes failed to start

 

C:\Users\...\Downloads\helloworldMPI\Debug>

 

--

Vimal

 

From: users-bounces@open-mpi.org [mailto:users-bounces@open-mpi.org] On Behalf Of Damien
Sent: Thursday, June 14, 2012 3:38 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

Here's a MPI Hello World project based on your code.  It runs fine on my machine.  You'll need to change the include and lib paths as we discussed before to match your paths, and copy those bin files over to the Debug directory.

Run it with this to start:  "mpiexec -n 1 helloworldMPI.exe".  Then change the -n 1 to -n x where x is the number of cores you have.  Say yes to allowing mpiexec firewall access if that comes up.

If this bombs out, there's something wrong on your machine.

Damien