Gabriele,
The thread support has to be explicitly requested at build time, or it
will be disabled. Add --enable-mpi-threads (configure --help will give
you more info) to your configure. If you plan to use threads with Open
MPI I strongly suggest to update to the 1.3. This version is not yet
released, but you can download the source from the nightly build
section.
george.
On Sep 29, 2008, at 9:58 AM, Gabriele Fatigati wrote:
Another question about MPI_INIT_THREAD.
At the moment, as said, my OpenMPi version supports only level 0:
MPI_THREAD_SINGLE. Suppose that i have this code:
#pragma omp barrier
#pragma omp master
MPI_Send(buf,...);
#pragma omp barrier
Due my OpenMPI configuration, is it dangerous use this type of code?
What does it means that OpenMPI doesn't support all thread levels of
MPI_INIT_THREAD?
2008/9/29 Gabriele Fatigati <g.fatig...@cineca.it>
Dear OpenMPi developers,
i've noted that OpenMPI 1.25 and 1.2.6 version doesn't supports
thread initialization function shows below:
int MPI_Init_thread(int *argc, char *((*argv)[]), int required, int
*provided)
used in hybrid programming MPI+OpenMP. Returned vales provided is
0, so the unique thread level supported is MPI_THREAD_SINGLE.
Whitch is the newest OpenMPI version that has full support for
MPI_THREAD_SINGLE, MPI_THREAD_FUNNELED, MPI_THREAD_SERIALIZED and
MPI_THREAD_MULTIPLE?
Thanks in advance.
--
Ing. Gabriele Fatigati
CINECA Systems & Tecnologies Department
Supercomputing Group
Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
www.cineca.it Tel: +39 051 6171722
g.fatig...@cineca.it
--
Ing. Gabriele Fatigati
CINECA Systems & Tecnologies Department
Supercomputing Group
Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
www.cineca.it Tel: +39 051 6171722
g.fatig...@cineca.it
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users