Re: [OMPI users] MPI_THREAD_MULTIPLE: Fatal error in MPI_Win_flush

2017-02-19 Thread Nathan Hjelm
You can not perform synchronization at the same time as communication on the same target. This means if one thread is in MPI_Put/MPI_Get/MPI_Accumulate (target) you can’t have another thread in MPI_Win_flush (target) or MPI_Win_flush_all(). If your program is doing that it is not a valid MPI pr

[OMPI users] MPI_THREAD_MULTIPLE: Fatal error in MPI_Win_flush

2017-02-19 Thread Joseph Schuchart
All, We are trying to combine MPI_Put and MPI_Win_flush on locked (using MPI_Win_lock_all) dynamic windows to mimic a blocking put. The application is (potentially) multi-threaded and we are thus relying on MPI_THREAD_MULTIPLE support to be available. When I try to use this combination (MPI_

Re: [OMPI users] OMPI users] MPI_THREAD_MULTIPLE: Fatal error on MPI_Win_create

2017-02-19 Thread Joseph Schuchart
Gilles, Sure, this time I see more output (seems there was a typo in the env variable earlier): ``` $ echo $OMPI_MCA_osc ^pt2pt $ echo $OMPI_MCA_osc_base_verbose 10 $ mpirun -n 2 ./a.out [beryl:12905] mca: base: components_register: registering framework osc components [beryl:12904] mca: base

Re: [OMPI users] OMPI users] MPI_THREAD_MULTIPLE: Fatal error on MPI_Win_create

2017-02-19 Thread Gilles Gouaillardet
Joseph, Would you mind trying again with export OMPI_MCA_osc=^pt2pt export OMPI_MCA_osc_base_verbose=10 If it still does not work, then please post the output Cheers, Gilles Joseph Schuchart wrote: >Hi Howard, > >Thanks for your quick reply and your suggestions. I exported both variables as

Re: [OMPI users] MPI_THREAD_MULTIPLE: Fatal error on MPI_Win_create

2017-02-19 Thread Joseph Schuchart
Hi Howard, Thanks for your quick reply and your suggestions. I exported both variables as you suggested but neither has any impact. The error message stays the same with both env variables set. Is there any other way to get more information from OpenMPI? Sorry for not mentioning my OS. I'm r