Re: [OMPI users] segfault on finalize

2009-09-28 Thread Thomas Ropars
You are right. An update fixes the problem. Sorry. Thomas Jeff Squyres wrote: It's a fairly strange place to get an error -- mca_base_param_finalize() is where we're tidying up command line parameters. There was some memory bugs that have been fixed since 21970. Can you update? On Sep

[OMPI users] Debugging OpenMPI calls

2009-09-28 Thread Aniruddha Marathe
Hello, I am new to OpenMPI library and I am trying to step through common MPI communication calls using gdb. I attach gdb to one of the processes (using the steps mentioned on the OpenMPI Debugging FAQ page) and set a breakpoint on 'MPI_Barrier' and expect gdb to jump into the definition of

Re: [OMPI users] MPI_Irecv segmentation fault

2009-09-28 Thread Everette Clemmer
Yes I did, forgot to mention that in my last. Most of the example code I've seen online passes the buffer variable by reference... I think I've gotten past the segfault at this point, but it looks like MPI_Isend is never completing. I have an MPI_Test() that sets a flag immediately following the

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

2009-09-28 Thread Jeff Squyres
On Sep 27, 2009, at 1:45 PM, guosong wrote: Hi Loh, I used MPI_Init_thread(,, MPI_THREAD_MULTIPLE, ); in my program and got provided = 0 which turns out to be the MPI_THREAD_SINGLE. Does this mean that I can not use MPI_THREAD_MULTIPLE model? Correct. To get Open MPI to support

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

2009-09-28 Thread guosong
Oh, thanks. I found that mpich2/gnu supports MPI_THREAD_MULTIPLE by default on my server. So if it supports MPI_THREAD_MULTIPLE, does it mean that I can run the program without segmentation fault (if there is no other bugs ^_^) > From: jsquy...@cisco.com > To: us...@open-mpi.org > Date: Mon,

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

2009-09-28 Thread Jeff Squyres
On Sep 28, 2009, at 11:48 AM, guosong wrote: Oh, thanks. I found that mpich2/gnu supports MPI_THREAD_MULTIPLE by default on my server. So if it supports MPI_THREAD_MULTIPLE, does it mean that I can run the program without segmentation fault (if there is no other bugs ^_^) Hypothetically,

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

2009-09-28 Thread guosong
Thanks. > From: jsquy...@cisco.com > To: us...@open-mpi.org > Date: Mon, 28 Sep 2009 11:49:36 -0400 > Subject: Re: [OMPI users] How to create multi-thread parallel program using > thread-safe send and recv? > > On Sep 28, 2009, at 11:48 AM, guosong wrote: > > > Oh, thanks. I found that

[OMPI users] problem using openmpi with DMTCP

2009-09-28 Thread Kritiraj Sajadah
Dear All, I am trying to integrate DMTCP with openmpi. IF I run a c application, it works fine. But when I execute the program using mpirun, It checkpoints application but gives error when restarting the application. # [31007] WARNING at connection.cpp:303 in restore;

Re: [OMPI users] "Failed to find the following executable" problemunder Torque

2009-09-28 Thread Blosch, Edwin L
Thanks for the reply. I looked harder at the command invocation and I think I stumbled across an answer. My actual mpirun command is invoked from a Python script using the subprocess module. When you create a subprocess, one of the options is "shell" and I had that set to False, causing the

[OMPI users] use additional interface for openmpi

2009-09-28 Thread worldeb
Hi folks, I want to use for openmpi communication the additional ethernet interfaces on node and head node. its is eth1 on nodes and eth4 on head node. So how can I configure openmpi? If I add in config file btl_base_include=tcp,sm,self. btl_tcp_if_include=eth1 will it work or not? And how

Re: [OMPI users] Openmpi - Mac OS X SnowLeopard linking error

2009-09-28 Thread Ralph Castain
Nope - I've been running on Snow Leopard almost since the day it came out without problem. Key was that I had to re-install all my 3rd party software (e.g., compilers) from Macports or wherever as none of the stuff I had installed on Leopard would work properly after the upgrade. Didn't