Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Damien
Vimal, Shiqing is right, that's a bad way to do it. This is slightly off-topic for the list, but you have to tell VS where header files (.h, .hpp) are, which is in Configuration Properties - C/C++ - General - Additional Include Directories. You have to tell VS where additional libraries are

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Shiqing Fan
Actually, as Demian already said in this thread, using the Open MPI installer is the easiest way. The installer principally works on all windows NT platforms. But of course, again the compiler/linker properties in Visual Studio have to be set correctly in your own project. Building Open MP

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Shiqing Fan
Of course this won't work, the VS properties are still not set correctly, this is not an issue for Open MPI on Windows, but an issue on how to use Visual Studio maybe? On Wed, 13 Jun 2012 22:12:41 +0200, wrote: I put all the folders (bin, include, etc, lib and share) in the root folder

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Shiqing Fan
This is definitely NOT a good solution. Just setting up the VS properties correctly is the direction people should go. Shiqing On Wed, 13 Jun 2012 21:51:48 +0200, Trent Creekmore wrote: I find the easiest way to know if LIB and DLL function correctly, and avoiding confusion on corre

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Shiqing Fan
Well, as far as I know, if some header file is missing for compilation, one should put the path in "Project Properties>C/C++>General>Additional Library Directories", but not "Project Properties>LINKER>General>Additional Library Directories", the linker library dir is only for linking. S

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Damien
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:\

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Damien
Funny you should ask for that, I'm doing that right now. First pass I'll post right here as specific instructions for Vimal in a few minutes, then you and Shiqing and I can assemble something complete off-list. Damien On 13/06/2012 2:56 PM, Jeff Squyres wrote: Yes, I guess it is fair to say

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Jeff Squyres
Yes, I guess it is fair to say that Windows is definitely a secondary platform for Open MPI. :-( What would be great is if some people could write up a set of cohesive docs for the Windows stuff. Someone mentioned some prereq's earlier in this thread that are probably not well documented beca

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Trent Creekmore
Well, you can now see why I gave up on trying to get to it function with Windows. I would say work with Linux and using the guide I did, to at least get you started on doing some work instead of wasting a lot of time working on that. If you want it to function with Windows that badly just keep

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

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Trent Creekmore
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 Wi

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]

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Trent Creekmore
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 Beha

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

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Trent Creekmore
There is no complete documentation. It is things I had to figure out along the way.. I guess I could help some. 1) Of course get A SSH client. I personally prefer SSH Secure Shell Client (Version 3.2.9.) by SSH Security Corporation. This one is free, but no longer available or s

