Re: [OMPI devel] openib btl thread safety warning

2010-05-03 Thread Christopher Yeoh
Hi Jeff, Sorry I've been on vacation so didn't reply sooner - some comments below... On Tue, 27 Apr 2010 16:50:49 -0400 Jeff Squyres wrote: > - > #if OPAL_ENABLE_DEBUG > do { > ftr->seq = ep->eager_rdma_remote.seq; > } while (!OPAL_ATOMIC_CMPSET_32(&ep->eager_rdma_r

Re: [OMPI devel] bug with /bin/sh and /bin/ksh

2010-05-03 Thread Jeff Squyres
On Apr 29, 2010, at 11:24 AM, Jonathan Vincent wrote: > i.e. a simpler version such as > > sh -c '/usr/bin/env FOO=bar (echo hello)' > ksh -c '/usr/bin/env FOO=bar (echo hello)' > > is not valid > sh -c '/usr/bin/env FOO=bar echo hello' > works. Per your later mails, plm_rsh_module.c does this:

Re: [OMPI devel] bug with /bin/sh and /bin/ksh

2010-05-03 Thread Jeff Squyres
FWIW, I filed https://svn.open-mpi.org/trac/ompi/ticket/2400 about this issue. On May 3, 2010, at 9:04 AM, Jeff Squyres (jsquyres) wrote: > On Apr 29, 2010, at 11:24 AM, Jonathan Vincent wrote: > > > i.e. a simpler version such as > > > > sh -c '/usr/bin/env FOO=bar (echo hello)' > > ksh -c '/us

Re: [OMPI devel] System V Shared Memory for Open MPI: Request for Community Input and Testing

2010-05-03 Thread Samuel K. Gutierrez
Hi all, Does anyone know of a relatively portable solution for querying a given system for the shmctl behavior that I am relying on, or is this going to be a nightmare? Because, if I am reading this thread correctly, the presence of shmget and Linux is not sufficient for determining an a

Re: [OMPI devel] Unchecked malloc()'s in OMPI 1.4.x

2010-05-03 Thread Jeff Squyres
Thanks -- I filed https://svn.open-mpi.org/trac/ompi/ticket/2401 about this. On May 2, 2010, at 11:09 PM, Christopher Samuel wrote: > Hi there, > > I've been playing around with Coccinelle, the semantic > patching system (packaged in Ubuntu 10.04) and using it > to try and detect things like unc

Re: [OMPI devel] System V Shared Memory for Open MPI:Request for Community Input and Testing

2010-05-03 Thread Jeff Squyres
It might well be that you need a configure test to determine whether this behavior occurs or not. Heck, it may even need to be a run-time test! Hrm. Write a small C program that does something like the following (this is off the top of my head): fork a child child goes to sleep immediately sy

Re: [OMPI devel] System V Shared Memory for Open MPI:Request for Community Input and Testing

2010-05-03 Thread Samuel K. Gutierrez
Hi Jeff, Sounds like a plan :-). Thanks! -- Samuel K. Gutierrez Los Alamos National Laboratory On May 3, 2010, at 9:12 AM, Jeff Squyres wrote: It might well be that you need a configure test to determine whether this behavior occurs or not. Heck, it may even need to be a run- time test!

Re: [OMPI devel] System V Shared Memory for Open MPI:Request for Community Input and Testing

2010-05-03 Thread N.M. Maclaren
On May 3 2010, Jeff Squyres wrote: Write a small C program that does something like the following (this is off the top of my head): fork a child child goes to sleep immediately sysv alloc a segment attach to it ipc rm it parent wakes up child child tries to attach to segment If that succeed

Re: [OMPI devel] bug with /bin/sh and /bin/ksh

2010-05-03 Thread Ralf Wildenhues
Hello, * Jeff Squyres wrote on Mon, May 03, 2010 at 04:04:59PM CEST: > > On Apr 29, 2010, at 11:24 AM, Jonathan Vincent wrote: > > > > > sh -c '/usr/bin/env FOO=bar (echo hello)' > > > ksh -c '/usr/bin/env FOO=bar (echo hello)' > > > > > > is not valid > > > sh -c '/usr/bin/env FOO=bar echo hello

Re: [OMPI devel] bug with /bin/sh and /bin/ksh

2010-05-03 Thread Ralph Castain
I believe the intent of the (test...) was to see if a .profile existed and execute that if so. This was at the request of users who complained that their remote environment wasn't being setup as expected when we launched their jobs. Might be a better way to do it, though... On May 3, 2010, at

Re: [OMPI devel] bug with /bin/sh and /bin/ksh

2010-05-03 Thread Jeff Squyres
On May 3, 2010, at 1:32 PM, Ralph Castain wrote: > I believe the intent of the (test...) was to see if a .profile existed and > execute that if so. This was at the request of users who complained that > their remote environment wasn't being setup as expected when we launched > their jobs. Might

Re: [OMPI devel] System V Shared Memory for Open MPI:Request for Community Input and Testing

2010-05-03 Thread Samuel K. Gutierrez
Hi All, New configure-time test added - thanks for the suggestion, Jeff. Update and give it a whirl. Ethan - could you please try again? This time, I'm hoping sysv support will be disabled ;-). Thanks! -- Samuel K. Gutierrez Los Alamos National Laboratory On May 3, 2010, at 9:18 AM, S