Re: [OMPI users] Installation problems

2009-07-27 Thread Jacob Balthazor
Hey, I suspect that my not changing my .bash_profile is indeed the problem unfortunately I do not know were yum placed open's lib and bin directories. I tried looking in /usr/local/ but did not find and openmpi directory, I suspect this has something to my Fedora distribution as a

Re: [OMPI users] Installation problems

2009-07-27 Thread Ashika Umanga Umagiliya
I had a same problem like this. I am using Debian on my nodes, the problem was with non-interactive shell invocations, I added "export LD_LIBRARY_PATH=/usr/local/openMPI/lib" at the top of the ~/.bashrc files in all nodes then it worked. Regards. jacob Balthazor wrote: Hey, Please he

Re: [OMPI users] Embedding MPI program into a webservice ?

2009-07-27 Thread Ashika Umanga Umagiliya
Greetings all, Please refer to the image at : http://i25.tinypic.com/v65ite.png As mentioned in Lisandro's reply, my webservice is acting as a proxy to the MPI application. In the webservice, the SOAP parameters are bind into C++ object model. But I have several questions: (1) It seems MPI_C

Re: [OMPI users] MPI_IN_PLACE in Fortran with MPI_REDUCE / MPI_ALLREDUCE

2009-07-27 Thread George Bosilca
Ricardo, I can't reproduce your problem with the latest version (trunk r21734). If I run the provided program on two nodes I get the following answer. [***]$ mpif77 inplace.f -o inplace -g [***]$ mpirun -bynode -np 2 ./inplace Result: 3.000 3.000 3.000 3.0

Re: [OMPI users] Network connection check

2009-07-27 Thread Jeff Squyres
On Jul 23, 2009, at 10:41 AM, Durga Choudhury wrote: The 'system' command will fork a separate process to run. If I remember correctly, forking within MPI can lead to undefined behavior. Can someone in OpenMPI development team clarify? It depends on your network, but in general, we don't reco

Re: [OMPI users] Send variable size of matrices

2009-07-27 Thread Jeff Squyres
If you don't know the size a priori, you could always make a derived type that covers the memory region you want, send the size of that first, and then send the message with the real data (i.e., likely a derived type). On Jul 21, 2009, at 2:55 AM, Prasadcse Perera wrote: Hi, Its C binding

Re: [OMPI users] Interaction of MPI_Send and MPI_Barrier

2009-07-27 Thread Shaun Jackman
Hi Dick, Okay, it's good to know that even if using MPI_Barrier in this fashion did appear to be working, it's not guaranteed to work. Is there an MPI collective function that has the desired effect? that after all processes call this function, any previously posted MPI_Send are guaranteed to

Re: [OMPI users] Installation problems

2009-07-27 Thread jody
Hi Jacob Did you set the PATH and LD_LIBRARY_PATH according to http://www.open-mpi.org/faq/?category=running#adding-ompi-to-path Jody On Mon, Jul 27, 2009 at 5:35 PM, jacob Balthazor wrote: > > Hey, >       Please help me out as I cannot figure out from all the online > documentation why my cl

Re: [OMPI users] Installation problems

2009-07-27 Thread Ralph Castain
Most likely problem is version confusion as Fedora comes with a version of OMPI pre-installed. Check you LD_LIBRARY_PATH and PATH on both ends to ensure they are pointing at the same OMPI installation. Remember, interactive login typically uses a different shell startup then non-interactive job lau

[OMPI users] Installation problems

2009-07-27 Thread jacob Balthazor
Hey, Please help me out as I cannot figure out from all the online documentation why my cluster wont work. 1) I started with two computers with a fresh install of Fedora 10. 2) Created two user accounts on the two computers with the same user name. 3) Created an rsa keyed ssh between the tw

[OMPI users] MPI_IN_PLACE in Fortran with MPI_REDUCE / MPI_ALLREDUCE

2009-07-27 Thread Ricardo Fonseca
Hi guys I'm having a little trouble using MPI_IN_PLACE with MPI_REDUCE / MPI_ALLREDUCE in Fortran. If I try to MPI_IN_PLACE with C bindings it works fine running on 2 nodes: Result: 3.00 3.00 3.00 3.00 Regardless of using MPI_Reduce or MPI_Allreduce. However, this fails

Re: [OMPI users] Missmatch between sent and recieved data

2009-07-27 Thread Alexey Sokolov
Hi, Prasadcse and Jody. Eeeh, the answer was on the top and it's name is my own inattention. Thank you for pointing it out and for your spent time. Gonna be more attentive next time. Alexey. On Mon, 2009-07-27 at 16:25 +0530, Prasadcse Perera wrote: > Hi Alexey, > I tried the same line of codes

Re: [OMPI users] Missmatch between sent and recieved data

2009-07-27 Thread Prasadcse Perera
Hi Alexey, I tried the same line of codes in my free time and what I could see is that when you perform strcpy the string was copied with '/0' but since you only receive 4 characters it can only receive the 'asdf' but not '/0' which seems a bit strange in the nature. I think this is because the M

Re: [OMPI users] Missmatch between sent and recieved data

2009-07-27 Thread jody
Hi Alexey No, strlen() does not include the '\0' - this is what 'man strlen' says: STRLEN(3) Linux Programmer’s Manual STRLEN(3) NAME strlen - calculate the length of a string SYNOPSIS #include size_t strlen(const char *s); D

Re: [OMPI users] Missmatch between sent and recieved data

2009-07-27 Thread Alexey Sokolov
Hi Thank you for advising, but my problem disappeared after rebooting as it has never been. I really don't know why it was in this way, but I didn't change anything and now it works correctly. May be it was connected with system update without rebooting after it (I use Fedora 10), don't truly know