Sure. That was my first thought as well, but that doesn't reduce the number of variables being stored in most cases. And will probably get messy in the THREAD_MULTIPLE case when we need to support reset of a variable on one session and read of the same value on another session.
-- Pavan
On 08/17/2013 10:14 AM, William Gropp wrote:I believe that the answer is yes, but note that in many/most/all cases,the session can record the value of the underlying MPI implementationvariable at start time and then compute the difference. It does meanthat the access in a session may not be as simple as a memory reference,though a high-quality implementation could optimize for a single session.BillWilliam GroppDirector, Parallel Computing InstituteDeputy Director for ResearchInstitute for Advanced Computing Applications and TechnologiesThomas M. Siebel Chair in Computer ScienceUniversity of Illinois Urbana-ChampaignOn Aug 17, 2013, at 10:08 AM, Pavan Balaji wrote:Folks,If an application has multiple sessions and does a PVAR_START on allsessions, is the intention that the MPI implementation will keep trackof each pvar on each of the sessions? Since when the pvar_start iscalled for each session is different, the values of these variablescan be different. So is the MPI implementation expected to replicatethese variables per session? Is this true for the read-only ones aswell, since the start time can be different for each session?-- Pavan--Pavan Balajihttp://www.mcs.anl.gov/~balaji_______________________________________________Mpi3-tools mailing listMpi3-tools@lists.mpi-forum.orghttp://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-tools_______________________________________________Mpi3-tools mailing listMpi3-tools@lists.mpi-forum.orghttp://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-tools
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji