Re: [OMPI users] Getting MPI to access processes on a 2nd computer.

2012-07-05 Thread VimalMathew
Hi Shiqing,

 

We went through the steps mentioned in the links to modify DCOM and COM
settings.

wmic /node:remote_node_ip process call create notepad.exe is able to
create a notepad process remotely, but I'm getting the same error
message as before using mpirun -np 2 -host host1 host2 notepad.exe.

 

I'm running this on two Windows 7 machines both of which I have admin
rights on.

Any suggestions?

 

Thanks,

Vimal 

 

From: Shiqing Fan [mailto:f...@hlrs.de] 
Sent: Wednesday, July 04, 2012 5:28 AM
To: Open MPI Users
Cc: Mathew, Vimal
Subject: Re: [OMPI users] Getting MPI to access processes on a 2nd
computer.

 

Hi,

The Open MPI potentially uses WMI to launch remote processes, so the WMI
has to be configured correctly. There are two links talking about how to
set it up in README.WINDOWS file:

http://msdn.microsoft.com/en-us/library/aa393266(VS.85).aspx
 
http://community.spiceworks.com/topic/578

For testing whether it works or not, you can use following command:
wmic /node:remote_node_ip process call create notepad.exe

then log onto the other Windows, check in the task manager if the
notepad.exe process is created (don't forget to delete it afterwards). 

If that works, this command will also work:
mpirun -np 2 -host host1 host2 notepad.exe

Please try to run the above two test commands, if they all works you
application should also work. Just let me know if you have any question
or trouble with that.


Shiqing

On 2012-07-03 8:53 PM, vimalmat...@eaton.com wrote:

Hi,

 

I'm trying to run an MPI code using processes on a remote
machine.

I've connected the 2 machines using a crossover cable and they
are communicating with each other(I'm getting ping replies and I can
access drives on one another).

 

When I run mpiexec -host system_name MPI_Test.exe, I get the
following error:

 

C:\OpenMPI\openmpi-1.6\build\Debug>mpiexec -host SOUMIWHP4500449
MPI_Test.exe

connecting to SOUMIWHP4500449

username:C9995799

password:**

Save Credential?(Y/N) N

[SOUMIWHP5003567:01728] Could not connect to namespace cimv2 on
node SOUMIWHP450

0449. Error code =-2147023174



--

mpiexec was unable to start the specified application as it
encountered an error

.

More information may be available above.



--

[SOUMIWHP5003567:01728] [[38316,0],0] ORTE_ERROR_LOG: A message
is attempting to

be sent to a process whose contact information is unknown in
file ..\..\..\open

mpi-1.6\orte\mca\rml\oob\rml_oob_send.c at line 145

[SOUMIWHP5003567:01728] [[38316,0],0] attempted to send to
[[38316,0],1]: tag 1

[SOUMIWHP5003567:01728] [[38316,0],0] ORTE_ERROR_LOG: A message
is attempting to

be sent to a process whose contact information is unknown in
file ..\..\..\open

mpi-1.6\orte\orted\orted_comm.c at line 126

 

Could anyone tell me what I'm missing?

 

I've configured MPI on VS Express 2010 and I'm able to run MPI
programs on one system.

On the other computer, I pasted the MPI_Test.exe file in the
same location as the calling computer.

 

Thanks,
Vimal

 






___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users






-- 
---
Shiqing Fan
High Performance Computing Center Stuttgart (HLRS)
Tel: ++49(0)711-685-87234  Nobelstrasse 19
Fax: ++49(0)711-685-65832  70569 Stuttgart
http://www.hlrs.de/organization/people/shiqing-fan/
email: f...@hlrs.de


[OMPI users] Getting MPI to access processes on a 2nd computer.

2012-07-03 Thread VimalMathew
Hi,

 

I'm trying to run an MPI code using processes on a remote machine.

I've connected the 2 machines using a crossover cable and they are
communicating with each other(I'm getting ping replies and I can access
drives on one another).

 

When I run mpiexec -host system_name MPI_Test.exe, I get the following
error:

 

C:\OpenMPI\openmpi-1.6\build\Debug>mpiexec -host SOUMIWHP4500449
MPI_Test.exe

connecting to SOUMIWHP4500449

username:C9995799

password:**

Save Credential?(Y/N) N

[SOUMIWHP5003567:01728] Could not connect to namespace cimv2 on node
SOUMIWHP450

0449. Error code =-2147023174


--

mpiexec was unable to start the specified application as it encountered
an error

.

More information may be available above.


--

[SOUMIWHP5003567:01728] [[38316,0],0] ORTE_ERROR_LOG: A message is
attempting to

be sent to a process whose contact information is unknown in file
..\..\..\open

mpi-1.6\orte\mca\rml\oob\rml_oob_send.c at line 145

[SOUMIWHP5003567:01728] [[38316,0],0] attempted to send to
[[38316,0],1]: tag 1

[SOUMIWHP5003567:01728] [[38316,0],0] ORTE_ERROR_LOG: A message is
attempting to

be sent to a process whose contact information is unknown in file
..\..\..\open

mpi-1.6\orte\orted\orted_comm.c at line 126

 

Could anyone tell me what I'm missing?

 

I've configured MPI on VS Express 2010 and I'm able to run MPI programs
on one system.

On the other computer, I pasted the MPI_Test.exe file in the same
location as the calling computer.

 

Thanks,
Vimal

 



Re: [OMPI users] Using OpenMPI on a network

2012-06-19 Thread VimalMathew
Just finished doing that.

Still getting the same error. How do I make sure there are no old
builds/files left?

I uninstalled everything to do with MPI, Cygwin, cleared environment
variables, did the whole Windows build again and then did the
supercomputing tutorial.

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Damien
Sent: Tuesday, June 19, 2012 1:20 PM
To: Open MPI Users
Subject: Re: [OMPI users] Using OpenMPI on a network

 

There's something else wrong, if that's the Supercomputing Blog tutorial
1 you're running.  It works happily without a hostfile.  I think you
have some borked paths there.

I don't know why a Windows version is looking for an etc directory for a
hostfile, unless there's some of your previous Cygwin builds lying
around.  The etc directory is *Nix thing.  Please make sure you've
completely deleted all your old failed OpenMPI builds, code, binaries,
everything.  Uninstall any other MPI versions you have tried, OpenMPI,
MPICH, whatever.  You need to make absolutely sure you only have one
version.  Check your paths in your environment after doing all that and
remove any remaining path references to other MPI versions.  You
shouldn't be getting that network error either, if you're running
locally it won't matter if you have a network cable or not.  That has to
be fixed before you can do anything on a cluster.

Damien



On 19/06/2012 10:53 AM, vimalmat...@eaton.com wrote:

Damien, Shiqing, Jeff?

 

--

Vimal

 

From: users-boun...@open-mpi.org
[mailto:users-boun...@open-mpi.org] On Behalf Of vimalmat...@eaton.com
Sent: Monday, June 18, 2012 3:32 PM
To: us...@open-mpi.org
Subject: [OMPI users] Using OpenMPI on a network

 

So I configured and compiled a simple MPI program.

Now the issue is when I try to do the same thing on my computer
on a corporate network, I get this error:

 

C:\OpenMPI\openmpi-1.6\installed\bin>mpiexec MPI_Tutorial_1.exe



--

Open RTE was unable to open the hostfile:


C:\OpenMPI\openmpi-1.6\installed\bin/../etc/openmpi-default-hostfile

Check to make sure the path and filename are correct.



--

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found
in file C:\OpenM

PI\openmpi-1.6\orte\mca\ras\base\ras_base_allocate.c at line 200

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found
in file C:\OpenM

PI\openmpi-1.6\orte\mca\plm\base\plm_base_launch_support.c at
line 99

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found
in file C:\OpenM

PI\openmpi-1.6\orte\mca\plm\process\plm_process_module.c at line
996

 

What network settings should I be using? I'm sure this is
because of the network because when I unplug the network cable, I get
the error message I got below.

 

Thanks,

Vimal

 

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

 

OK, that's what orte_rml_base_select failed means, no TCP
connection.  But you should be able to make OpenMPI & mpiexec work
without a network if you're just running in local memory.  There's
probably a runtime parameter to set but I don't know what it is.  Maybe
Jeff or Shiqing can weigh in with what that is.

Damien

On 15/06/2012 1:10 PM, vimalmat...@eaton.com wrote: 

Just figured it out.

The only thing different from when it ran yesterday to today was
I was connected to a network. So I connected my laptop to a network and
it worked again.

 

Thanks for all your help, Damien!

I'm sure I'm gonna get stuck more along the way so hoping you
can help.

 

--

Vimal

 

From: users-boun...@open-mpi.org
[mailto:users-boun...@open-mpi.org] On Behalf Of Damien
Sent: Friday, June 15, 2012 2:57 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

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 

Re: [OMPI users] Using OpenMPI on a network

2012-06-19 Thread VimalMathew
Is hostname the name of the system I'm running it on?

 

Just tried that. Got the same error message

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Ralph Castain
Sent: Tuesday, June 19, 2012 1:03 PM
To: Open MPI Users
Subject: Re: [OMPI users] Using OpenMPI on a network

 

You're getting that error because you failed to specify any hosts on
your cmd line - so OMPI has no idea where to launch the procs. It looked
for a default hostfile, but didn't find that either.

 

Just add a -host  option to your command line and tell it
where you want the procs to run.

 

 

On Jun 19, 2012, at 10:53 AM,  wrote:





Damien, Shiqing, Jeff?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of vimalmat...@eaton.com
Sent: Monday, June 18, 2012 3:32 PM
To: us...@open-mpi.org
Subject: [OMPI users] Using OpenMPI on a network

 

So I configured and compiled a simple MPI program.

Now the issue is when I try to do the same thing on my computer on a
corporate network, I get this error:

 

C:\OpenMPI\openmpi-1.6\installed\bin>mpiexec MPI_Tutorial_1.exe


--

Open RTE was unable to open the hostfile:

C:\OpenMPI\openmpi-1.6\installed\bin/../etc/openmpi-default-hostfile

Check to make sure the path and filename are correct.


--

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found in file
C:\OpenM

PI\openmpi-1.6\orte\mca\ras\base\ras_base_allocate.c at line 200

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found in file
C:\OpenM

PI\openmpi-1.6\orte\mca\plm\base\plm_base_launch_support.c at line 99

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found in file
C:\OpenM

PI\openmpi-1.6\orte\mca\plm\process\plm_process_module.c at line 996

 

What network settings should I be using? I'm sure this is because of the
network because when I unplug the network cable, I get the error message
I got below.

 

Thanks,

Vimal

 

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

 

OK, that's what orte_rml_base_select failed means, no TCP connection.
But you should be able to make OpenMPI & mpiexec work without a network
if you're just running in local memory.  There's probably a runtime
parameter to set but I don't know what it is.  Maybe Jeff or Shiqing can
weigh in with what that is.

Damien

On 15/06/2012 1:10 PM, vimalmat...@eaton.com wrote:

Just figured it out.

The only thing different from when it ran yesterday to today was I was
connected to a network. So I connected my laptop to a network and it
worked again.

 

Thanks for all your help, Damien!

I'm sure I'm gonna get stuck more along the way so hoping you can help.

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Damien
Sent: Friday, June 15, 2012 2:57 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

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 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"

 


Re: [OMPI users] Using OpenMPI on a network

2012-06-19 Thread VimalMathew
Damien, Shiqing, Jeff?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Monday, June 18, 2012 3:32 PM
To: us...@open-mpi.org
Subject: [OMPI users] Using OpenMPI on a network

 

So I configured and compiled a simple MPI program.

Now the issue is when I try to do the same thing on my computer on a corporate 
network, I get this error:

 

C:\OpenMPI\openmpi-1.6\installed\bin>mpiexec MPI_Tutorial_1.exe

--

Open RTE was unable to open the hostfile:

C:\OpenMPI\openmpi-1.6\installed\bin/../etc/openmpi-default-hostfile

Check to make sure the path and filename are correct.

--

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found in file C:\OpenM

PI\openmpi-1.6\orte\mca\ras\base\ras_base_allocate.c at line 200

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found in file C:\OpenM

PI\openmpi-1.6\orte\mca\plm\base\plm_base_launch_support.c at line 99

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found in file C:\OpenM

PI\openmpi-1.6\orte\mca\plm\process\plm_process_module.c at line 996

 

What network settings should I be using? I’m sure this is because of the 
network because when I unplug the network cable, I get the error message I got 
below.

 

Thanks,

Vimal

 

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

 

OK, that's what orte_rml_base_select failed means, no TCP connection.  But you 
should be able to make OpenMPI & mpiexec work without a network if you're just 
running in local memory.  There's probably a runtime parameter to set but I 
don't know what it is.  Maybe Jeff or Shiqing can weigh in with what that is.

Damien

On 15/06/2012 1:10 PM, vimalmat...@eaton.com wrote: 

Just figured it out.

The only thing different from when it ran yesterday to today was I was 
connected to a network. So I connected my laptop to a network and it worked 
again.

 

Thanks for all your help, Damien!

I’m sure I’m gonna get stuck more along the way so hoping you can help.

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of Damien
Sent: Friday, June 15, 2012 2:57 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

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 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] On Behalf 
Of Damien
Sent: Thursday, June 14, 2012 3:38 PM
To: Open MPI Users
Subject: Re: 

