Re: [OMPI users] How to set paffinity on a multi-cpu node?

2006-11-29 Thread Laurent . POREZ
I agree with this solution, for the machinefile. Using mpiexec or a spawn command, you can add the cpu number attached to the hostname : mpiexec -host [hostname]:[cpu number] -n 1 mpi_test or, for MPI_Comm_spawn : MPI_Info_set( mpi_info, "host", "[hostname]:[cpu number]" ); Cheers, Lau

[OMPI users] return from MPI_Comm_spawn

2006-11-24 Thread Laurent . POREZ
Hi, I see that when a master process spawns slave processes, MPI_Comm_spawn() does not return until all MPI_Init() function ends in slave processes. Is there a way to set a time-out, or something to detect when an error occurs in a slave process ?

[OMPI users] Choosing the processor Id when spawning a process

2006-11-23 Thread Laurent . POREZ
Hi, I have to spawn a set of processes on multiple hosts, with my own mapping pattern, including processor ID, for example : * process 1 on cpu0 of host 1 * process 2 on cpu1 of host 1 * process 3 on cpu1 of host 1 * process 4 on cpu0 of host 2 * process 5 on cpu1 of host 2 I see that only the

[OMPI users] spawn on a cluster with 2 Ethernet interfaces

2006-11-23 Thread Laurent . POREZ
Hi, I have to spawn multiple slaves processes on a cluster, from a unique master process. The open mpi distribution I use is 1.1.2. I'm using a HP cluster, with 2 ethernet NICs on each machine. My problem was a freeze of master when calling mpi_call_spawn_multiple, and of slaves when calling

Re: [OMPI users] Error Handling Problem

2006-10-27 Thread Laurent . POREZ
> From: George Bosilca > Subject: Re: [OMPI users] Error Handling Problem > To: Open MPI Users > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > How about changing the default error handler ? I did change the default error handler (using Mpi_Comm_set_err

[OMPI users] Error Handling Problem

2006-10-26 Thread Laurent . POREZ
Hi, I developped a launcher application : a MPI application (say main_exe) lauches 2 MPI applications (say exe1 and exe2), using MPI_Comm_spawn_multiple. Now, I'm looking at the behavior when an exe crashes. What I can see is the following : 1) when everybody is launched, I see the following

[OMPI users] OpenMPI 1.1.1 with Multiple Thread Support

2006-10-17 Thread Laurent . POREZ
Hi, Could you explain what's wrong with thread support ? Does it hang, or something else ? I'm developping an application using multiple processes with multiple threads, and I have to use MPI to make process communicate. Typically, I will have to use the following functions : - MPI_Comm_spawn_

Re: [OMPI users] MPI_Comm_spawn_multiple and BProc

2006-09-27 Thread Laurent . POREZ
rogram freezes when calling > MPI_Comm_spawn_multiple. > > Does MPI_Comm_spawn_multiple and BProc can work together ? > > Thanks, > Laurent Porez > ___

[OMPI users] MPI_Comm_spawn_multiple and BProc

2006-09-27 Thread Laurent . POREZ
Hi, I'm using MPI_Comm_spawn_multiple with Open MPI 1.1.1. It used to work well, until I used the Bproc kernel patch. When I use the Bproc patch, my program freezes when calling MPI_Comm_spawn_multiple. Does MPI_Comm_spawn_multiple and BProc can work together ? Thanks, Laurent Porez

[OMPI users] mpi_comm_spawn_multiple and 'host' MPI_Info key

2006-08-10 Thread Laurent . POREZ
> Hi, > > I saw with great pleasure that in the last version of open mpi (1.1.1b4), the > 'host' MPI_Info key was available for the mpi_comm_spawn_multiple function. > > I tested it and I could spawn my processes on the wanted hosts. > Now, the question is : How can I tell mpi_comm_spawn_multi

[OMPI users] CPU use in MPI_recv

2006-06-06 Thread Laurent . POREZ
Hi, I'm using Open-MPI 1.0.2 on a debian system. I'm testing the MPI_recv function with a small C program (source code at the end of the message). And I see that when I'm waiting a message, calling MPI_recv, the CPU is used at 100 %. Is that normal ? Is there other ways to use a recv function

[OMPI users] Checking the cluster status with MPI_Comm_spawn_multiple

2006-04-25 Thread Laurent . POREZ
Hi, Before starting programs on my cluster, I want to check on every CPU if it is up and able to run MPI applications. For this, I use a kind of 'ping' program that just send a message saying 'I'm OK' tu a superviser program. The 'ping' program is sent by the superviser on each CPU by the MPI

Re: [OMPI users] Open-MPI and TCP port range

2006-04-21 Thread Laurent . POREZ
> -Original Message- > Date: Thu, 20 Apr 2006 19:35:27 -0400 > From: "Jeff Squyres \(jsquyres\)" > Subject: Re: [OMPI users] Open-MPI and TCP port range > To: "Open MPI Users" > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > > That being said, we are not op

Re: [OMPI users] users Digest, Vol 261, Issue 4

2006-04-21 Thread Laurent . POREZ
> -Original Message- > Date: Thu, 20 Apr 2006 19:35:27 -0400 > From: "Jeff Squyres \(jsquyres\)" > Subject: Re: [OMPI users] Open-MPI and TCP port range > To: "Open MPI Users" > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > > That being said, we are not opp

[OMPI users] Open-MPI and TCP port range

2006-04-18 Thread Laurent . POREZ
Hi, I am a new user of Open-MPI, and I need to use 2 kinds of programs on an unique cluster : 1) MPI based programs 2) Others, using TCP and UDP In order to get my non-MPI programs run, I need to know which ports may be used by MPI programs. Is there a way to know/set the range of the ports u