Re: [OMPI users] RE : Problems with MPI_Init_Thread(...)

2011-09-19 Thread Jeff Squyres
On Sep 19, 2011, at 8:37 AM, Sébastien Boisvert wrote: > You need to call MPI_Init before calling MPI_Init_thread. This is incorrect -- MPI_INIT_THREAD does the same job as MPI_INIT, but it allows you to request a specific thread level. > According to http://cw.squyres.com/columns/2004-02-CW-MP

[OMPI users] RE : Problems with MPI_Init_Thread(...)

2011-09-19 Thread Sébastien Boisvert
Hello, You need to call MPI_Init before calling MPI_Init_thread. According to http://cw.squyres.com/columns/2004-02-CW-MPI-Mechanic.pdf (Past MPI Mechanic Columns written by Jeff Squyres) only 3 functions that can be called before calling MPI_Init and they are: - MPI_Initialized - MPI_Finalized