Sorry for the noise. I found MPI_Init_thread and installed 1.2.4. Seems to be fine now!
Thanks for the great work on the multi-threaded MPI codes! Brian On Nov 7, 2007 8:04 PM, Brian Budge <brian.bu...@gmail.com> wrote: > Hi All - > > I am working on a networked cache for an out-of-core application, and > currently I have it set up where I have several worker threads, and > one "request" thread per node. The worker threads check the cache on > their own node first, and if there's a miss, they make a request to > the other nodes in the cluster to see who has the data. The request > thread answers requests, and if a node is chosen to deliver data, the > request thread spawns another thread to handle that particular > request. > > Currently my application dies in MPI_Barrier before any computation > begins (but after my request threads are spawned). After looking into > this a bit, it seems that OpenMPI has to have thread support to handle > a model like this (i.e. multiple Sends and Recvs happening at once per > process). According to > > > ompi_info | grep Thread > Thread support: posix (mpi: no, progress: no) > > I don't have this thread support. I am running OpenMPI v 1.1.2 (the > latest openmpi package in Gentoo). Can anyone make a recommendation > for what would be the version to try? > > Thanks, > Brian >