[OMPI users] Using OpenMPI on a network

2012-06-18 Thread VimalMathew
So I configured and compiled a simple MPI program.

Now the issue is when I try to do the same thing on my computer on a
corporate network, I get this error:

 

C:\OpenMPI\openmpi-1.6\installed\bin>mpiexec MPI_Tutorial_1.exe


--

Open RTE was unable to open the hostfile:

C:\OpenMPI\openmpi-1.6\installed\bin/../etc/openmpi-default-hostfile

Check to make sure the path and filename are correct.


--

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found in file
C:\OpenM

PI\openmpi-1.6\orte\mca\ras\base\ras_base_allocate.c at line 200

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found in file
C:\OpenM

PI\openmpi-1.6\orte\mca\plm\base\plm_base_launch_support.c at line 99

[SOUMIWHP5003567:01884] [[37936,0],0] ORTE_ERROR_LOG: Not found in file
C:\OpenM

PI\openmpi-1.6\orte\mca\plm\process\plm_process_module.c at line 996

 

What network settings should I be using? I'm sure this is because of the
network because when I unplug the network cable, I get the error message
I got below.

 

Thanks,

Vimal

 

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

 

OK, that's what orte_rml_base_select failed means, no TCP connection.
But you should be able to make OpenMPI & mpiexec work without a network
if you're just running in local memory.  There's probably a runtime
parameter to set but I don't know what it is.  Maybe Jeff or Shiqing can
weigh in with what that is.

Damien

On 15/06/2012 1:10 PM, vimalmat...@eaton.com wrote: 

Just figured it out.

The only thing different from when it ran yesterday to today was I was
connected to a network. So I connected my laptop to a network and it
worked again.

 

Thanks for all your help, Damien!

I'm sure I'm gonna get stuck more along the way so hoping you can help.

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Damien
Sent: Friday, June 15, 2012 2:57 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

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 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] 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 

Re: [OMPI users] Building MPI on Windows

2012-06-15 Thread VimalMathew
Just figured it out.

The only thing different from when it ran yesterday to today was I was
connected to a network. So I connected my laptop to a network and it
worked again.

 

Thanks for all your help, Damien!

I'm sure I'm gonna get stuck more along the way so hoping you can help.

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Damien
Sent: Friday, June 15, 2012 2:57 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

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 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] 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


Re: [OMPI users] Building MPI on Windows

2012-06-15 Thread VimalMathew
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 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] 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

 



Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
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] 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

On 14/06/2012 1:07 PM, vimalmat...@eaton.com wrote: 

Anything else that you can think off that could be causing this?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of vimalmat...@eaton.com
Sent: Thursday, June 14, 2012 2:10 PM
To: us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

Yes, I'm trying to do this in C++.

The file is named .cpp.

I changed printf to cout. Still no change in the output.

 

--

Vimal

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

 

Hmmm.  I think that tutorial might be slightly broken.  Calling printf
without #include  causes all kinds of random runtime problems,
and printf in a C++ program is generally not awesome.

Is your long-term goal a C++ project?  If you want C++, rename your
main.c to main.cpp and update your project.  And change 

printf ("Number of threads = %d, My rank = %d\n", nTasks, rank);

to

std::cout << "Number of threads = " << nTasks << ", My rank = " << rank
<< "\n";

Damien

On 14/06/2012 11:52 AM, vimalmat...@eaton.com wrote: 

Yeah, that's the only output.

Here's the code:

 

#include 

#include "mpi.h"

 

using namespace std;

 

int main(int argc, char* argv[])

{

//cout << "Hello World\n";

 

int  nTasks, rank; 

 

MPI_Init(,);

MPI_Comm_size(MPI_COMM_WORLD,);

MPI_Comm_rank(MPI_COMM_WORLD,);

 

printf ("Number of threads = %d, My rank = %d\n", nTasks, rank);

 

MPI_Finalize();

return 0;

 

}

 

--

Vimal

 

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

 

OK.  We might need to see the code for the program you're trying to run
with mpiexec to help with that one.  Is that the full output?

Damien

On 14/06/2012 11:41 AM, vimalmat...@eaton.com wrote: 

Did the copy paste.

Now I get a message saying: mpiexec noticed that the job aborted, but
has no info as to the process that caused that situation

 

--

Vimal

 

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

 

Ah.  You installed the OpenMPI binaries too right?  Those are built with
VS2010.  I bet the way your paths are set up it's using the installed
version of mpiexec that wants VS2010 runtimes, not the mpiexec you
compiled today that will use the VS2008 runtimes that you have.

OK, here's a quick fix you can try so you don't have to mess with paths.
Go into the installed\bin directory from your OpenMPI version, select
everything, and copy it to the directory where your new project puts its
executables (probably the Debug directory).  Then run your mpiexec 
from within that Debug directory and it will use all your OpenMPI exes
and dlls because it will look there first.

Welcome to path pain.  Happens on every operating system.

Damien  

On 14/06/2012 11:19 AM, vimalmat...@eaton.com wrote: 

No, it's the VS 2008 Express edition.

 

--

Vimal

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

 

That's odd.  That's the standard MS C++ runtime for VS 2010.  I thought
you built with VS 2008 Express though.  Or is your VS Express 

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
I restarted my system and the error message changed to this: 

 

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

xecutable:

 

Executable: Test.exe

Node: SOUMIWHP5003567

 

while attempting to start process rank 0.

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Thursday, June 14, 2012 3:08 PM
To: us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

Anything else that you can think off that could be causing this?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Thursday, June 14, 2012 2:10 PM
To: us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

Yes, I’m trying to do this in C++.

The file is named .cpp.

I changed printf to cout. Still no change in the output.

 

--

Vimal

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

 

Hmmm.  I think that tutorial might be slightly broken.  Calling printf without 
#include  causes all kinds of random runtime problems, and printf in a 
C++ program is generally not awesome.

Is your long-term goal a C++ project?  If you want C++, rename your main.c to 
main.cpp and update your project.  And change 

printf ("Number of threads = %d, My rank = %d\n", nTasks, rank);

to

std::cout << "Number of threads = " << nTasks << ", My rank = " << rank << "\n";

Damien

On 14/06/2012 11:52 AM, vimalmat...@eaton.com wrote: 

Yeah, that’s the only output.

Here’s the code:

 

#include 

#include "mpi.h"

 

using namespace std;

 

int main(int argc, char* argv[])

{

//cout << "Hello World\n";

 

int  nTasks, rank; 

 

MPI_Init(,);

MPI_Comm_size(MPI_COMM_WORLD,);

MPI_Comm_rank(MPI_COMM_WORLD,);

 

printf ("Number of threads = %d, My rank = %d\n", nTasks, rank);

 

MPI_Finalize();

return 0;

 

}

 

--

Vimal

 

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

 

OK.  We might need to see the code for the program you're trying to run with 
mpiexec to help with that one.  Is that the full output?

Damien

On 14/06/2012 11:41 AM, vimalmat...@eaton.com wrote: 

Did the copy paste.

Now I get a message saying: mpiexec noticed that the job aborted, but has no 
info as to the process that caused that situation

 

--

Vimal

 

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

 

Ah.  You installed the OpenMPI binaries too right?  Those are built with 
VS2010.  I bet the way your paths are set up it's using the installed version 
of mpiexec that wants VS2010 runtimes, not the mpiexec you compiled today that 
will use the VS2008 runtimes that you have.

OK, here's a quick fix you can try so you don't have to mess with paths.  Go 
into the installed\bin directory from your OpenMPI version, select everything, 
and copy it to the directory where your new project puts its executables 
(probably the Debug directory).  Then run your mpiexec  from within that 
Debug directory and it will use all your OpenMPI exes and dlls because it will 
look there first.

Welcome to path pain.  Happens on every operating system.

Damien  

On 14/06/2012 11:19 AM, vimalmat...@eaton.com wrote: 

No, it’s the VS 2008 Express edition.

 

--

Vimal

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

 

That's odd.  That's the standard MS C++ runtime for VS 2010.  I thought you 
built with VS 2008 Express though.  Or is your VS Express the 2010 version? 

On 14/06/2012 11:10 AM, vimalmat...@eaton.com wrote: 

Thanks.

 

When I try to run the program with mpiexec.exe, I get an error message saying 
“The Program can't start because MSVCR100.dll is missing from your computer”.

What did I miss?

 

--

Vimal

 

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

 

That goes in Configuration Properties - C/C++ - Preprocessor - Preprocessor 
Definitions.

Damien 

On 14/06/2012 10:07 AM, vimalmat...@eaton.com wrote: 

Thanks a lot Damien.

 

When I compile the code that they’ve used in the link you sent, I get this 
error: error LNK2001: unresolved external symbol _ompi_mpi_comm_world

I looked this up in the mail archives and Shiqing said "OMPI_IMPORTS" needs to 
be added as a preprocessor definition in the project configuration. Where 

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
Anything else that you can think off that could be causing this?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Thursday, June 14, 2012 2:10 PM
To: us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

Yes, I’m trying to do this in C++.

The file is named .cpp.

I changed printf to cout. Still no change in the output.

 

--

Vimal

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

 

Hmmm.  I think that tutorial might be slightly broken.  Calling printf without 
#include  causes all kinds of random runtime problems, and printf in a 
C++ program is generally not awesome.

Is your long-term goal a C++ project?  If you want C++, rename your main.c to 
main.cpp and update your project.  And change 

printf ("Number of threads = %d, My rank = %d\n", nTasks, rank);

to

std::cout << "Number of threads = " << nTasks << ", My rank = " << rank << "\n";

Damien

On 14/06/2012 11:52 AM, vimalmat...@eaton.com wrote: 

Yeah, that’s the only output.

Here’s the code:

 

#include 

#include "mpi.h"

 

using namespace std;

 

int main(int argc, char* argv[])

{

//cout << "Hello World\n";

 

int  nTasks, rank; 

 

MPI_Init(,);

MPI_Comm_size(MPI_COMM_WORLD,);

MPI_Comm_rank(MPI_COMM_WORLD,);

 

printf ("Number of threads = %d, My rank = %d\n", nTasks, rank);

 

MPI_Finalize();

return 0;

 

}

 

--

Vimal

 

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

 

OK.  We might need to see the code for the program you're trying to run with 
mpiexec to help with that one.  Is that the full output?

Damien

On 14/06/2012 11:41 AM, vimalmat...@eaton.com wrote: 

Did the copy paste.

Now I get a message saying: mpiexec noticed that the job aborted, but has no 
info as to the process that caused that situation

 

--

Vimal

 

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

 

Ah.  You installed the OpenMPI binaries too right?  Those are built with 
VS2010.  I bet the way your paths are set up it's using the installed version 
of mpiexec that wants VS2010 runtimes, not the mpiexec you compiled today that 
will use the VS2008 runtimes that you have.

OK, here's a quick fix you can try so you don't have to mess with paths.  Go 
into the installed\bin directory from your OpenMPI version, select everything, 
and copy it to the directory where your new project puts its executables 
(probably the Debug directory).  Then run your mpiexec  from within that 
Debug directory and it will use all your OpenMPI exes and dlls because it will 
look there first.

Welcome to path pain.  Happens on every operating system.

Damien  

On 14/06/2012 11:19 AM, vimalmat...@eaton.com wrote: 

No, it’s the VS 2008 Express edition.

 

--

Vimal

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

 

That's odd.  That's the standard MS C++ runtime for VS 2010.  I thought you 
built with VS 2008 Express though.  Or is your VS Express the 2010 version? 

On 14/06/2012 11:10 AM, vimalmat...@eaton.com wrote: 

Thanks.

 

When I try to run the program with mpiexec.exe, I get an error message saying 
“The Program can't start because MSVCR100.dll is missing from your computer”.

What did I miss?

 

--

Vimal

 

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

 

That goes in Configuration Properties - C/C++ - Preprocessor - Preprocessor 
Definitions.

Damien 

On 14/06/2012 10:07 AM, vimalmat...@eaton.com wrote: 

Thanks a lot Damien.

 

When I compile the code that they’ve used in the link you sent, I get this 
error: error LNK2001: unresolved external symbol _ompi_mpi_comm_world

