Re: [OMPI users] Parallel Quicksort

2009-08-06 Thread Prasadcse Perera
Thanks a lot , I really appreciate it.! Now I'm on my way to install OpenFOAM and try it out. On Wed, Aug 5, 2009 at 11:59 PM, Mattijs Janssens wrote: > On Thursday 06 August 2009 10:17:36 Prasadcse Perera wrote: > > Hello All, > > This may not be something relates to the

[OMPI users] Parallel Quicksort

2009-08-06 Thread Prasadcse Perera
Hello All, This may not be something relates to the forum, so sorry for asking this first of all :). Currently I have been working on an implementation of parallel Quicksort using MPI and now I need some standard parallel Quicksort implementation(s) for a performance evaluation. So can someone reco

Re: [OMPI users] Open MPI and env. variables (LD_LIBRARY_PATH and PATH) - complete and utter Open MPI / Linux noob

2009-08-02 Thread Prasadcse Perera
Hi, $HOME means your installation directory (some/path as you mentioned). On Sun, Aug 2, 2009 at 12:07 AM, Prasadcse Perera wrote: > Hi, > common bashrc meant if the /home is network mounted so ignore that I guess. > Have you tried adding > . $HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bas

Re: [OMPI users] Open MPI and env. variables (LD_LIBRARY_PATH and PATH) - complete and utter Open MPI / Linux noob

2009-08-02 Thread Prasadcse Perera
, 2009 at 11:09 PM, Tomislav Maric wrote: > Prasadcse Perera wrote: > > Hi, > > One workaround is you can define PATH and LD_LIBRARY_PATH in your common > > .bashrc and have a resembling paths of installation in two nodes. This > > works for me nicely with

Re: [OMPI users] Open MPI and env. variables (LD_LIBRARY_PATH and PATH) - complete and utter Open MPI / Linux noob

2009-08-02 Thread Prasadcse Perera
Hi, One workaround is you can define PATH and LD_LIBRARY_PATH in your common .bashrc and have a resembling paths of installation in two nodes. This works for me nicely with my three node installation :). On Sat, Aug 1, 2009 at 5:25 PM, Tomislav Maric wrote: > Hello everyone, > > I'm trying to ru

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

2009-07-28 Thread Prasadcse Perera
Hi, >From what I could see, actually you can obviate the input-parse.xml with a bit of rough work :). 1. To parse the objects to the spawning processes, first wrap your objects in to a derived data type (ex. MPI_Struct) which can be easily transferred from the web service to the spawned children.

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] Send variable size of matrices

2009-07-21 Thread Prasadcse Perera
, contiguous storage is > implementation-dependent.) > > Isn't it easier to broadcast the size first? > > > On Tue, 2009-07-21 at 11:53 +0530, Prasadcse Perera wrote: > > Hi all, > > I'm writing an application which requires sending some variable size > &g

[OMPI users] Send variable size of matrices

2009-07-21 Thread Prasadcse Perera
Hi all, I'm writing an application which requires sending some variable size of sub matrices to a set of processes by a lead process who holds the original matrix. Here, the matrices are square matrices and the receiving process doesn't know the size of the receiving matrix. In MPI_Bcast, I have

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

2009-07-17 Thread Prasadcse Perera
key member behind Axis2/C SAML , so saying "a bit of experience" is being > too much humble :) > So nice meet a smart sri lankan in the forum.Really appropriate your guys > great work. > > Cheers, > umanga > Prasadcse Perera wrote: > > Hi, with a bit of experien

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

2009-07-17 Thread Prasadcse Perera
Hi, with a bit of experience I have with the Axis2/C, I think your second model with MPI_Comm_spawn might solve your problem. One of crude restriction with Axis2/C architecture is the run time service loading using static libs. This sometimes prevent many user needed handling where your logic has

Re: [OMPI users] Receiving an unknown number of messages

2009-07-14 Thread Prasadcse Perera
I think its a real good way to use MPI_Irecv/MPI_Test on the receiver side to avoid any blocks which sender might run in to. But I'm a bit curious on the fact, Can't we use a special message beforehand between the sender/receivers to let the receivers know how many messages to expect ? This way the

[OMPI users] Question on running the openmpi test modules

2009-07-07 Thread Prasadcse Perera
Hi, I'm new to openmpi and currently I have setup openmpi-1.3.3a1r21566 on my Linux machines. I have run some of available examples and also noticed there are some test modules under /openmpi-1.3.3a1r21566/test. Are these tests run on batchwise? then how ? or are these tests suppose to run individ