Re: [OMPI users] Random hangs using btl sm with OpenMPI 1.3.2/1.3.3 + gcc4.4?

2009-09-22 Thread Jonathan Dursi
Hi, Jeff: I wish I had your problems reproducing this. This problem apparently rears its head when OpenMPI is compiled with the intel compilers, as well, but only ~1% of the time. Unfortunately, we have users who launch ~1400 single-node jobs at a go. So they see on order a dozen or

Re: [OMPI users] [OMPI devel] Open-MPI between Mac and Linux (ubuntu 9.04) over wireless

2009-09-22 Thread Jeff Squyres
(only replying to users list) Some suggestions: - MPI seems to startup but the additional TCP connections required for MPI connections seem to be failing / timing out / some other error. - Are you running firewalls between your machines? If so, can you disable them? - I see that you're

Re: [OMPI users] How to create multi-thread parallel program using thread-safe send and recv?

2009-09-22 Thread guosong
This is just a test example. The real project behind it needs to configure like that. > From: te...@chem.gu.se > To: us...@open-mpi.org > Date: Wed, 23 Sep 2009 09:39:22 +1000 > Subject: Re: [OMPI users] How to create multi-thread parallel program using > thread-safe send and recv? > > If you

Re: [OMPI users] How to create multi-thread parallel program using thread-safe send and recv?

2009-09-22 Thread Terry Frankcombe
If you want all threads to communicate via MPI, and your initially launching multiple parents, I don't really see the advantage of using threads at all. Why not launch 12 MPI processes? On Tue, 2009-09-22 at 10:32 -0700, Eugene Loh wrote: > guosong wrote: > > Thanks for responding. I used a

[OMPI users] MPI Parent-Child process query

2009-09-22 Thread Blesson Varghese
HI, I am fairly new to MPI. I am just wondering if it is possible for a child process in MPI to communicate with a process that is not a parent? Assistance is much appreciated. Many thanks and best regards, Blesson.

Re: [OMPI users] Open-MPI between Mac and Linux (ubuntu 9.04) over wireless

2009-09-22 Thread Pallab Datta
The following are the ifconfig for both the Mac and the Linux respectively: fuji:openmpi-1.3.3 pallabdatta$ ifconfig lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen

Re: [OMPI users] Open-MPI between Mac and Linux (ubuntu 9.04) over wireless

2009-09-22 Thread Pallab Datta
Is this a bug running open-mpi over heterogeneous environments (between a mac and linux) over wireless links. Please suggest what needs to be done or what I am missing.?! Any clues as to how to debug this will be of great help. thanks and regards, pallab > Hi Rolf, > > I ran the following: > >

Re: [OMPI users] Open-MPI between Mac and Linux (ubuntu 9.04) over wireless

2009-09-22 Thread Pallab Datta
Hi Rolf, I ran the following: pallabdatta$ /usr/local/bin/mpirun --mca btl_tcp_port_min_v4 36900 -mca btl_tcp_port_range_v4 32 --mca btl_base_verbose 30 --mca btl_tcp_if_include en0,wlan0 -np 2 -hetero -H localhost,10.11.14.205 /tmp/hello [fuji.local:02267] mca: base: components_open: Looking

Re: [OMPI users] Open-MPI between Mac and Linux (ubuntu 9.04) over wireless

2009-09-22 Thread Pallab Datta
Hi Rolf, Thanks for the suggestions. I will try it. I can run a non-mpi program over wireless. My mac's ethernet interface is en0, and my linux's wireless is wlan0..can I mention both in the --mca btl__tcp_if_include option?! thanks a lot in advance, regards, pallab > Hi: > I assume if you

Re: [OMPI users] How to create multi-thread parallel program using thread-safe send and recv?

2009-09-22 Thread guosong
Thanks for responding. I used a linux cluster. I think I would like to create a model that is multithreaded and each thread can make MPI calls. I attached test code as follow. It has two pthreads and there are MPI calls in both of those two threads. In the main function, there are also MPI

Re: [OMPI users] How to create multi-thread parallel program using thread-safe send and recv?

2009-09-22 Thread Eugene Loh
guosong wrote: Hi all, I would like to write a multi-thread parallel program. I used pthread. Basicly, I want to create two background threads besides  the main thread(process). For example, if I use "-np 4", the program should have 4 main processes on four processors and two background

Re: [OMPI users] MPI_Irecv segmentation fault

2009-09-22 Thread jody
Did you also change the "" to buffer in your MPI_Send call? Jody On Tue, Sep 22, 2009 at 1:38 PM, Everette Clemmer wrote: > Hmm, tried changing MPI_Irecv( ) to MPI_Irecv( buffer...) > and still no luck. Stack trace follows if that's helpful: > > prompt$ mpirun -np 2

[OMPI users] MPI_Comm_spawn query

2009-09-22 Thread Blesson Varghese
Hi, I am fairly new to MPI.I have a few queries regarding spawning processes that I am listing below: a. How can processes send data to a spawned process? b. Can any process (that is not a parent process) send data to a spawned process? c. Can MPI_Send or MPI_Recv be used to

Re: [OMPI users] MPI_Irecv segmentation fault

2009-09-22 Thread Everette Clemmer
Hmm, tried changing MPI_Irecv( ) to MPI_Irecv( buffer...) and still no luck. Stack trace follows if that's helpful: prompt$ mpirun -np 2 ./display_test_debug Sending 'q' from node 0 to node 1 [COMPUTER:50898] *** Process received signal *** [COMPUTER:50898] Signal: Segmentation fault (11)

Re: [OMPI users] MPI_Irecv segmentation fault

2009-09-22 Thread Ake Sandgren
On Mon, 2009-09-21 at 19:26 -0400, Everette Clemmer wrote: > Hey all, > > I'm getting a segmentation fault when I attempt to receive a single > character via MPI_Irecv. Code follows: > > void recv_func() { > if( !MASTER ) { > charbuffer[ 1 ]; >

[OMPI users] error in ompi-checkpoint

2009-09-22 Thread Mallikarjuna Shastry
[root@localhost examples]# mpirun -np 4 -am ft-enable-cr ./res 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2

[OMPI users] How to create multi-thread parallel program using thread-safe send and recv?

2009-09-22 Thread guosong
Hi all, I would like to write a multi-thread parallel program. I used pthread. Basicly, I want to create two background threads besides the main thread(process). For example, if I use "-np 4", the program should have 4 main processes on four processors and two background threads for each