Re: [OMPI users] How to enable vprotocol + pessimistic message logging?

2019-01-22 Thread Aurelien Bouteiller
Hey Kiril, 

Indeed, the pessimist message logging does not support threaded accesses. That 
test is however overly cautious if you are initializing as multiple but then do 
not perform concurrent accesses. Please verify that he NBP3.3 do 
MPI_INIT_THREADS(MPI_THREAD_SINGLE), as doing other initialization will set 
MPI_THREAD_MULTIPLE implicitly. 

Best,
Aurelien

> On Jan 22, 2019, at 12:13, Kiril Dichev  wrote:
> 
> Hi,
> 
> I’m doing some research on message logging protocols. It seems that Vprotocol 
> in Open MPI can wrap around communication calls and log messages, if enabled. 
> Unfortunately, when I try to use it with Open MPI- 4.0.0, I get an error:
> 
> mpirun   --mca vprotocol pessimist-mca vprotocol_pessimist_priority 10  
> -n 4 $HOME/NPB3.3-MPI/bin/cg.B.4
> …
> vprotocol_pessimist: component_init: threads are enabled, and not supported 
> by vprotocol pessimist fault tolerant layer, will not load
> …
> 
> Unfortunately, it seems that actually disabling multi-threading is not 
> possible in 4.0.0 (MPI_THREAD_MULTIPLE is always used during compilation, and 
> in contrast to the README file, --enable-mpi-thread-multiple or 
> —disable-mpi-thread-multiple are not recognised as options). 
> 
> I’m pretty much stuck. Should I give up on the VProtocol as unusable then at 
> the moment?
> 
> Thanks,
> Kiril
> ___
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users

___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

[OMPI users] How to enable vprotocol + pessimistic message logging?

2019-01-22 Thread Kiril Dichev
Hi,

I’m doing some research on message logging protocols. It seems that Vprotocol 
in Open MPI can wrap around communication calls and log messages, if enabled. 
Unfortunately, when I try to use it with Open MPI- 4.0.0, I get an error:

mpirun   --mca vprotocol pessimist-mca vprotocol_pessimist_priority 10  -n 
4 $HOME/NPB3.3-MPI/bin/cg.B.4
…
vprotocol_pessimist: component_init: threads are enabled, and not supported by 
vprotocol pessimist fault tolerant layer, will not load
…

Unfortunately, it seems that actually disabling multi-threading is not possible 
in 4.0.0 (MPI_THREAD_MULTIPLE is always used during compilation, and in 
contrast to the README file, --enable-mpi-thread-multiple or 
—disable-mpi-thread-multiple are not recognised as options). 

I’m pretty much stuck. Should I give up on the VProtocol as unusable then at 
the moment?

Thanks,
Kiril___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users