Re: [OMPI devel] MPI 2.2 datatypes

2011-11-04 Thread Jeff Squyres
On Oct 20, 2011, at 5:57 PM, Eugene Loh wrote: > In MTT testing, we check OMPI version number to decide whether to test MPI > 2.2 datatypes. > > Specifically, in intel_tests/src/mpitest_def.h: > > #define MPITEST_2_2_datatype 0 > #if defined(OPEN_MPI) > #if (OMPI_MAJOR_VERSION > 1) || (OMPI

Re: [OMPI devel] Fwd: Troubles using MPI_Isend/MPI_Irecv/MPI_Waitany and MPI_Allreduce

2011-11-04 Thread Jeff Squyres
Sorry for the delay -- I just replied on the users list. I think you need to use MPI_INIT_THREAD with MPI_THREAD_MULTIPLE. See if that helps. On Oct 26, 2011, at 7:19 AM, Pedro Gonnet wrote: > > Hi all, > > I'm forwarding this message from the "users" mailing list as it wasn't > getting any

Re: [OMPI devel] ibm/io/file_status_get_count

2011-11-04 Thread Jeff Squyres
On Oct 28, 2011, at 1:59 AM, Eugene Loh wrote: > In our MTT testing, we see ibm/io/file_status_get_count fail occasionally > with: > > File locking failed in ADIOI_Set_lock(fd A,cmd F_SETLKW/7,type > F_RDLCK/0,whence 0) with return value > and errno 5. > - If the file system is NFS, yo

Re: [OMPI devel] RFC: MCA param registration errors

2011-11-04 Thread Jeff Squyres
I compromised: see https://svn.open-mpi.org/trac/ompi/changeset/25432. If someone has strong feelings, go ahead and change it. This is a rare enough issue that I don't think we need to spend much more time on it. On Nov 2, 2011, at 2:22 PM, Barrett, Brian W wrote: > To be honest, I don't care

Re: [OMPI devel] ibm/io/file_status_get_count

2011-11-04 Thread Eugene Loh
On 11/4/2011 5:56 AM, Jeff Squyres wrote: On Oct 28, 2011, at 1:59 AM, Eugene Loh wrote In our MTT testing, we see ibm/io/file_status_get_count fail occasionally with: File locking failed in ADIOI_Set_lock(fd A,cmd F_SETLKW/7,type F_RDLCK/0,whence 0) with return value and errno 5. - I

Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r25431

2011-11-04 Thread Tim Mattox
I doubt you want to be using assert() here or anywhere in the OMPI library. If the rem_info.rem_qps pointer is NULL, I would think you want to do something other than just die. And, in a production build, if it was to ever be null, things would eventually crash right? The ompi library should striv

Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r25431

2011-11-04 Thread Jeff Squyres
+1 -- we shouldn't be using assert(). On Nov 4, 2011, at 2:15 PM, Tim Mattox wrote: > I doubt you want to be using assert() here or anywhere in the > OMPI library. If the rem_info.rem_qps pointer is NULL, I would > think you want to do something other than just die. > And, in a production build,

Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r25431

2011-11-04 Thread Barrett, Brian W
Why not? I use asserts all the time in OMPI code. A quick grep in ompi/mca says I'm not alone. There are a whole bunch of places where I "know" a fact, such as a pointer never being NULL or consistency checks between two values. These don't need to run in production; I've theoretically tested t

Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r25431

2011-11-04 Thread Ralph Castain
FWIW: assert is used throughout the codebase, including orte and opal. I see no reason why it shouldn't be used here as well. On Nov 4, 2011, at 5:45 PM, Barrett, Brian W wrote: > Why not? I use asserts all the time in OMPI code. A quick grep in > ompi/mca says I'm not alone. There are a who

Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r25431

2011-11-04 Thread Graham, Richard L.
I agree with Brian Sent with Good (www.good.com) -Original Message- From: Barrett, Brian W [mailto:bwba...@sandia.gov] Sent: Friday, November 04, 2011 07:46 PM Eastern Standard Time To: Open MPI Developers Cc: Christopher Yeoh Subject:Re: [OMPI devel] [OMPI svn-ful