I looked this up in the mail archives and Shiqing said "OMPI_IMPORTS" needs to 
be added as a preprocessor definition in the project configuration. Where 
specifically do I add this?

 

--

Vimal

 

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

 

Vimal,

Start with this:

http://supercomputingblog.com/mpi/getting-started-with-mpi-using-visual-studio-2008-express/

The only difference is that whereever this tutorial says "HPC Pack 2008 SDK 
directory" you should go to 

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
Yes, I'm trying to do this in C++.

The file is named .cpp.

I changed printf to cout. Still no change in the output.

 

--

Vimal

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

 

Hmmm.  I think that tutorial might be slightly broken.  Calling printf
without #include  causes all kinds of random runtime problems,
and printf in a C++ program is generally not awesome.

Is your long-term goal a C++ project?  If you want C++, rename your
main.c to main.cpp and update your project.  And change 

printf ("Number of threads = %d, My rank = %d\n", nTasks, rank);

to

std::cout << "Number of threads = " << nTasks << ", My rank = " << rank
<< "\n";

Damien

On 14/06/2012 11:52 AM, vimalmat...@eaton.com wrote: 

Yeah, that's the only output.

Here's the code:

 

#include 

#include "mpi.h"

 

using namespace std;

 

int main(int argc, char* argv[])

{

//cout << "Hello World\n";

 

int  nTasks, rank; 

 

MPI_Init(,);

MPI_Comm_size(MPI_COMM_WORLD,);

MPI_Comm_rank(MPI_COMM_WORLD,);

 

printf ("Number of threads = %d, My rank = %d\n", nTasks, rank);

 

MPI_Finalize();

return 0;

 

}

 

--

Vimal

 

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

 

OK.  We might need to see the code for the program you're trying to run
with mpiexec to help with that one.  Is that the full output?

Damien

On 14/06/2012 11:41 AM, vimalmat...@eaton.com wrote: 

Did the copy paste.

Now I get a message saying: mpiexec noticed that the job aborted, but
has no info as to the process that caused that situation

 

--

Vimal

 

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

 

Ah.  You installed the OpenMPI binaries too right?  Those are built with
VS2010.  I bet the way your paths are set up it's using the installed
version of mpiexec that wants VS2010 runtimes, not the mpiexec you
compiled today that will use the VS2008 runtimes that you have.

OK, here's a quick fix you can try so you don't have to mess with paths.
Go into the installed\bin directory from your OpenMPI version, select
everything, and copy it to the directory where your new project puts its
executables (probably the Debug directory).  Then run your mpiexec 
from within that Debug directory and it will use all your OpenMPI exes
and dlls because it will look there first.

Welcome to path pain.  Happens on every operating system.

Damien  

On 14/06/2012 11:19 AM, vimalmat...@eaton.com wrote: 

No, it's the VS 2008 Express edition.

 

--

Vimal

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

 

That's odd.  That's the standard MS C++ runtime for VS 2010.  I thought
you built with VS 2008 Express though.  Or is your VS Express the 2010
version? 

On 14/06/2012 11:10 AM, vimalmat...@eaton.com wrote: 

Thanks.

 

When I try to run the program with mpiexec.exe, I get an error message
saying "The Program can't start because MSVCR100.dll is missing from
your computer".

What did I miss?

 

--

Vimal

 

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

 

That goes in Configuration Properties - C/C++ - Preprocessor -
Preprocessor Definitions.

Damien 

On 14/06/2012 10:07 AM, vimalmat...@eaton.com wrote: 

Thanks a lot Damien.

 

When I compile the code that they've used in the link you sent, I get
this error: error LNK2001: unresolved external symbol
_ompi_mpi_comm_world

I looked this up in the mail archives and Shiqing said "OMPI_IMPORTS"
needs to be added as a preprocessor definition in the project
configuration. Where specifically do I add this?

 

--

Vimal

 

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

 

Vimal,

Start with this:

http://supercomputingblog.com/mpi/getting-started-with-mpi-using-visual-
studio-2008-express/

The only difference is that whereever this tutorial says "HPC Pack 2008
SDK directory" you should go to "c:\ompi\openmpi-1.6\installed" and use
the include, lib and bin directories from there.

This will give you a simple VS project that you can use to start
building your own stuff.

Damien  

On 14/06/2012 8:55 AM, vimalmat...@eaton.com wrote: 

Everything went as you expected.

No errors except that I don't have Fortran compilers so checking

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
Yeah, that's the only output.

Here's the code:

 

#include 

#include "mpi.h"

 

using namespace std;

 

int main(int argc, char* argv[])

{

//cout << "Hello World\n";

 

int  nTasks, rank; 

 

MPI_Init(,);

MPI_Comm_size(MPI_COMM_WORLD,);

MPI_Comm_rank(MPI_COMM_WORLD,);

 

printf ("Number of threads = %d, My rank = %d\n", nTasks, rank);

 

MPI_Finalize();

return 0;

 

}

 

--

Vimal

 

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

 

OK.  We might need to see the code for the program you're trying to run
with mpiexec to help with that one.  Is that the full output?

Damien

On 14/06/2012 11:41 AM, vimalmat...@eaton.com wrote: 

Did the copy paste.

Now I get a message saying: mpiexec noticed that the job aborted, but
has no info as to the process that caused that situation

 

--

Vimal

 

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

 

Ah.  You installed the OpenMPI binaries too right?  Those are built with
VS2010.  I bet the way your paths are set up it's using the installed
version of mpiexec that wants VS2010 runtimes, not the mpiexec you
compiled today that will use the VS2008 runtimes that you have.

OK, here's a quick fix you can try so you don't have to mess with paths.
Go into the installed\bin directory from your OpenMPI version, select
everything, and copy it to the directory where your new project puts its
executables (probably the Debug directory).  Then run your mpiexec 
from within that Debug directory and it will use all your OpenMPI exes
and dlls because it will look there first.

Welcome to path pain.  Happens on every operating system.

Damien  

On 14/06/2012 11:19 AM, vimalmat...@eaton.com wrote: 

No, it's the VS 2008 Express edition.

 

--

Vimal

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

 

That's odd.  That's the standard MS C++ runtime for VS 2010.  I thought
you built with VS 2008 Express though.  Or is your VS Express the 2010
version? 

On 14/06/2012 11:10 AM, vimalmat...@eaton.com wrote: 

Thanks.

 

When I try to run the program with mpiexec.exe, I get an error message
saying "The Program can't start because MSVCR100.dll is missing from
your computer".

What did I miss?

 

--

Vimal

 

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

 

That goes in Configuration Properties - C/C++ - Preprocessor -
Preprocessor Definitions.

Damien 

On 14/06/2012 10:07 AM, vimalmat...@eaton.com wrote: 

Thanks a lot Damien.

 

When I compile the code that they've used in the link you sent, I get
this error: error LNK2001: unresolved external symbol
_ompi_mpi_comm_world

I looked this up in the mail archives and Shiqing said "OMPI_IMPORTS"
needs to be added as a preprocessor definition in the project
configuration. Where specifically do I add this?

 

--

Vimal

 

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

 

Vimal,

Start with this:

http://supercomputingblog.com/mpi/getting-started-with-mpi-using-visual-
studio-2008-express/

The only difference is that whereever this tutorial says "HPC Pack 2008
SDK directory" you should go to "c:\ompi\openmpi-1.6\installed" and use
the include, lib and bin directories from there.

This will give you a simple VS project that you can use to start
building your own stuff.

Damien  

On 14/06/2012 8:55 AM, vimalmat...@eaton.com wrote: 

Everything went as you expected.

No errors except that I don't have Fortran compilers so checking
OMPI_WANT_F77_BINDINGS and OMPI_WANT_F90_BINDINGS threw some error
messages.

 

One more question - in which project out of the 16 do I include code
that I want to run?

 

--

Vimal

 

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

 

Vimal,

Here's how to build OpenMPI with Visual Studio and CMake.  These are
exact steps.

1)  Download this:
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz

2)  Extract that to somewhere on your hard drive.  My path was
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.
You can use 7-Zip to extract tgz archives on Windows.

3)  Start the CMake GUI.  Set the source and build directories.  Mine
were C:/projects6/openmpi-1.6-64 

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
Did the copy paste.

Now I get a message saying: mpiexec noticed that the job aborted, but
has no info as to the process that caused that situation

 

--

Vimal

 

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

 

Ah.  You installed the OpenMPI binaries too right?  Those are built with
VS2010.  I bet the way your paths are set up it's using the installed
version of mpiexec that wants VS2010 runtimes, not the mpiexec you
compiled today that will use the VS2008 runtimes that you have.

OK, here's a quick fix you can try so you don't have to mess with paths.
Go into the installed\bin directory from your OpenMPI version, select
everything, and copy it to the directory where your new project puts its
executables (probably the Debug directory).  Then run your mpiexec 
from within that Debug directory and it will use all your OpenMPI exes
and dlls because it will look there first.

Welcome to path pain.  Happens on every operating system.

Damien  

On 14/06/2012 11:19 AM, vimalmat...@eaton.com wrote: 

No, it's the VS 2008 Express edition.

 

--

Vimal

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

 

That's odd.  That's the standard MS C++ runtime for VS 2010.  I thought
you built with VS 2008 Express though.  Or is your VS Express the 2010
version? 

On 14/06/2012 11:10 AM, vimalmat...@eaton.com wrote: 

Thanks.

 

When I try to run the program with mpiexec.exe, I get an error message
saying "The Program can't start because MSVCR100.dll is missing from
your computer".

What did I miss?

 

--

Vimal

 

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

 

That goes in Configuration Properties - C/C++ - Preprocessor -
Preprocessor Definitions.

Damien 

On 14/06/2012 10:07 AM, vimalmat...@eaton.com wrote: 

Thanks a lot Damien.

 

When I compile the code that they've used in the link you sent, I get
this error: error LNK2001: unresolved external symbol
_ompi_mpi_comm_world

I looked this up in the mail archives and Shiqing said "OMPI_IMPORTS"
needs to be added as a preprocessor definition in the project
configuration. Where specifically do I add this?

 

--

Vimal

 

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

 

Vimal,

Start with this:

http://supercomputingblog.com/mpi/getting-started-with-mpi-using-visual-
studio-2008-express/

The only difference is that whereever this tutorial says "HPC Pack 2008
SDK directory" you should go to "c:\ompi\openmpi-1.6\installed" and use
the include, lib and bin directories from there.

This will give you a simple VS project that you can use to start
building your own stuff.

Damien  

On 14/06/2012 8:55 AM, vimalmat...@eaton.com wrote: 

Everything went as you expected.

No errors except that I don't have Fortran compilers so checking
OMPI_WANT_F77_BINDINGS and OMPI_WANT_F90_BINDINGS threw some error
messages.

 

One more question - in which project out of the 16 do I include code
that I want to run?

 

--

Vimal

 

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

 

Vimal,

Here's how to build OpenMPI with Visual Studio and CMake.  These are
exact steps.

1)  Download this:
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz

2)  Extract that to somewhere on your hard drive.  My path was
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.
You can use 7-Zip to extract tgz archives on Windows.

3)  Start the CMake GUI.  Set the source and build directories.  Mine
were C:/projects6/openmpi-1.6-64 and C:/projects6/openmpi-1.6-64/build

4)  Press Configure.  Say Yes if it asks you to create the build
directory.

5)  Look at the generator view that comes up.  I chose Visual Studio 9
2008 Win64 but you can select whatever you have on your system.  Click
Specify Native Compilers.  This will make sure you get the right
compilers.

In the C and C++ compiler, I put "C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC\bin\amd64\cl.exe".  You can navigate to which one
you have.

In the Fortran compiler, I put "C:/Program Files (x86)/Intel/Composer XE
2011 SP1/bin/intel64/ifort.exe".  You can navigate to which one you
have.

Press Finish once you have selected the compilers and the config will
start.  Takes a couple of minutes on my laptop.

First things first.  If you want a Release build, you 

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
I see that my system has MS Visual C++ 2008 Redistributable x64 and x86 
installed.

Could this be interfering in some way?

 

--

Vimal

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Thursday, June 14, 2012 1:20 PM
To: us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

No, it’s the VS 2008 Express edition.

 

--

Vimal

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

 

That's odd.  That's the standard MS C++ runtime for VS 2010.  I thought you 
built with VS 2008 Express though.  Or is your VS Express the 2010 version? 

On 14/06/2012 11:10 AM, vimalmat...@eaton.com wrote: 

Thanks.

 

When I try to run the program with mpiexec.exe, I get an error message saying 
“The Program can't start because MSVCR100.dll is missing from your computer”.

What did I miss?

 

--

Vimal

 

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

 

That goes in Configuration Properties - C/C++ - Preprocessor - Preprocessor 
Definitions.

Damien 

On 14/06/2012 10:07 AM, vimalmat...@eaton.com wrote: 

