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 main
[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 2
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 ];
>
Hmm, tried changing MPI_Irecv( &buffer) 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 (1
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
Did you also change the "&buffer" 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( &buffer) to MPI_Irecv( buffer...)
> and still no luck. Stack trace follows if that's helpful:
>
> prompt$ mpirun -np 2 ./display_t
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 thre
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 call
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 wait
guosong wrote:
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
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 fo
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:
>
> pal
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 128
gif0: flags=8010 mtu 1280
stf0
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.
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 linu
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
Johnathan --
Sorry for the delay in replying; thanks for posting again.
I'm actually unable to replicate your problem. :-( I have a new
intel 8 core X5570 box; I'm running at np6 and np8 on both Open MPI
1.3.2 and 1.3.3 and am not seeing the problem you're seeing. I even
made your sampl
(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 spec
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 t
19 matches
Mail list logo