Re: [OMPI users] Building MPI on Windows

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

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

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Trent Creekmore
I have never been able to get that installer to function. It always reports some error, and fails. I have tried it on different systems. From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Ralph Castain Sent: Wednesday, June 13, 2012 2:32 PM To: Open MPI Users

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Ralph Castain
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'

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 use

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Trent Creekmore
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

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: [OM

Re: [OMPI users] Building MPI on Windows

2012-06-13 Thread Trent Creekmore
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 som

[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

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

Re: [OMPI users] How to enable progress threads in 1.6?

2012-06-13 Thread Ralph Castain
You may hit some threading issues, but it's worth a try. On Jun 13, 2012, at 8:35 AM, Filippo Donida wrote: > My idea is to have a thread to be launched just after the MPI_Isend call with > a fake MPI_Test function call, just to make the sending operation > progressing. Do you think this may wo

Re: [OMPI users] How to enable progress threads in 1.6?

2012-06-13 Thread Filippo Donida
My idea is to have a thread to be launched just after the MPI_Isend call with a fake MPI_Test function call, just to make the sending operation progressing. Do you think this may work? Regards, Filippo. From: users-boun...@open-mpi.org [users-boun...@ope

Re: [OMPI users] An idea about a semi-automatic optimized parallel I/O with Open MPI

2012-06-13 Thread Xuan Wang
Hi Ralph, you are right, the monitor hurts the performance, if the monitor has to sent the monitoring results to the data warehouse during the execution of the I/O operation. But actually, we don't need this parallel execution for the monitor. The monitor only need to gather the information suc

Re: [OMPI users] How to enable progress threads in 1.6?

2012-06-13 Thread Ralph Castain
Not sure I understand the question - the progress thread option just enables async progress to be made. All MPI functions will progress whenever you call into the MPI library today - they just won't progress while you are, for example, running a non-MPI computation in your program. On Jun 13,

Re: [OMPI users] Plans for cmake with non-Windows?

2012-06-13 Thread Jeff Squyres
On Jun 13, 2012, at 10:22 AM, John R. Cary wrote: > I noted that the download openmpi-1.6 cannot be configured > with CMake. > > Are there plans for making it configurable with CMake? Never say "never", but there are no plans for that at the moment. The GNU Autotools are our primary configur

[OMPI users] Plans for cmake with non-Windows?

2012-06-13 Thread John R. Cary
I noted that the download openmpi-1.6 cannot be configured with CMake. Are there plans for making it configurable with CMake? Thx.John Cary

Re: [OMPI users] How to enable progress threads in 1.6?

2012-06-13 Thread Filippo Donida
Any workaround? MPI_Test as polling function? From: users-boun...@open-mpi.org [users-boun...@open-mpi.org] On Behalf Of Ralph Castain [r...@open-mpi.org] Sent: Wednesday, June 13, 2012 4:12 PM To: Open MPI Users Subject: Re: [OMPI users] How to enable pro

Re: [OMPI users] How to enable progress threads in 1.6?

2012-06-13 Thread Ralph Castain
Pretty sure we don't support progress threads in 1.6 - working on it for the future On Jun 13, 2012, at 7:49 AM, Filippo Donida wrote: > Dear OpenMPI users, > > I tried to enable progress thread by using the: > > --enable-mpi-threads --enable-progress-threads > > flags during compilation of O

Re: [OMPI users] Unable to configure with f77 bindings

2012-06-13 Thread Nicola J. Calder
I used the latest stable build of Open MPI (1.6-2). I used Visual Studio 2005 (not Visual Studio 2005 x64). On 2012-06-13, at 9:42 AM, Shiqing Fan wrote: Hi Nicola, Which Open MPI version did you use? What build type did you use for configuring it? For example, if you use cmake generator "Vi

[OMPI users] How to enable progress threads in 1.6?

2012-06-13 Thread Filippo Donida
Dear OpenMPI users, I tried to enable progress thread by using the: --enable-mpi-threads --enable-progress-threads flags during compilation of OpenMPI 1.6 but I got a: "configure: WARNING: unrecognized options: --enable-mpi-thread, --enable-progress-thread" Any suggestion? Thanks, Filippo

Re: [OMPI users] Unable to configure with f77 bindings

2012-06-13 Thread Shiqing Fan
Hi Nicola, Which Open MPI version did you use? What build type did you use for configuring it? For example, if you use cmake generator "Visual Studio 10 Win64" then the whole project is configured only for 64bit, even if you change c/c++ options. In order to use f77, which is only 32 bit avai

Re: [OMPI users] An idea about a semi-automatic optimized parallel I/O with Open MPI

2012-06-13 Thread Ralph Castain
So...you want the remove MPI process to comm_spawn another MPI process that will monitor the MPI I/O operation? That sounds expensive - comm_spawn is a rather slow operation in itself. it would work, but I can't imagine it would be very performant. Note that the spawned "monitor" would only li

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

2012-06-13 Thread Shiqing Fan
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: "/cygdr

[OMPI users] Unable to configure with f77 bindings

2012-06-13 Thread Nicola J. Calder
I am trying to configure Open MPI using CMake 2.8.8 and Visual Studio 2005 in 32 bit mode, with Intel Fortran. The machine is a 64 bit machine running Windows XP 64 bit, and VS has 64 bit support. Configure works fine without f77 bindings, but as soon as I add this option, I get the error: Ch

Re: [OMPI users] An idea about a semi-automatic optimized parallel I/O with Open MPI

2012-06-13 Thread Xuan Wang
Hi Ralph, thank you for the advice. You are right, the deamon is NOT MPI processes. I would like to use the Open MPI I/O module to implement. In my opinion, the commends sent by the client will start an MPI I/O operation, therefore, the client can start an MPI process. In addition, I have foun

Re: [OMPI users] An idea about a semi-automatic optimized parallel I/O with Open MPI

2012-06-13 Thread Ralph Castain
One flaw in the idea: the daemons are not MPI processes, and therefore have no way to run an MPI I/O operation. On Jun 13, 2012, at 5:40 AM, Xuan Wang wrote: > Hi, > > I have an idea about using database to support a kind of semi-automatic > optimized parallel I/O operations and want to know

[OMPI users] An idea about a semi-automatic optimized parallel I/O with Open MPI

2012-06-13 Thread Xuan Wang
Hi, I have an idea about using database to support a kind of semi-automatic optimized parallel I/O operations and want to know if it is realizable or not. Hope you guys can give me more advices and point out the shortage of the idea. Thank you all. As the performance of the parallel I/O depend

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

2012-06-13 Thread Shiqing Fan
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 on