Thanks a lot Damien.

 

When I compile the code that they’ve used in the link you sent, I get this 
error: error LNK2001: unresolved external symbol _ompi_mpi_comm_world

I looked this up in the mail archives and Shiqing said "OMPI_IMPORTS" needs to 
be added as a preprocessor definition in the project configuration. Where 
specifically do I add this?

 

--

Vimal

 

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

 

Vimal,

Start with this:

http://supercomputingblog.com/mpi/getting-started-with-mpi-using-visual-studio-2008-express/

The only difference is that whereever this tutorial says "HPC Pack 2008 SDK 
directory" you should go to "c:\ompi\openmpi-1.6\installed" and use the 
include, lib and bin directories from there.

This will give you a simple VS project that you can use to start building your 
own stuff.

Damien  

On 14/06/2012 8:55 AM, vimalmat...@eaton.com wrote: 

Everything went as you expected.

No errors except that I don’t have Fortran compilers so checking 
OMPI_WANT_F77_BINDINGS and OMPI_WANT_F90_BINDINGS threw some error messages.

 

One more question – in which project out of the 16 do I include code that I 
want to run?

 

--

Vimal

 

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

 

Vimal,

Here's how to build OpenMPI with Visual Studio and CMake.  These are exact 
steps.

1)  Download this:  
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz

2)  Extract that to somewhere on your hard drive.  My path was 
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.  You 
can use 7-Zip to extract tgz archives on Windows.

3)  Start the CMake GUI.  Set the source and build directories.  Mine were 
C:/projects6/openmpi-1.6-64 and C:/projects6/openmpi-1.6-64/build

4)  Press Configure.  Say Yes if it asks you to create the build directory.

5)  Look at the generator view that comes up.  I chose Visual Studio 9 2008 
Win64 but you can select whatever you have on your system.  Click Specify 
Native Compilers.  This will make sure you get the right compilers.

In the C and C++ compiler, I put "C:\Program Files (x86)\Microsoft Visual 
Studio 9.0\VC\bin\amd64\cl.exe".  You can navigate to which one you have.

In the Fortran compiler, I put "C:/Program Files (x86)/Intel/Composer XE 2011 
SP1/bin/intel64/ifort.exe".  You can navigate to which one you have.

Press Finish once you have selected the compilers and the config will start.  
Takes a couple of minutes on my laptop.

First things first.  If you want a Release build, you have to change a CMake 
setting.  The 5th line down in the red window will say CMAKE_BUILD_TYPE.  
Change the text (type it in) to say Release if you want a Release build, 
otherwise the final install step won't work.

Also, further down the red window there's some options you should change.  
Scroll down through that window, there's a lot to choose from.  I usually check 
OMPI_RELEASE_BUILD, OMPI_WANT_F77_BINDINGS and OMPI_WANT_F90_BINDINGS.  
OMPI_WANT_CXX_BINDINGS should already be checked.  (Note to Jeff & Shiqing: We 
should probably work out a good set of standard choices if there are others on 
top of these).

6)  Press Configure again, and CMake will go through identifying the Fortran 
compiler if you asked for Fortran bindings and a few other things.  It should 

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
No, it's the VS 2008 Express edition.

 

--

Vimal

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

 

That's odd.  That's the standard MS C++ runtime for VS 2010.  I thought
you built with VS 2008 Express though.  Or is your VS Express the 2010
version? 

On 14/06/2012 11:10 AM, vimalmat...@eaton.com wrote: 

Thanks.

 

When I try to run the program with mpiexec.exe, I get an error message
saying "The Program can't start because MSVCR100.dll is missing from
your computer".

What did I miss?

 

--

Vimal

 

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

 

That goes in Configuration Properties - C/C++ - Preprocessor -
Preprocessor Definitions.

Damien 

On 14/06/2012 10:07 AM, vimalmat...@eaton.com wrote: 

Thanks a lot Damien.

 

When I compile the code that they've used in the link you sent, I get
this error: error LNK2001: unresolved external symbol
_ompi_mpi_comm_world

I looked this up in the mail archives and Shiqing said "OMPI_IMPORTS"
needs to be added as a preprocessor definition in the project
configuration. Where specifically do I add this?

 

--

Vimal

 

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

 

Vimal,

Start with this:

http://supercomputingblog.com/mpi/getting-started-with-mpi-using-visual-
studio-2008-express/

The only difference is that whereever this tutorial says "HPC Pack 2008
SDK directory" you should go to "c:\ompi\openmpi-1.6\installed" and use
the include, lib and bin directories from there.

This will give you a simple VS project that you can use to start
building your own stuff.

Damien  

On 14/06/2012 8:55 AM, vimalmat...@eaton.com wrote: 

Everything went as you expected.

No errors except that I don't have Fortran compilers so checking
OMPI_WANT_F77_BINDINGS and OMPI_WANT_F90_BINDINGS threw some error
messages.

 

One more question - in which project out of the 16 do I include code
that I want to run?

 

--

Vimal

 

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

 

Vimal,

Here's how to build OpenMPI with Visual Studio and CMake.  These are
exact steps.

1)  Download this:
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz

2)  Extract that to somewhere on your hard drive.  My path was
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.
You can use 7-Zip to extract tgz archives on Windows.

3)  Start the CMake GUI.  Set the source and build directories.  Mine
were C:/projects6/openmpi-1.6-64 and C:/projects6/openmpi-1.6-64/build

4)  Press Configure.  Say Yes if it asks you to create the build
directory.

5)  Look at the generator view that comes up.  I chose Visual Studio 9
2008 Win64 but you can select whatever you have on your system.  Click
Specify Native Compilers.  This will make sure you get the right
compilers.

In the C and C++ compiler, I put "C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC\bin\amd64\cl.exe".  You can navigate to which one
you have.

In the Fortran compiler, I put "C:/Program Files (x86)/Intel/Composer XE
2011 SP1/bin/intel64/ifort.exe".  You can navigate to which one you
have.

Press Finish once you have selected the compilers and the config will
start.  Takes a couple of minutes on my laptop.

First things first.  If you want a Release build, you have to change a
CMake setting.  The 5th line down in the red window will say
CMAKE_BUILD_TYPE.  Change the text (type it in) to say Release if you
want a Release build, otherwise the final install step won't work.

Also, further down the red window there's some options you should
change.  Scroll down through that window, there's a lot to choose from.
I usually check OMPI_RELEASE_BUILD, OMPI_WANT_F77_BINDINGS and
OMPI_WANT_F90_BINDINGS.  OMPI_WANT_CXX_BINDINGS should already be
checked.  (Note to Jeff & Shiqing: We should probably work out a good
set of standard choices if there are others on top of these).

6)  Press Configure again, and CMake will go through identifying the
Fortran compiler if you asked for Fortran bindings and a few other
things.  It should work fine with the options above.

7)  Assuming that it was fine, press Generate.  That produces an
OpenMPI.sln project for Visual Studio, it's in whatever directory you
specified as your build directory.

8)  Open the sln in Visual Studio.  Open the Properties of "Solution
'OpenMPI'".  Look at Configuration Properties - Configuration.  Check
the Configuration button at the top, it might say 

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
Thanks.

 

When I try to run the program with mpiexec.exe, I get an error message
saying "The Program can't start because MSVCR100.dll is missing from
your computer".

What did I miss?

 

--

Vimal

 

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

 

That goes in Configuration Properties - C/C++ - Preprocessor -
Preprocessor Definitions.

Damien 

On 14/06/2012 10:07 AM, vimalmat...@eaton.com wrote: 

Thanks a lot Damien.

 

When I compile the code that they've used in the link you sent, I get
this error: error LNK2001: unresolved external symbol
_ompi_mpi_comm_world

I looked this up in the mail archives and Shiqing said "OMPI_IMPORTS"
needs to be added as a preprocessor definition in the project
configuration. Where specifically do I add this?

 

--

Vimal

 

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

 

Vimal,

Start with this:

http://supercomputingblog.com/mpi/getting-started-with-mpi-using-visual-
studio-2008-express/

The only difference is that whereever this tutorial says "HPC Pack 2008
SDK directory" you should go to "c:\ompi\openmpi-1.6\installed" and use
the include, lib and bin directories from there.

This will give you a simple VS project that you can use to start
building your own stuff.

Damien  

On 14/06/2012 8:55 AM, vimalmat...@eaton.com wrote: 

Everything went as you expected.

No errors except that I don't have Fortran compilers so checking
OMPI_WANT_F77_BINDINGS and OMPI_WANT_F90_BINDINGS threw some error
messages.

 

One more question - in which project out of the 16 do I include code
that I want to run?

 

--

Vimal

 

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

 

Vimal,

Here's how to build OpenMPI with Visual Studio and CMake.  These are
exact steps.

1)  Download this:
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz

2)  Extract that to somewhere on your hard drive.  My path was
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.
You can use 7-Zip to extract tgz archives on Windows.

3)  Start the CMake GUI.  Set the source and build directories.  Mine
were C:/projects6/openmpi-1.6-64 and C:/projects6/openmpi-1.6-64/build

4)  Press Configure.  Say Yes if it asks you to create the build
directory.

5)  Look at the generator view that comes up.  I chose Visual Studio 9
2008 Win64 but you can select whatever you have on your system.  Click
Specify Native Compilers.  This will make sure you get the right
compilers.

In the C and C++ compiler, I put "C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC\bin\amd64\cl.exe".  You can navigate to which one
you have.

In the Fortran compiler, I put "C:/Program Files (x86)/Intel/Composer XE
2011 SP1/bin/intel64/ifort.exe".  You can navigate to which one you
have.

Press Finish once you have selected the compilers and the config will
start.  Takes a couple of minutes on my laptop.

First things first.  If you want a Release build, you have to change a
CMake setting.  The 5th line down in the red window will say
CMAKE_BUILD_TYPE.  Change the text (type it in) to say Release if you
want a Release build, otherwise the final install step won't work.

Also, further down the red window there's some options you should
change.  Scroll down through that window, there's a lot to choose from.
I usually check OMPI_RELEASE_BUILD, OMPI_WANT_F77_BINDINGS and
OMPI_WANT_F90_BINDINGS.  OMPI_WANT_CXX_BINDINGS should already be
checked.  (Note to Jeff & Shiqing: We should probably work out a good
set of standard choices if there are others on top of these).

6)  Press Configure again, and CMake will go through identifying the
Fortran compiler if you asked for Fortran bindings and a few other
things.  It should work fine with the options above.

7)  Assuming that it was fine, press Generate.  That produces an
OpenMPI.sln project for Visual Studio, it's in whatever directory you
specified as your build directory.

8)  Open the sln in Visual Studio.  Open the Properties of "Solution
'OpenMPI'".  Look at Configuration Properties - Configuration.  Check
the Configuration button at the top, it might say Debug, but it should
say Release if you changed CMAKE_BUILD_TYPE earlier.  If it says Debug,
change the drop-down to Release.  Click OK.  Then open the Properties
again and make sure what you selected is right, otherwise change it,
press OK again.  Visual Studio does that sometimes.

9)  Moment of Truth.  Right-click on "Solution 'OpenMPI'" and select
Build Solution.  The compile should start.

10)  Wait.

11)  Wait some more.

12)  Grab a snack (or a 

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
Everything went as you expected.

No errors except that I don't have Fortran compilers so checking
OMPI_WANT_F77_BINDINGS and OMPI_WANT_F90_BINDINGS threw some error
messages.

 

One more question - in which project out of the 16 do I include code
that I want to run?

 

--

Vimal

 

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

 

Vimal,

Here's how to build OpenMPI with Visual Studio and CMake.  These are
exact steps.

1)  Download this:
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz

2)  Extract that to somewhere on your hard drive.  My path was
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.
You can use 7-Zip to extract tgz archives on Windows.

3)  Start the CMake GUI.  Set the source and build directories.  Mine
were C:/projects6/openmpi-1.6-64 and C:/projects6/openmpi-1.6-64/build

4)  Press Configure.  Say Yes if it asks you to create the build
directory.

5)  Look at the generator view that comes up.  I chose Visual Studio 9
2008 Win64 but you can select whatever you have on your system.  Click
Specify Native Compilers.  This will make sure you get the right
compilers.

In the C and C++ compiler, I put "C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC\bin\amd64\cl.exe".  You can navigate to which one
you have.

In the Fortran compiler, I put "C:/Program Files (x86)/Intel/Composer XE
2011 SP1/bin/intel64/ifort.exe".  You can navigate to which one you
have.

Press Finish once you have selected the compilers and the config will
start.  Takes a couple of minutes on my laptop.

First things first.  If you want a Release build, you have to change a
CMake setting.  The 5th line down in the red window will say
CMAKE_BUILD_TYPE.  Change the text (type it in) to say Release if you
want a Release build, otherwise the final install step won't work.

