Re: [O-MPI users] Trouble combining OpenMPI and OpenMP

2006-01-30 Thread Glenn Morris
Thanks for persevering with this. I'm far from sure that the information I am providing is of much use, largely because I'm pretty confused about what's going on. Anyway... Brian Barrett wrote: > Can you rebuild Open MPI with debugging symbols (just setting CFLAGS > to -g during configure shoul

Re: [O-MPI users] Trouble combining OpenMPI and OpenMP

2006-01-28 Thread Brian Barrett
On Jan 26, 2006, at 9:38 PM, Glenn Morris wrote: Thanks for your suggestions. Jeff Squyres wrote: From the stack trace, it looks like you're in the middle of a complex deallocation of some C++ objects, so I really can't tell (i.e., not in an MPI function at all). Well, not intentionally! I'

Re: [O-MPI users] Trouble combining OpenMPI and OpenMP

2006-01-26 Thread Glenn Morris
Thanks for your suggestions. Jeff Squyres wrote: > From the stack trace, it looks like you're in the middle of a > complex deallocation of some C++ objects, so I really can't tell > (i.e., not in an MPI function at all). Well, not intentionally! I'm just calling "deallocate" in a purely Fortra

Re: [O-MPI users] Trouble combining OpenMPI and OpenMP

2006-01-26 Thread Jeff Squyres
This looks like a problem with the memory allocator. It could be a genuine problem with Open MPI, or it could be a memory fault in your application (that happens to dead-end in one of our libraries because we intercept memory allocation functions). From the stack trace, it looks like you'

Re: [O-MPI users] Trouble combining OpenMPI and OpenMP

2006-01-25 Thread Glenn Morris
I tried nightly snapshot 1.1a1r8803 and it said the following. I'm willing to try and debug this further, but would need some guidance. I have access to totalview. Signal:11 info.si_errno:0(Success) si_code:2(SEGV_ACCERR) Failing at addr:0x97421004 [0] func:/afs/slac.stanford.edu/g/ki/users/gmo

Re: [O-MPI users] Trouble combining OpenMPI and OpenMP

2006-01-18 Thread Glenn Morris
Don't know if this will be of help, but on further investigation the problem seems to be some code that essentially does the following: !$OMP PARALLEL DO do i=1,n do j=1,m call sub(arg1,...) end do end do !$OMP END PARALLEL DO where subroutine sub allocates a temporary array: subrout

Re: [O-MPI users] Trouble combining OpenMPI and OpenMP

2006-01-16 Thread Glenn Morris
Brian Barrett wrote: [debugging advice] Thanks, I will look into this some more and try to provide a proper report (if it is not a program bug), as I should have done in the first place. I think we may have totalview around somewhere...

Re: [O-MPI users] Trouble combining OpenMPI and OpenMP

2006-01-14 Thread Brian Barrett
On Jan 13, 2006, at 10:41 PM, Glenn Morris wrote: The combination OpenMP + OpenMPI works fine if I restrict the application to only 1 OpenMP thread per MPI process (in other words the code at least compiles and runs fine with both options on, in this limited sense). If I try to use my desired va

[O-MPI users] Trouble combining OpenMPI and OpenMP

2006-01-13 Thread Glenn Morris
I'm having trouble with an application (CosmoMC; ) that can use both OpenMPI and OpenMP. I have several Opteron boxes, each with 2 * dual core CPUs. I want to run the application with 4 MPI threads (one per box), each of which in turn splits into 4 OpenMP threads