Re: [OMPI users] questions about attribute caching

2018-12-16 Thread 邹海峰
Thank you for your patience. Best wishes ! Gilles Gouaillardet 于2018年12月16日周日 下午11:24写道: > Almost :-) > > seqBegin() and seqEnd() takes a communicator as a parameter. > So attribute caching is good for performance (only) if more than one > sequence *per communicator* is used in the

Re: [OMPI users] questions about attribute caching

2018-12-16 Thread Gilles Gouaillardet
Almost :-) seqBegin() and seqEnd() takes a communicator as a parameter. So attribute caching is good for performance (only) if more than one sequence *per communicator* is used in the application. Cheers, Gilles On Sun, Dec 16, 2018 at 11:38 PM 邹海峰 wrote: > > Thank you very much for the

Re: [OMPI users] questions about attribute caching

2018-12-16 Thread 邹海峰
Thank you very much for the reply. According to your explanation and the content from the website, if there is only one sequential execution in the program, then it doesn't matter whether using the attribute. But if there are multiple sequential execution, each process only needs to use

Re: [OMPI users] questions about attribute caching

2018-12-15 Thread Gilles Gouaillardet
Hi, Your understanding is incorrect : "Attributes are local to the process and specific to the communicator to which they are attached." (per https://www.mcs.anl.gov/research/projects/mpi/mpi-standard/mpi-report-1.1/node119.htm) think an attribute is often a pointer, and really bad things can