Also, further down the red window there's some options you should
change.  Scroll down through that window, there's a lot to choose from.
I usually check OMPI_RELEASE_BUILD, OMPI_WANT_F77_BINDINGS and
OMPI_WANT_F90_BINDINGS.  OMPI_WANT_CXX_BINDINGS should already be
checked.  (Note to Jeff & Shiqing: We should probably work out a good
set of standard choices if there are others on top of these).

6)  Press Configure again, and CMake will go through identifying the
Fortran compiler if you asked for Fortran bindings and a few other
things.  It should work fine with the options above.

7)  Assuming that it was fine, press Generate.  That produces an
OpenMPI.sln project for Visual Studio, it's in whatever directory you
specified as your build directory.

8)  Open the sln in Visual Studio.  Open the Properties of "Solution
'OpenMPI'".  Look at Configuration Properties - Configuration.  Check
the Configuration button at the top, it might say Debug, but it should
say Release if you changed CMAKE_BUILD_TYPE earlier.  If it says Debug,
change the drop-down to Release.  Click OK.  Then open the Properties
again and make sure what you selected is right, otherwise change it,
press OK again.  Visual Studio does that sometimes.

9)  Moment of Truth.  Right-click on "Solution 'OpenMPI'" and select
Build Solution.  The compile should start.

10)  Wait.

11)  Wait some more.

12)  Grab a snack (or a beer.), this will take a while, 15-20
minutes.

13)  If the build was successful (it should be), there's one last step.
Right-click on the INSTALL sub-project and click Build.  That will
organise the header files, libraries and binaries into a set of
directories, under whatever directory you said your source is in with
CMake.  On mine it was C:\projects6\openmpi-1.6\installed.  In there
you'll see bin, include, lib and share directories.  That's a complete
OpenMPI build with everything you need.

If you'd like to try this and provide feedback, we can tweak the
instructions until they're bulletproof.  I can help you build with
whatever compilers you have on your system, just post back to the list.
I don't do Cygwin though.  Doing HPC on Windows is weird enough.
:-)

Damien

On 13/06/2012 1:35 PM, vimalmat...@eaton.com wrote: 

What do I do after I run it?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Ralph Castain
Sent: Wednesday, June 13, 2012 3:32 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

I'm not a Windozer, so I can't speak to the port for that platform.
However, the conversation here seems strange to me. Have you actually
read the instructions on the open-mpi.org web site?

 

Looks pretty simple to me. You download the .exe installer for either 32
or 64 bits, and run it. You don't build OMPI from source - the distro
contains everything you need to just run.

 

See:

 

http://www.open-mpi.org/software/ompi/v1.6/

 

for the software and some Windows notes.

 

 

On Jun 13, 2012, 

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
Sorry Damien, my mistake.

Selected the wrong version of VS.

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Thursday, June 14, 2012 10:10 AM
To: us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

Hi Damien,

 

Thanks for the detailed instructions!

Here’s my progress:

 

1)  Download this:  
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz 
 

Done

2)  Extract that to somewhere on your hard drive.  My path was 
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.  You 
can use 7-Zip to extract tgz archives on Windows.

Extracted to C:\OMPI\openmpi-1.6


3)  Start the CMake GUI.  Set the source and build directories.  Mine were 
C:/projects6/openmpi-1.6-64 and C:/projects6/openmpi-1.6-64/build

Does it matter where I run CMake from? I’ve put Cmake-2.8.8-win32-x86 in 
C:\OMPI\openmpi-1.6

4)  Press Configure.  Say Yes if it asks you to create the build directory.

Done

5)  Look at the generator view that comes up.  I chose Visual Studio 9 2008 
Win64 but you can select whatever you have on your system.  Click Specify 
Native Compilers.  This will make sure you get the right compilers.

I chose Visual Studio 9 2008 Win64.

In the C and C++ compiler, I put "C:\Program Files (x86)\Microsoft Visual 
Studio 9.0\VC\bin\amd64\cl.exe".  You can navigate to which one you have.

I have “C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe”

In the Fortran compiler, I put "C:/Program Files (x86)/Intel/Composer XE 2011 
SP1/bin/intel64/ifort.exe".  You can navigate to which one you have.

I do not have a Fortran compiler

Press Finish once you have selected the compilers and the config will start.  
Takes a couple of minutes on my laptop.

I get an error message saying: Error in configuration process. Project files 
may be invalid

I’ve attached the text that the CMake GUI generated for the error.


--

Vimal

 

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

 

Vimal,

Here's how to build OpenMPI with Visual Studio and CMake.  These are exact 
steps.

1)  Download this:  
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz

2)  Extract that to somewhere on your hard drive.  My path was 
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.  You 
can use 7-Zip to extract tgz archives on Windows.

3)  Start the CMake GUI.  Set the source and build directories.  Mine were 
C:/projects6/openmpi-1.6-64 and C:/projects6/openmpi-1.6-64/build

4)  Press Configure.  Say Yes if it asks you to create the build directory.

5)  Look at the generator view that comes up.  I chose Visual Studio 9 2008 
Win64 but you can select whatever you have on your system.  Click Specify 
Native Compilers.  This will make sure you get the right compilers.

In the C and C++ compiler, I put "C:\Program Files (x86)\Microsoft Visual 
Studio 9.0\VC\bin\amd64\cl.exe".  You can navigate to which one you have.

In the Fortran compiler, I put "C:/Program Files (x86)/Intel/Composer XE 2011 
SP1/bin/intel64/ifort.exe".  You can navigate to which one you have.

Press Finish once you have selected the compilers and the config will start.  
Takes a couple of minutes on my laptop.

First things first.  If you want a Release build, you have to change a CMake 
setting.  The 5th line down in the red window will say CMAKE_BUILD_TYPE.  
Change the text (type it in) to say Release if you want a Release build, 
otherwise the final install step won't work.

Also, further down the red window there's some options you should change.  
Scroll down through that window, there's a lot to choose from.  I usually check 
OMPI_RELEASE_BUILD, OMPI_WANT_F77_BINDINGS and OMPI_WANT_F90_BINDINGS.  
OMPI_WANT_CXX_BINDINGS should already be checked.  (Note to Jeff & Shiqing: We 
should probably work out a good set of standard choices if there are others on 
top of these).

6)  Press Configure again, and CMake will go through identifying the Fortran 
compiler if you asked for Fortran bindings and a few other things.  It should 
work fine with the options above.

7)  Assuming that it was fine, press Generate.  That produces an OpenMPI.sln 
project for Visual Studio, it's in whatever directory you specified as your 
build directory.

8)  Open the sln in Visual Studio.  Open the Properties of "Solution 
'OpenMPI'".  Look at Configuration Properties - Configuration.  Check the 
Configuration button at the top, it might say Debug, but it should say Release 
if you changed CMAKE_BUILD_TYPE earlier.  If it says Debug, change the 
drop-down to Release.  Click OK.  Then open the Properties again and make sure 
what you selected is right, otherwise change it, press OK again.  

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread VimalMathew
Hi Damien,

 

Thanks for the detailed instructions!

Here's my progress:

 

1)  Download this:  
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz
 

Done

2)  Extract that to somewhere on your hard drive.  My path was
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.
You can use 7-Zip to extract tgz archives on Windows.

Extracted to C:\OMPI\openmpi-1.6


3)  Start the CMake GUI.  Set the source and build directories.  Mine
were C:/projects6/openmpi-1.6-64 and C:/projects6/openmpi-1.6-64/build

Does it matter where I run CMake from? I've put Cmake-2.8.8-win32-x86 in
C:\OMPI\openmpi-1.6

4)  Press Configure.  Say Yes if it asks you to create the build
directory.

Done

5)  Look at the generator view that comes up.  I chose Visual Studio 9
2008 Win64 but you can select whatever you have on your system.  Click
Specify Native Compilers.  This will make sure you get the right
compilers.

I chose Visual Studio 9 2008 Win64.

In the C and C++ compiler, I put "C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC\bin\amd64\cl.exe".  You can navigate to which one
you have.

I have "C:/Program Files (x86)/Microsoft Visual Studio
9.0/VC/bin/cl.exe"

In the Fortran compiler, I put "C:/Program Files (x86)/Intel/Composer XE
2011 SP1/bin/intel64/ifort.exe".  You can navigate to which one you
have.

I do not have a Fortran compiler

Press Finish once you have selected the compilers and the config will
start.  Takes a couple of minutes on my laptop.

I get an error message saying: Error in configuration process. Project
files may be invalid

I've attached the text that the CMake GUI generated for the error.


--

Vimal

 

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

 

Vimal,

Here's how to build OpenMPI with Visual Studio and CMake.  These are
exact steps.

1)  Download this:  
http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.tar.gz

2)  Extract that to somewhere on your hard drive.  My path was
C:\projects6\openmpi-1.6.  I renamed it to C:\projects6\openmpi-1.6-64.
You can use 7-Zip to extract tgz archives on Windows.

3)  Start the CMake GUI.  Set the source and build directories.  Mine
were C:/projects6/openmpi-1.6-64 and C:/projects6/openmpi-1.6-64/build

4)  Press Configure.  Say Yes if it asks you to create the build
directory.

5)  Look at the generator view that comes up.  I chose Visual Studio 9
2008 Win64 but you can select whatever you have on your system.  Click
Specify Native Compilers.  This will make sure you get the right
compilers.

In the C and C++ compiler, I put "C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC\bin\amd64\cl.exe".  You can navigate to which one
you have.

In the Fortran compiler, I put "C:/Program Files (x86)/Intel/Composer XE
2011 SP1/bin/intel64/ifort.exe".  You can navigate to which one you
have.

Press Finish once you have selected the compilers and the config will
start.  Takes a couple of minutes on my laptop.

First things first.  If you want a Release build, you have to change a
CMake setting.  The 5th line down in the red window will say
CMAKE_BUILD_TYPE.  Change the text (type it in) to say Release if you
want a Release build, otherwise the final install step won't work.

Also, further down the red window there's some options you should
change.  Scroll down through that window, there's a lot to choose from.
I usually check OMPI_RELEASE_BUILD, OMPI_WANT_F77_BINDINGS and
OMPI_WANT_F90_BINDINGS.  OMPI_WANT_CXX_BINDINGS should already be
checked.  (Note to Jeff & Shiqing: We should probably work out a good
set of standard choices if there are others on top of these).

6)  Press Configure again, and CMake will go through identifying the
Fortran compiler if you asked for Fortran bindings and a few other
things.  It should work fine with the options above.

7)  Assuming that it was fine, press Generate.  That produces an
OpenMPI.sln project for Visual Studio, it's in whatever directory you
specified as your build directory.

8)  Open the sln in Visual Studio.  Open the Properties of "Solution
'OpenMPI'".  Look at Configuration Properties - Configuration.  Check
the Configuration button at the top, it might say Debug, but it should
say Release if you changed CMAKE_BUILD_TYPE earlier.  If it says Debug,
change the drop-down to Release.  Click OK.  Then open the Properties
again and make sure what you selected is right, otherwise change it,
press OK again.  Visual Studio does that sometimes.

9)  Moment of Truth.  Right-click on "Solution 'OpenMPI'" and select
Build Solution.  The compile should start.

10)  Wait.

11)  Wait some more.

12)  Grab a snack (or a beer.), this will take a while, 15-20
minutes.

13)  If the build was successful (it should be), there's one last step.
Right-click 

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread VimalMathew
Yes, did that too.

 

--

Vimal

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of Trent Creekmore
Sent: Wednesday, June 13, 2012 4:21 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows

 

I meant the actual files, not including folders.

But you won’t need to Bin files, 

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 3:13 PM
To: us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

I put all the folders (bin, include, etc, lib and share) in the root folder of 
the project. No success.

Tried adding all the .h files in include in the Header files folder under the 
Project in VS. Still no go.

 

--Vimal 

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of Trent Creekmore
Sent: Wednesday, June 13, 2012 3:52 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows

 

I find the easiest way to know if LIB and DLL function correctly, and avoiding  
confusion on correct setup is it just drop them all in the root directory of 
your project. VS should see them upon load of that project.

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 2:47 PM
To: us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

Yes, and then I added the libraries folder in Visual Studio under Project 
Properties>Linker>General>Additional Library Directories.

I tried compiling simple ‘Hello World’’ code and I get an error message saying 
‘Cannot open : No such file or directory.

 

What step am I missing?

 

--

Vimal

 

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

 

Once you've run the installer, you'll have a set of OpenMPI debug and release 
dlls, libraries to link to and the necessary include files.  If you're 
installing the 64-bit version, it will end up here by default:

C:\Program Files (x86)\OpenMPI_v1.6-x64

Damien 

On 13/06/2012 1:35 PM, vimalmat...@eaton.com wrote: 

