On 9/21/2011 11:18 AM, Björn Regnström wrote:
> I am trying to build Open MPI 1.4.3 with thread support on Windows. A
> trivial test program
> runs if it calls MPI_Init or MP_Init_thread(int *argc, char ***argv, int
> required, int *provide) with
> reguired=0 but hangs if required>0. ompi_info for my build reports that
> there is no thread
> support but MPI_Init_thread returns provide==required.
> The only change in the CMake configuration was to check
> Is there anything else that needs to be done with the configuration?
> I have built 1.4.3 with thread support on several linuxes and mac and it
> works fine there.
Not all Windows compilers work well enough with all threading models
that you could expect satisfactory results; in particular, the compilers
and thread libraries you use on linux may not be adequate for Windows