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