What do I do after I run it?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of Ralph Castain
Sent: Wednesday, June 13, 2012 3:32 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

I'm not a Windozer, so I can't speak to the port for that platform. However, 
the conversation here seems strange to me. Have you actually read the 
instructions on the open-mpi.org web site?

 

Looks pretty simple to me. You download the .exe installer for either 32 or 64 
bits, and run it. You don't build OMPI from source - the distro contains 
everything you need to just run.

 

See:

 

http://www.open-mpi.org/software/ompi/v1.6/

 

for the software and some Windows notes.

 

 

On Jun 13, 2012, at 1:20 PM, Trent Creekmore wrote:

 

I just gave up and stuck with Unix/Linux.  Eclipse IDE offers a very nice 
plugin for developing and debugging MPI code named Parallel Tools Platform. 
Something not available in Visual Studio, except for similar one made by Intel, 
but I believe you have to use their compiler.

 

You could always run Eclipse remotely from any Windows OS using a Secure Shell 
client and Xming (A Windows based X Server). That is what I do, and no more 
wasting time trying to get OMPI trying to run on Windows.

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 2:09 PM
To: us...@open-mpi.org; us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

I've tried the Cygwin way.
Been hitting roadblocks for a week now. I've just uninstalled everything and 
started from scratch again.

--
Vimal


-Original Message-
From: users-boun...@open-mpi.org on behalf of Trent Creekmore
Sent: Wed 6/13/2012 2:47 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows

This may, or may not be helpful, but I have tried the Windows offerings. I have 
never gotten anything to function was expected. Compiling, or the available 
binaries. I think they just don't work at all.



My suggestion which I feel would be easier, and less headache way would be to 
install something like CygWin, which would give you a Unix/Linux like 
environment running under Windows.

You would only need to compile it in CygWin just like the Linux/Unix docs say 
to do.



I don't know if anyone else has done it this way or not.





From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 1:32 PM
To: us...@open-mpi.org
Subject: [OMPI users] Building MPI on Windows



Hi,



I'm trying to follow the ReadMe file to build OpenMPI on Windows:



Step 1: Untar 

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread VimalMathew
I put all the folders (bin, include, etc, lib and share) in the root folder of 
the project. No success.

Tried adding all the .h files in include in the Header files folder under the 
Project in VS. Still no go.

 

--Vimal 

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of Trent Creekmore
Sent: Wednesday, June 13, 2012 3:52 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows

 

I find the easiest way to know if LIB and DLL function correctly, and avoiding  
confusion on correct setup is it just drop them all in the root directory of 
your project. VS should see them upon load of that project.

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 2:47 PM
To: us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

Yes, and then I added the libraries folder in Visual Studio under Project 
Properties>Linker>General>Additional Library Directories.

I tried compiling simple ‘Hello World’’ code and I get an error message saying 
‘Cannot open : No such file or directory.

 

What step am I missing?

 

--

Vimal

 

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

 

Once you've run the installer, you'll have a set of OpenMPI debug and release 
dlls, libraries to link to and the necessary include files.  If you're 
installing the 64-bit version, it will end up here by default:

C:\Program Files (x86)\OpenMPI_v1.6-x64

Damien 

On 13/06/2012 1:35 PM, vimalmat...@eaton.com wrote: 

What do I do after I run it?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of Ralph Castain
Sent: Wednesday, June 13, 2012 3:32 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

I'm not a Windozer, so I can't speak to the port for that platform. However, 
the conversation here seems strange to me. Have you actually read the 
instructions on the open-mpi.org web site?

 

Looks pretty simple to me. You download the .exe installer for either 32 or 64 
bits, and run it. You don't build OMPI from source - the distro contains 
everything you need to just run.

 

See:

 

http://www.open-mpi.org/software/ompi/v1.6/

 

for the software and some Windows notes.

 

 

On Jun 13, 2012, at 1:20 PM, Trent Creekmore wrote:

 

I just gave up and stuck with Unix/Linux.  Eclipse IDE offers a very nice 
plugin for developing and debugging MPI code named Parallel Tools Platform. 
Something not available in Visual Studio, except for similar one made by Intel, 
but I believe you have to use their compiler.

 

You could always run Eclipse remotely from any Windows OS using a Secure Shell 
client and Xming (A Windows based X Server). That is what I do, and no more 
wasting time trying to get OMPI trying to run on Windows.

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 2:09 PM
To: us...@open-mpi.org; us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

I've tried the Cygwin way.
Been hitting roadblocks for a week now. I've just uninstalled everything and 
started from scratch again.

--
Vimal


-Original Message-
From: users-boun...@open-mpi.org on behalf of Trent Creekmore
Sent: Wed 6/13/2012 2:47 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows

This may, or may not be helpful, but I have tried the Windows offerings. I have 
never gotten anything to function was expected. Compiling, or the available 
binaries. I think they just don't work at all.



My suggestion which I feel would be easier, and less headache way would be to 
install something like CygWin, which would give you a Unix/Linux like 
environment running under Windows.

You would only need to compile it in CygWin just like the Linux/Unix docs say 
to do.



I don't know if anyone else has done it this way or not.





From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 1:32 PM
To: us...@open-mpi.org
Subject: [OMPI users] Building MPI on Windows



Hi,



I'm trying to follow the ReadMe file to build OpenMPI on Windows:



Step 1: Untar the contrib/platform/win32/ompi-static.tgz tarball in the root 
directory of the Open MPI distribution.

I do not have ompi-static.tgz in the mentioned path.



Step 2: Go in the ompi/datatype subdirectory in the Open MPI distribution and 
copy the following:  

datatype_pack.c   to datatype_pack_checksum.c

datatype_unpack.c to datatype_unpack_checksum.c

I do not see these files in the mentioned path.



Step 4: Open the Open MPI project (.sln file) from the root directory of the 
distribution.

I don't have a .sln file anywhere



Help 

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread VimalMathew
Yes, and then I added the libraries folder in Visual Studio under
Project Properties>Linker>General>Additional Library Directories.

I tried compiling simple 'Hello World'' code and I get an error message
saying 'Cannot open : No such file or directory.

 

What step am I missing?

 

--

Vimal

 

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

 

Once you've run the installer, you'll have a set of OpenMPI debug and
release dlls, libraries to link to and the necessary include files.  If
you're installing the 64-bit version, it will end up here by default:

C:\Program Files (x86)\OpenMPI_v1.6-x64

Damien 

On 13/06/2012 1:35 PM, vimalmat...@eaton.com wrote: 

What do I do after I run it?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Ralph Castain
Sent: Wednesday, June 13, 2012 3:32 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

I'm not a Windozer, so I can't speak to the port for that platform.
However, the conversation here seems strange to me. Have you actually
read the instructions on the open-mpi.org web site?

 

Looks pretty simple to me. You download the .exe installer for either 32
or 64 bits, and run it. You don't build OMPI from source - the distro
contains everything you need to just run.

 

See:

 

http://www.open-mpi.org/software/ompi/v1.6/

 

for the software and some Windows notes.

 

 

On Jun 13, 2012, at 1:20 PM, Trent Creekmore wrote:






I just gave up and stuck with Unix/Linux.  Eclipse IDE offers a very
nice plugin for developing and debugging MPI code named Parallel Tools
Platform. Something not available in Visual Studio, except for similar
one made by Intel, but I believe you have to use their compiler.

 

You could always run Eclipse remotely from any Windows OS using a Secure
Shell client and Xming (A Windows based X Server). That is what I do,
and no more wasting time trying to get OMPI trying to run on Windows.

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 2:09 PM
To: us...@open-mpi.org; us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

I've tried the Cygwin way.
Been hitting roadblocks for a week now. I've just uninstalled everything
and started from scratch again.

--
Vimal


-Original Message-
From: users-boun...@open-mpi.org on behalf of Trent Creekmore
Sent: Wed 6/13/2012 2:47 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows

This may, or may not be helpful, but I have tried the Windows offerings.
I have never gotten anything to function was expected. Compiling, or the
available binaries. I think they just don't work at all.



My suggestion which I feel would be easier, and less headache way would
be to install something like CygWin, which would give you a Unix/Linux
like environment running under Windows.

You would only need to compile it in CygWin just like the Linux/Unix
docs say to do.



I don't know if anyone else has done it this way or not.





From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 1:32 PM
To: us...@open-mpi.org
Subject: [OMPI users] Building MPI on Windows



Hi,



I'm trying to follow the ReadMe file to build OpenMPI on Windows:



Step 1: Untar the contrib/platform/win32/ompi-static.tgz tarball in the
root directory of the Open MPI distribution.

I do not have ompi-static.tgz in the mentioned path.



Step 2: Go in the ompi/datatype subdirectory in the Open MPI
distribution and copy the following:  

datatype_pack.c   to datatype_pack_checksum.c

datatype_unpack.c to datatype_unpack_checksum.c

I do not see these files in the mentioned path.



Step 4: Open the Open MPI project (.sln file) from the root directory of
the distribution.

I don't have a .sln file anywhere



Help anyone? Shiqing?



Thanks,

Vimal



From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 11:21 AM
To: f...@hlrs.de
Cc: us...@open-mpi.org
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)



I did make uninstall. I also deleted the folders of the other
implementation.

I ran ./configure and make all install.

At the end of the make I saw a bunch of errors for the makefiles. I've
attached the .log and .out files.



Please tell me if I'm on the right track.



Thanks,

Vimal



From: Shiqing Fan [mailto:f...@hlrs.de]
Sent: Wednesday, June 13, 2012 9:37 AM
To: Mathew, Vimal
Cc: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)



Hi Vimal,

I'm not sure how you can uninstall  the other one, may be 'make
uninstall' from the source? Or you may also ask in their 

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread VimalMathew
What do I do after I run it?

 

--

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Ralph Castain
Sent: Wednesday, June 13, 2012 3:32 PM
To: Open MPI Users
Subject: Re: [OMPI users] Building MPI on Windows

 

I'm not a Windozer, so I can't speak to the port for that platform.
However, the conversation here seems strange to me. Have you actually
read the instructions on the open-mpi.org web site?

 

Looks pretty simple to me. You download the .exe installer for either 32
or 64 bits, and run it. You don't build OMPI from source - the distro
contains everything you need to just run.

 

See:

 

http://www.open-mpi.org/software/ompi/v1.6/

 

for the software and some Windows notes.

 

 

On Jun 13, 2012, at 1:20 PM, Trent Creekmore wrote:





I just gave up and stuck with Unix/Linux.  Eclipse IDE offers a very
nice plugin for developing and debugging MPI code named Parallel Tools
Platform. Something not available in Visual Studio, except for similar
one made by Intel, but I believe you have to use their compiler.

 

You could always run Eclipse remotely from any Windows OS using a Secure
Shell client and Xming (A Windows based X Server). That is what I do,
and no more wasting time trying to get OMPI trying to run on Windows.

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 2:09 PM
To: us...@open-mpi.org; us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

I've tried the Cygwin way.
Been hitting roadblocks for a week now. I've just uninstalled everything
and started from scratch again.

--
Vimal


-Original Message-
From: users-boun...@open-mpi.org on behalf of Trent Creekmore
Sent: Wed 6/13/2012 2:47 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows

This may, or may not be helpful, but I have tried the Windows offerings.
I have never gotten anything to function was expected. Compiling, or the
available binaries. I think they just don't work at all.



My suggestion which I feel would be easier, and less headache way would
be to install something like CygWin, which would give you a Unix/Linux
like environment running under Windows.

You would only need to compile it in CygWin just like the Linux/Unix
docs say to do.



I don't know if anyone else has done it this way or not.





From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 1:32 PM
To: us...@open-mpi.org
Subject: [OMPI users] Building MPI on Windows



Hi,



I'm trying to follow the ReadMe file to build OpenMPI on Windows:



Step 1: Untar the contrib/platform/win32/ompi-static.tgz tarball in the
root directory of the Open MPI distribution.

I do not have ompi-static.tgz in the mentioned path.



Step 2: Go in the ompi/datatype subdirectory in the Open MPI
distribution and copy the following:  

datatype_pack.c   to datatype_pack_checksum.c

datatype_unpack.c to datatype_unpack_checksum.c

I do not see these files in the mentioned path.



Step 4: Open the Open MPI project (.sln file) from the root directory of
the distribution.

I don't have a .sln file anywhere



Help anyone? Shiqing?



Thanks,

Vimal



From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 11:21 AM
To: f...@hlrs.de
Cc: us...@open-mpi.org
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)



I did make uninstall. I also deleted the folders of the other
implementation.

I ran ./configure and make all install.

At the end of the make I saw a bunch of errors for the makefiles. I've
attached the .log and .out files.



Please tell me if I'm on the right track.



Thanks,

Vimal



