[OMPI users] Multiple Communicators for communication

2012-06-14 Thread Ramesh Vinayagam
Hi, I was wondering is there a way to communicate between two processes with two different communicators simultaneously in MPI? Like having two channels for communication? Please do let me know. Thanks, Ramesh

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread Damien
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\C

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread Trent Creekmore
And just think, you could have been coding 24 hours ago instead of continuing fighting the Windows problem J From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of vimalmat...@eaton.com Sent: Thursday, June 14, 2012 2:39 PM To: us...@open-mpi.org Subject: Re:

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

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

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread Damien
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". Th

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

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 u

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread Damien
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 pro

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(&argc,&argv); MPI_Comm_size(MPI_COMM_WORLD,&nTasks); MPI_Comm_rank(MPI_COMM_WORLD,&rank

Re: [OMPI users] Building MPI on Windows

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

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: Op

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread Damien
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 f

Re: [OMPI users] opal_timer_linux_open() setting inexact floating point exception

2012-06-14 Thread Ralph Castain
Huh - weird. I've never seen that warning appear. What system was this on? The code you flagged gets called exactly once, so overhead isn't an issue. Just puzzling why it would now suddenly appear after it has been there for years. On Jun 14, 2012, at 11:21 AM, Orion Poplawski wrote: > While t

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

[OMPI users] opal_timer_linux_open() setting inexact floating point exception

2012-06-14 Thread Orion Poplawski
While trying to debug some other stuff, I discovered that opal_timer_linux_open() ends up setting the inexact floating point exception here: /* numer is in MHz - convert to Hz and make an integer */ opal_timer_linux_freq = (opal_timer_t) cpu_f * 100; I'm not sure if this is anythi

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++ runtim

Re: [OMPI users] Building MPI on Windows

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

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:

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread Damien
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 sym

Re: [OMPI users] Building MPI on Windows

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

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread Damien
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 directo

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-

Re: [OMPI users] Building MPI on Windows

2012-06-14 Thread Damien
I was just typing that... :-) On 14/06/2012 8:19 AM, vimalmat...@eaton.com wrote: 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

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

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 dr

[OMPI users] checkpointing

2012-06-14 Thread Ifeanyi
Hi Please help. I have installed openmpi-1.6, I have also tested the installation with different mpi applications and my application executed successfully. Whenever I ran NPB-3.3 LU without checkpointing, NPB-3.3 completes successfully. however whenever I checkpointing the application, it abort