Hmmm. Two things. Can you run helloworldMPI.exe on it's own? It
should output "Number of threads = 1, My rank = 0"
Also, can you post the output of ompi_info ? I think you might still
have some path mixups. A successful OpenMPI build with this simple
program should just work.
If you still have the other OpenMPIs installed from the binaries, you
might want to try uninstalling all of them and rebooting. Also if you
rebuilt OpenMPI and helloworldMPI with VS 2010, make sure that
helloworldMPI is actually linked to those VS2010 OpenMPI libs by setting
the right lib path in the Linker options. Linking to VS2008 libs and
trying to run with VS2010 dlls/exes could cause problems too.
Damien
On 15/06/2012 11:44 AM, vimalmat...@eaton.com wrote:
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-boun...@open-mpi.org [mailto:users-boun...@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, vimalmat...@eaton.com
<mailto:vimalmat...@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-boun...@open-mpi.org <mailto:users-boun...@open-mpi.org>
[mailto:users-boun...@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
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users