From: Shiqing Fan [mailto:f...@hlrs.de]
Sent: Wednesday, June 13, 2012 9:37 AM
To: Mathew, Vimal
Cc: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)



Hi Vimal,

I'm not sure how you can uninstall  the other one, may be 'make
uninstall' from the source? Or you may also ask in their mailing list.

Another solution might use the full path for the executables, like
"c:\Program Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin:
"/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c".

Of course, I suggest to get rid of the other MPI implementation.

Shiqing


On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote:

Hi Shiqing,



I installed the LAN/MPI implementation first then the Open MPI
implementation.

Could this be the problem? If yes, how do I get rid of the LAN/MPI
implementation?



Thanks,

Vimal



From: Shiqing Fan [mailto:f...@hlrs.de]
Sent: Wednesday, June 13, 2012 4:49 AM
To: Open MPI Users
Cc: Mathew, Vimal
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)



Hi Vimal,

The output looks strange. If you use the installer under 

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread VimalMathew
Could you please give me links to documentation that you followed when you set 
it up, Trent?

 

Thanks,

Vimal 

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of Trent Creekmore
Sent: Wednesday, June 13, 2012 3:20 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows

 

I just gave up and stuck with Unix/Linux.  Eclipse IDE offers a very nice 
plugin for developing and debugging MPI code named Parallel Tools Platform. 
Something not available in Visual Studio, except for similar one made by Intel, 
but I believe you have to use their compiler.

 

You could always run Eclipse remotely from any Windows OS using a Secure Shell 
client and Xming (A Windows based X Server). That is what I do, and no more 
wasting time trying to get OMPI trying to run on Windows.

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 2:09 PM
To: us...@open-mpi.org; us...@open-mpi.org
Subject: Re: [OMPI users] Building MPI on Windows

 

I've tried the Cygwin way.
Been hitting roadblocks for a week now. I've just uninstalled everything and 
started from scratch again.

--
Vimal


-Original Message-
From: users-boun...@open-mpi.org on behalf of Trent Creekmore
Sent: Wed 6/13/2012 2:47 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows

This may, or may not be helpful, but I have tried the Windows offerings. I have 
never gotten anything to function was expected. Compiling, or the available 
binaries. I think they just don't work at all.



My suggestion which I feel would be easier, and less headache way would be to 
install something like CygWin, which would give you a Unix/Linux like 
environment running under Windows.

You would only need to compile it in CygWin just like the Linux/Unix docs say 
to do.



I don't know if anyone else has done it this way or not.





From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 1:32 PM
To: us...@open-mpi.org
Subject: [OMPI users] Building MPI on Windows



Hi,



I'm trying to follow the ReadMe file to build OpenMPI on Windows:



Step 1: Untar the contrib/platform/win32/ompi-static.tgz tarball in the root 
directory of the Open MPI distribution.

I do not have ompi-static.tgz in the mentioned path.



Step 2: Go in the ompi/datatype subdirectory in the Open MPI distribution and 
copy the following:  

datatype_pack.c   to datatype_pack_checksum.c

datatype_unpack.c to datatype_unpack_checksum.c

I do not see these files in the mentioned path.



Step 4: Open the Open MPI project (.sln file) from the root directory of the 
distribution.

I don't have a .sln file anywhere



Help anyone? Shiqing?



Thanks,

Vimal



From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 11:21 AM
To: f...@hlrs.de
Cc: us...@open-mpi.org
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)



I did make uninstall. I also deleted the folders of the other implementation.

I ran ./configure and make all install.

At the end of the make I saw a bunch of errors for the makefiles. I've attached 
the .log and .out files.



Please tell me if I'm on the right track.



Thanks,

Vimal



From: Shiqing Fan [mailto:f...@hlrs.de]
Sent: Wednesday, June 13, 2012 9:37 AM
To: Mathew, Vimal
Cc: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)



Hi Vimal,

I'm not sure how you can uninstall  the other one, may be 'make uninstall' from 
the source? Or you may also ask in their mailing list.

Another solution might use the full path for the executables, like "c:\Program 
Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: 
"/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c".

Of course, I suggest to get rid of the other MPI implementation.

Shiqing


On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote:

Hi Shiqing,



I installed the LAN/MPI implementation first then the Open MPI implementation.

Could this be the problem? If yes, how do I get rid of the LAN/MPI 
implementation?



Thanks,

Vimal



From: Shiqing Fan [mailto:f...@hlrs.de]
Sent: Wednesday, June 13, 2012 4:49 AM
To: Open MPI Users
Cc: Mathew, Vimal
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)



Hi Vimal,

The output looks strange. If you use the installer under Cygwin, mpicc 
shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I 
guess the mpicc is messed up with some previously installed MPI 
implementations. Could you please verify that 'which mpicc' is the one you 
installed?

Anyway, here I sent some screen shots that how it should look like under Cygwin.

1 - run command 'mpicc chello.c'

2 - run command 'mpicc chello.c -o chello'

Regards,
Shiqing


 
On 2012-06-12 8:44 PM, 

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread VimalMathew
I've tried the Cygwin way.
Been hitting roadblocks for a week now. I've just uninstalled everything and 
started from scratch again.

--
Vimal


-Original Message-
From: users-boun...@open-mpi.org on behalf of Trent Creekmore
Sent: Wed 6/13/2012 2:47 PM
To: 'Open MPI Users'
Subject: Re: [OMPI users] Building MPI on Windows
 
This may, or may not be helpful, but I have tried the Windows offerings. I have 
never gotten anything to function was expected. Compiling, or the available 
binaries. I think they just don't work at all.

 

My suggestion which I feel would be easier, and less headache way would be to 
install something like CygWin, which would give you a Unix/Linux like 
environment running under Windows. 

You would only need to compile it in CygWin just like the Linux/Unix docs say 
to do. 

 

I don't know if anyone else has done it this way or not.

 

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 1:32 PM
To: us...@open-mpi.org
Subject: [OMPI users] Building MPI on Windows

 

Hi, 

 

I'm trying to follow the ReadMe file to build OpenMPI on Windows:

 

Step 1: Untar the contrib/platform/win32/ompi-static.tgz tarball in the root 
directory of the Open MPI distribution.

I do not have ompi-static.tgz in the mentioned path.

 

Step 2: Go in the ompi/datatype subdirectory in the Open MPI distribution and 
copy the following:   

datatype_pack.c   to datatype_pack_checksum.c 

datatype_unpack.c to datatype_unpack_checksum.c

I do not see these files in the mentioned path.

 

Step 4: Open the Open MPI project (.sln file) from the root directory of the 
distribution.

I don't have a .sln file anywhere

 

Help anyone? Shiqing?

 

Thanks,

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 11:21 AM
To: f...@hlrs.de
Cc: us...@open-mpi.org
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

 

I did make uninstall. I also deleted the folders of the other implementation.

I ran ./configure and make all install.

At the end of the make I saw a bunch of errors for the makefiles. I've attached 
the .log and .out files.

 

Please tell me if I'm on the right track.

 

Thanks,

Vimal

 

From: Shiqing Fan [mailto:f...@hlrs.de] 
Sent: Wednesday, June 13, 2012 9:37 AM
To: Mathew, Vimal
Cc: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

 

Hi Vimal,

I'm not sure how you can uninstall  the other one, may be 'make uninstall' from 
the source? Or you may also ask in their mailing list.

Another solution might use the full path for the executables, like "c:\Program 
Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: 
"/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c".

Of course, I suggest to get rid of the other MPI implementation.

Shiqing


On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote: 

Hi Shiqing,

 

I installed the LAN/MPI implementation first then the Open MPI implementation.

Could this be the problem? If yes, how do I get rid of the LAN/MPI 
implementation?

 

Thanks,

Vimal

 

From: Shiqing Fan [mailto:f...@hlrs.de] 
Sent: Wednesday, June 13, 2012 4:49 AM
To: Open MPI Users
Cc: Mathew, Vimal
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

 

Hi Vimal,

The output looks strange. If you use the installer under Cygwin, mpicc 
shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I 
guess the mpicc is messed up with some previously installed MPI 
implementations. Could you please verify that 'which mpicc' is the one you 
installed?

Anyway, here I sent some screen shots that how it should look like under Cygwin.

1 - run command 'mpicc chello.c'

2 - run command 'mpicc chello.c -o chello'

Regards,
Shiqing


  
On 2012-06-12 8:44 PM, vimalmat...@eaton.com wrote: 

I ran OpenMPI_v1.6-1_win64.exe.
 Now I get this message:
C9995799@SOUMIWHP5003567 ~/openmpi-1.6
$ mpicc hello.c -o hello
WARNING: mpicc expected to find liblammpio.* in /usr/local/lib
WARNING: MPI-2 IO support will be disabled
gcc: hello.c: No such file or directory
mpicc: No such file or directory
--
Vimal
 
 
-Original Message-
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Jeff Squyres
Sent: Tuesday, June 12, 2012 2:30 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)
 
Probably easier to just run the Open MPI binary installer.
 
 
On Jun 12, 2012, at 2:24 PM,  
  wrote:
 

So I simply download and run OpenMPI_v1.6-1_win64.exe?
Or is there a way to fix the Fortran compiler?
 
--
Vimal
 
 
-Original Message-
From: 

[OMPI users] Building MPI on Windows

2012-06-13 Thread VimalMathew
Hi, 

 

I’m trying to follow the ReadMe file to build OpenMPI on Windows:

 

Step 1: Untar the contrib/platform/win32/ompi-static.tgz tarball in the root 
directory of the Open MPI distribution.

I do not have ompi-static.tgz in the mentioned path.

 

Step 2: Go in the ompi/datatype subdirectory in the Open MPI distribution and 
copy the following:   

datatype_pack.c   to datatype_pack_checksum.c 

datatype_unpack.c to datatype_unpack_checksum.c

I do not see these files in the mentioned path.

 

Step 4: Open the Open MPI project (.sln file) from the root directory of the 
distribution.

I don’t have a .sln file anywhere

 

Help anyone? Shiqing?

 

Thanks,

Vimal

 

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of vimalmat...@eaton.com
Sent: Wednesday, June 13, 2012 11:21 AM
To: f...@hlrs.de
Cc: us...@open-mpi.org
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

 

I did make uninstall. I also deleted the folders of the other implementation.

I ran ./configure and make all install.

At the end of the make I saw a bunch of errors for the makefiles. I’ve attached 
the .log and .out files.

 

Please tell me if I’m on the right track.

 

Thanks,

Vimal

 

From: Shiqing Fan [mailto:f...@hlrs.de] 
Sent: Wednesday, June 13, 2012 9:37 AM
To: Mathew, Vimal
Cc: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

 

Hi Vimal,

I'm not sure how you can uninstall  the other one, may be 'make uninstall' from 
the source? Or you may also ask in their mailing list.

Another solution might use the full path for the executables, like "c:\Program 
Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: 
"/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c".

Of course, I suggest to get rid of the other MPI implementation.

Shiqing


On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote: 

Hi Shiqing,

 

I installed the LAN/MPI implementation first then the Open MPI implementation.

Could this be the problem? If yes, how do I get rid of the LAN/MPI 
implementation?

 

Thanks,

Vimal

 

From: Shiqing Fan [mailto:f...@hlrs.de] 
Sent: Wednesday, June 13, 2012 4:49 AM
To: Open MPI Users
Cc: Mathew, Vimal
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

 

Hi Vimal,

The output looks strange. If you use the installer under Cygwin, mpicc 
shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I 
guess the mpicc is messed up with some previously installed MPI 
implementations. Could you please verify that 'which mpicc' is the one you 
installed?

Anyway, here I sent some screen shots that how it should look like under Cygwin.

1 - run command 'mpicc chello.c'

2 - run command 'mpicc chello.c -o chello'

Regards,
Shiqing


  
On 2012-06-12 8:44 PM, vimalmat...@eaton.com wrote: 

I ran OpenMPI_v1.6-1_win64.exe.
 Now I get this message:
C9995799@SOUMIWHP5003567 ~/openmpi-1.6
$ mpicc hello.c -o hello
WARNING: mpicc expected to find liblammpio.* in /usr/local/lib
WARNING: MPI-2 IO support will be disabled
gcc: hello.c: No such file or directory
mpicc: No such file or directory
--
Vimal
 
 
-Original Message-
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Jeff Squyres
Sent: Tuesday, June 12, 2012 2:30 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)
 
Probably easier to just run the Open MPI binary installer.
 
 
On Jun 12, 2012, at 2:24 PM,  
  wrote:
 

So I simply download and run OpenMPI_v1.6-1_win64.exe?
Or is there a way to fix the Fortran compiler?
 
--
Vimal
 
 
-Original Message-
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] 
On Behalf Of Jeff Squyres
Sent: Tuesday, June 12, 2012 2:20 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not 
found)
 
It does not look like you successfully built Open MPI -- it looks like

 

Open MPI's configure script aborted because your Fortran compiler 
wasn't
behaving:
 
-
checking if Fortran 77 compiler supports COMPLEX*16... yes checking 
size of Fortran 77 COMPLEX*16... 16 checking alignment of Fortran 
COMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32...
no checking for max Fortran MPI handle index... ( 0x7fff <
2147483647 ? 0x7fff : 2147483647 ) checking Fortran value for

.TRUE.

logical type... configure: error: Could not determine value of Fortran

 

.TRUE..  Aborting.
-
 
Anything that happened after that is somewhat irrelevant because Open 
MPI didn't configure 

Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

2012-06-13 Thread VimalMathew
I did make uninstall. I also deleted the folders of the other implementation.

I ran ./configure and make all install.

At the end of the make I saw a bunch of errors for the makefiles. I’ve attached 
the .log and .out files.

 

Please tell me if I’m on the right track.

 

Thanks,

Vimal

 

From: Shiqing Fan [mailto:f...@hlrs.de] 
Sent: Wednesday, June 13, 2012 9:37 AM
To: Mathew, Vimal
Cc: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

 

Hi Vimal,

I'm not sure how you can uninstall  the other one, may be 'make uninstall' from 
the source? Or you may also ask in their mailing list.

Another solution might use the full path for the executables, like "c:\Program 
Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: 
"/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c".

Of course, I suggest to get rid of the other MPI implementation.

Shiqing


On 2012-06-13 3:17 PM, vimalmat...@eaton.com wrote: 

Hi Shiqing,

 

I installed the LAN/MPI implementation first then the Open MPI implementation.

Could this be the problem? If yes, how do I get rid of the LAN/MPI 
implementation?

 

Thanks,

Vimal

 

From: Shiqing Fan [mailto:f...@hlrs.de] 
Sent: Wednesday, June 13, 2012 4:49 AM
To: Open MPI Users
Cc: Mathew, Vimal
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

 

Hi Vimal,

The output looks strange. If you use the installer under Cygwin, mpicc 
shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I 
guess the mpicc is messed up with some previously installed MPI 
implementations. Could you please verify that 'which mpicc' is the one you 
installed?

Anyway, here I sent some screen shots that how it should look like under Cygwin.

1 - run command 'mpicc chello.c'

2 - run command 'mpicc chello.c -o chello'

Regards,
Shiqing


  
On 2012-06-12 8:44 PM, vimalmat...@eaton.com wrote: 

I ran OpenMPI_v1.6-1_win64.exe.
 Now I get this message:
C9995799@SOUMIWHP5003567 ~/openmpi-1.6
$ mpicc hello.c -o hello
WARNING: mpicc expected to find liblammpio.* in /usr/local/lib
WARNING: MPI-2 IO support will be disabled
gcc: hello.c: No such file or directory
mpicc: No such file or directory
--
Vimal
 
 
-Original Message-
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Jeff Squyres
Sent: Tuesday, June 12, 2012 2:30 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)
 
Probably easier to just run the Open MPI binary installer.
 
 
On Jun 12, 2012, at 2:24 PM,  
  wrote:
 

So I simply download and run OpenMPI_v1.6-1_win64.exe?
Or is there a way to fix the Fortran compiler?
 
--
Vimal
 
 
-Original Message-
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] 
On Behalf Of Jeff Squyres
Sent: Tuesday, June 12, 2012 2:20 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not 
found)
 
It does not look like you successfully built Open MPI -- it looks like

 

Open MPI's configure script aborted because your Fortran compiler 
wasn't
behaving:
 
-
checking if Fortran 77 compiler supports COMPLEX*16... yes checking 
size of Fortran 77 COMPLEX*16... 16 checking alignment of Fortran 
COMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32...
no checking for max Fortran MPI handle index... ( 0x7fff <
2147483647 ? 0x7fff : 2147483647 ) checking Fortran value for

.TRUE.

logical type... configure: error: Could not determine value of Fortran

 

.TRUE..  Aborting.
-
 
Anything that happened after that is somewhat irrelevant because Open 
MPI didn't configure properly.
 
Looking in config.log, I see why:
 
-
configure:44290: checking Fortran value for .TRUE. logical type
configure:44386: gcc -DNDEBUG -g -O2 -finline-functions 
-fno-strict-aliasing -I. -c conftest.c
configure:44393: $? = 0
configure:44403: gfortran  -o conftest conftest.o conftestf.f
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
reopening conftest.exe: Device or resource busy
 
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
final link failed: Device or resource busy
collect2: ld returned 1 exit status
configure:44410: $? = 1
configure:44427: error: Could not determine value of Fortran .TRUE..
Aborting.
-
 
All this may be irrelevant, though, because it looks like you're 
building on Windows.
 
In 

Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

2012-06-12 Thread VimalMathew
I hadn't seen the ReadMe file.
Tried following the steps in it, stuck here:
1.  Downloaded the binary distribution of CMake-2.8.8.
2.  Asks for source path and build path of Open MPI.
a. Is the source path where Open MPI was installed? (C:\Program
Files (x86)\OpenMPI_v1.6-x64)?
b. What should the build path be?

Also Jeff, your last two replies haven't come to my inbox for some
reason so I'm unable to reply to them directly. I can only see them on
the archives site.

Thanks,
Vimal

-Original Message-
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Jeff Squyres
Sent: Tuesday, June 12, 2012 2:30 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

Probably easier to just run the Open MPI binary installer.


On Jun 12, 2012, at 2:24 PM,  wrote:

> So I simply download and run OpenMPI_v1.6-1_win64.exe?
> Or is there a way to fix the Fortran compiler?
> 
> --
> Vimal
> 
> 
> -Original Message-
> From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] 
> On Behalf Of Jeff Squyres
> Sent: Tuesday, June 12, 2012 2:20 PM
> To: Open MPI Users
> Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not 
> found)
> 
> It does not look like you successfully built Open MPI -- it looks like

> Open MPI's configure script aborted because your Fortran compiler 
> wasn't
> behaving:
> 
> -
> checking if Fortran 77 compiler supports COMPLEX*16... yes checking 
> size of Fortran 77 COMPLEX*16... 16 checking alignment of Fortran 
> COMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32...
> no checking for max Fortran MPI handle index... ( 0x7fff <
> 2147483647 ? 0x7fff : 2147483647 ) checking Fortran value for
.TRUE.
> logical type... configure: error: Could not determine value of Fortran

> .TRUE..  Aborting.
> -
> 
> Anything that happened after that is somewhat irrelevant because Open 
> MPI didn't configure properly.
> 
> Looking in config.log, I see why:
> 
> -
> configure:44290: checking Fortran value for .TRUE. logical type
> configure:44386: gcc -DNDEBUG -g -O2 -finline-functions 
> -fno-strict-aliasing -I. -c conftest.c
> configure:44393: $? = 0
> configure:44403: gfortran  -o conftest conftest.o conftestf.f
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> reopening conftest.exe: Device or resource busy
> 
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> final link failed: Device or resource busy
> collect2: ld returned 1 exit status
> configure:44410: $? = 1
> configure:44427: error: Could not determine value of Fortran .TRUE..
> Aborting.
> -
> 
> All this may be irrelevant, though, because it looks like you're 
> building on Windows.
> 
> In that case, you might well want to just download the OMPI Windows 
> binaries.  I don't know offhand if we support building on Windows with

> the normal configure / make methodology; we normally use cmake to 
> build from source on Windows.
> 
> 
> 
> On Jun 12, 2012, at 1:25 PM,  wrote:
> 
>> Hi,
>> 
>> I was directed to the OpenMPI website from the Boost Libraries page 
>> to
> install an MPI Installation.
>> I've followed all the steps in the installation guide to configure 
>> and
> build MPI. When I try to compile the hello.c program which contains 
> .
>> I get an error message saying mpi.h does not exist I've attached the 
>> config.log, config.out, make.out , ompi_info all and make-install.out
> files.
>> 
>> Any help will be greatly appreciated!
>> 
>> Thanks,
>> Vimal Mathew
>> 
>> ___
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> 
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
> 
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


--
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

2012-06-12 Thread VimalMathew
I ran OpenMPI_v1.6-1_win64.exe.
 Now I get this message:
C9995799@SOUMIWHP5003567 ~/openmpi-1.6
$ mpicc hello.c -o hello
WARNING: mpicc expected to find liblammpio.* in /usr/local/lib
WARNING: MPI-2 IO support will be disabled
gcc: hello.c: No such file or directory
mpicc: No such file or directory
--
Vimal


-Original Message-
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Jeff Squyres
Sent: Tuesday, June 12, 2012 2:30 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

Probably easier to just run the Open MPI binary installer.


On Jun 12, 2012, at 2:24 PM,  wrote:

> So I simply download and run OpenMPI_v1.6-1_win64.exe?
> Or is there a way to fix the Fortran compiler?
> 
> --
> Vimal
> 
> 
> -Original Message-
> From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] 
> On Behalf Of Jeff Squyres
> Sent: Tuesday, June 12, 2012 2:20 PM
> To: Open MPI Users
> Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not 
> found)
> 
> It does not look like you successfully built Open MPI -- it looks like

> Open MPI's configure script aborted because your Fortran compiler 
> wasn't
> behaving:
> 
> -
> checking if Fortran 77 compiler supports COMPLEX*16... yes checking 
> size of Fortran 77 COMPLEX*16... 16 checking alignment of Fortran 
> COMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32...
> no checking for max Fortran MPI handle index... ( 0x7fff <
> 2147483647 ? 0x7fff : 2147483647 ) checking Fortran value for
.TRUE.
> logical type... configure: error: Could not determine value of Fortran

> .TRUE..  Aborting.
> -
> 
> Anything that happened after that is somewhat irrelevant because Open 
> MPI didn't configure properly.
> 
> Looking in config.log, I see why:
> 
> -
> configure:44290: checking Fortran value for .TRUE. logical type
> configure:44386: gcc -DNDEBUG -g -O2 -finline-functions 
> -fno-strict-aliasing -I. -c conftest.c
> configure:44393: $? = 0
> configure:44403: gfortran  -o conftest conftest.o conftestf.f
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> reopening conftest.exe: Device or resource busy
> 
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> final link failed: Device or resource busy
> collect2: ld returned 1 exit status
> configure:44410: $? = 1
> configure:44427: error: Could not determine value of Fortran .TRUE..
> Aborting.
> -
> 
> All this may be irrelevant, though, because it looks like you're 
> building on Windows.
> 
> In that case, you might well want to just download the OMPI Windows 
> binaries.  I don't know offhand if we support building on Windows with

> the normal configure / make methodology; we normally use cmake to 
> build from source on Windows.
> 
> 
> 
> On Jun 12, 2012, at 1:25 PM,  wrote:
> 
>> Hi,
>> 
>> I was directed to the OpenMPI website from the Boost Libraries page 
>> to
> install an MPI Installation.
>> I've followed all the steps in the installation guide to configure 
>> and
> build MPI. When I try to compile the hello.c program which contains 
> .
>> I get an error message saying mpi.h does not exist I've attached the 
>> config.log, config.out, make.out , ompi_info all and make-install.out
> files.
>> 
>> Any help will be greatly appreciated!
>> 
>> Thanks,
>> Vimal Mathew
>> 
>> ___
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> 
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
> 
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


--
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

2012-06-12 Thread VimalMathew
There is no include folder in openmpi-1.6.

I have only config, contrib, examples, ompi, opal, orte and test

 

--

Vimal

From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Jingcha Joba
Sent: Tuesday, June 12, 2012 2:01 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)

 

mpi.h shoud be located under /include/

 

When you compile your hello.c include that path with -I.


 

On Tue, Jun 12, 2012 at 10:25 AM,  wrote:

Hi,

 

I was directed to the OpenMPI website from the Boost Libraries page to
install an MPI Installation.

I've followed all the steps in the installation guide to configure and
build MPI. When I try to compile the hello.c program which contains
.

I get an error message saying mpi.h does not exist

I've attached the config.log, config.out, make.out , ompi_info all and
make-install.out files.

 

Any help will be greatly appreciated!

 

Thanks,

Vimal Mathew

 


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

 



[OMPI users] Help with buidling MPI(Error: mpi.h not found)

2012-06-12 Thread VimalMathew
Hi,

 

I was directed to the OpenMPI website from the Boost Libraries page to
install an MPI Installation.

I've followed all the steps in the installation guide to configure and
build MPI. When I try to compile the hello.c program which contains
.

I get an error message saying mpi.h does not exist

I've attached the config.log, config.out, make.out , ompi_info all and
make-install.out files.

 

Any help will be greatly appreciated!

 

Thanks,

Vimal Mathew

 



openmpi-1.6.7z
Description: openmpi-1.6.7z